# Goldinauctions — 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.

> Access data from goldinauctions.com.

**Category:** Marketplaces | **Website:** [goldinauctions.com/](https://goldinauctions.com/) | **Docs:** [parse.bot/marketplace/4d88ac2c-0442-42d9-ae0b-2f3a1472ee27/goldinauctions-com-api](https://parse.bot/marketplace/4d88ac2c-0442-42d9-ae0b-2f3a1472ee27/goldinauctions-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-goldinauctions-com-api-4d88ac2c/`
**Auth:** `Authorization: Bearer <LOCUS_API_KEY>`

## Endpoints

### get_lot

Get full details for a specific lot including description, all images, bid history, hammer price, and auction metadata. The lot_id parameter accepts the 'slug' value from search_lots or search_sold results. Makes two requests: one for lot details and one for bid history.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `lot_id` | string | Yes | Lot identifier slug (from the 'slug' field in search_lots or search_sold results, e.g. '1986-87-fleer-57-michael-jordan-rookie-card-psa-ex-mt-67jhic'). |

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/parse-goldinauctions-com-api-4d88ac2c/get_lot \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"lot_id":"<string>"}'
```

### search_lots

Search active auction lots on Goldin Auctions. Returns paginated results with lot details including current bid, end date, and grading info. Results are ordered by lot number ascending. Each result includes a 'slug' field that can be passed to get_lot for full details.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `grade` | string | No | Filter by grading certification company (e.g. PSA, Beckett, CGC, SGC, Ungraded). |
| `page` | integer | No | Page number for pagination (1-indexed). Each page returns up to 24 lots. |
| `query` | string | No | Search keyword to filter lots (e.g. player name, card set, year). When omitted, returns all active lots. |
| `sport` | string | No | Filter by sport/sub-category (e.g. Basketball, Baseball, Football, Hockey, Soccer, Pokemon, Golf, Pop Culture/Entertainment). |
| `year` | string | No | Filter by card/item year (season). |

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/parse-goldinauctions-com-api-4d88ac2c/search_lots \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"grade":"<string>","page":"<integer>","query":"<string>","sport":"<string>","year":"<string>"}'
```

### search_sold

Search completed/sold auction lots on Goldin Auctions. Returns paginated results sorted by highest hammer price. Each result includes hammer_price and sale_date. The 'slug' field can be passed to get_lot for full details.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `grade` | string | No | Filter by grading certification company (e.g. PSA, Beckett, CGC, SGC, Ungraded). |
| `page` | integer | No | Page number for pagination (1-indexed). Each page returns up to 24 lots. |
| `query` | string | No | Search keyword to filter sold lots. When omitted, returns all sold lots sorted by highest price. |
| `sport` | string | No | Filter by sport/sub-category (e.g. Basketball, Baseball, Football, Hockey, Soccer, Pokemon). |
| `year` | string | No | Filter by card/item year (season). |

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/parse-goldinauctions-com-api-4d88ac2c/search_sold \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"grade":"<string>","page":"<integer>","query":"<string>","sport":"<string>","year":"<string>"}'
```
