# 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 for Locus Pro. Each call burns credits from your workspace balance.

## Access

**Base URL:** `https://api.paywithlocus.com/api/wrapped/credits/goldinauctions/`
**Auth:** `Authorization: Bearer <LOCUS_CREDITS_SECRET_KEY>` (an `lcr_` secret key or a scoped `lcac_` agent credential)
**Required header:** `Idempotency-Key: <fresh UUID per call>`. A retry with the same key replays the stored result without a new charge.
**Response:** the provider response after any endpoint-specific normalization. `X-Locus-Credits-Charged` carries the charge and `X-Locus-Credits-Balance` the remaining balance. Insufficient credits return `402` before the provider is called.
**Pricing:** estimated costs below are USD. Locus debits the credit equivalent at your workspace rate.

Full call contract: https://docs.paywithlocus.com/api-reference/introduction

> Using a Pay With Locus wallet key (`claw_` prefix)? Wallet routes are documented separately: https://docs.paywithlocus.com/wrapped-apis/for-agents

## 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/credits/goldinauctions/get-lot \
  -H "Authorization: Bearer $LOCUS_CREDITS_SECRET_KEY" \
  -H "Idempotency-Key: $(uuidgen)" \
  -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/credits/goldinauctions/search-lots \
  -H "Authorization: Bearer $LOCUS_CREDITS_SECRET_KEY" \
  -H "Idempotency-Key: $(uuidgen)" \
  -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/credits/goldinauctions/search-sold \
  -H "Authorization: Bearer $LOCUS_CREDITS_SECRET_KEY" \
  -H "Idempotency-Key: $(uuidgen)" \
  -H "Content-Type: application/json" \
  -d '{"grade":"<string>","page":"<integer>","query":"<string>","sport":"<string>","year":"<string>"}'
```

## Next steps

- [All wrapped API providers](https://paywithlocus.com/wapi/index.md): pick another provider.
- [Find and call tools](https://paywithlocus.com/agent/tools.md): price ceilings, async results, and errors.
- [Credits and billing](https://paywithlocus.com/agent/billing.md): what a call costs and how to add credits.
- [Agent docs index](https://paywithlocus.com/agent/index.md): every Locus agent page.