# Beckett — Wrapped API

> **You are on:** `https://api.paywithlocus.com/api` | [llms.txt](https://paywithlocus.com/llms.txt) | [docs](https://docs.paywithlocus.com)
>
> Locus runs on multiple environments -- make sure every URL you call matches your expected environment.
> | Environment | Landing | API | Docs |
> |---|---|---|---|
> | Production | paywithlocus.com | api.paywithlocus.com | docs.paywithlocus.com |
> | Beta | beta.paywithlocus.com | api.beta.paywithlocus.com | docs.paywithlocus.com |
> | Stage | stage.paywithlocus.com | api.stage.paywithlocus.com | docs.paywithlocus.com |
>
> If the API URL above doesn't match your expected environment, re-fetch this file from the correct domain.

> Search and retrieve trading card news articles from Beckett.com across non-sport and vintage card categories, including checklists and set information. Browse posts by category or look up specific articles to stay updated on the latest card market trends and releases.

**Category:** Sports | **Website:** [beckett.com/](https://beckett.com/) | **Docs:** [parse.bot/marketplace/a8a7a2a8-3386-4e19-be30-d03816d1b597/beckett-com-api](https://parse.bot/marketplace/a8a7a2a8-3386-4e19-be30-d03816d1b597/beckett-com-api)

Pay-per-use API proxy. Each call is automatically billed to your wallet in USDC.

## Access

**Base URL:** `https://api.paywithlocus.com/api/wrapped/parse-beckett-com-api-a8a7a2a8/`
**Auth:** `Authorization: Bearer <LOCUS_API_KEY>`

## Endpoints

### extract_checklist_links

Scan a given page and extract all links whose text, title, or aria-label contains the word 'checklist'. Returns an array of link objects with their text, URL, title attribute, and aria-label attribute.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `url` | string | Yes | Full URL of the page to scan for checklist links. |

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/parse-beckett-com-api-a8a7a2a8/extract_checklist_links \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"url":"<string>"}'
```

### get_categories

Returns a static list of sports categories and their IDs used for filtering on the Beckett site. Categories include Baseball, Basketball, Football, Hockey, Non-Sports, Gaming, Soccer, Racing, and Golf.

**Estimated cost:** Metered

_No parameters required._

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/parse-beckett-com-api-a8a7a2a8/get_categories \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{}'
```

### get_checklist_article_detail

Extract detailed checklist data (Base, Autographs, Inserts, etc.) from a Beckett checklist article page. Also extracts metadata including sport, collection name, manufacturer, and year. The tabs object maps section names to arrays of content items (headers, lists, text, tables).

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `url` | string | Yes | Full URL of the checklist article to parse (e.g. from get_checklist_articles or search_checklists results). |

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/parse-beckett-com-api-a8a7a2a8/get_checklist_article_detail \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"url":"<string>"}'
```

### get_checklist_articles

Fetch a paginated list of checklist articles from Beckett News. Returns article titles, URLs, dates, and summaries. Can be filtered by sport category. Each page returns approximately 30 articles.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `page` | integer | No | Page number to fetch. |
| `sport` | string | No | Sport category slug to filter by. Accepted values: baseball, basketball, football, hockey, soccer, beckett-non-sports. Omitting returns all checklists. |

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/parse-beckett-com-api-a8a7a2a8/get_checklist_articles \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"page":"<integer>","sport":"<string>"}'
```

### get_graded_card_details

Look up a Beckett-graded card by its certification number. Returns card details including player name, set name, sport, final grade, sub-grades (centering, corners, edges, surface, autograph), date graded, label color, and population report data. The lookup uses the BGS (Beckett Grading Services) database.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `cert_number` | string | Yes | Beckett certification number to look up (e.g. '0016097088'). |

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/parse-beckett-com-api-a8a7a2a8/get_graded_card_details \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"cert_number":"<string>"}'
```

### search_checklists

Search Beckett News articles by keyword. Returns matching article titles, URLs, and publication dates. Results come from the Beckett news search and are not limited to checklists specifically.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `query` | string | Yes | Search keyword or phrase. |

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/parse-beckett-com-api-a8a7a2a8/search_checklists \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"query":"<string>"}'
```

### search_price_guide

Search the Beckett Online Price Guide for cards. Note: actual pricing results require a Beckett subscription. Returns the search term and any available results (best effort, may be empty without authentication).

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `sport_id` | string | No | Sport ID from get_categories |
| `term` | string | Yes | Search term (e.g. 'Topps Baseball') |

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/parse-beckett-com-api-a8a7a2a8/search_price_guide \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"sport_id":"<string>","term":"<string>"}'
```
