# Bonhams — 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 browse fine art, collectibles, cars, and more across Bonhams auctions—find upcoming sales, view detailed lot listings, check past auction results, and filter by department. Instantly discover specific items and auction details with powerful search and filtering capabilities.

**Category:** Marketplaces | **Website:** [bonhams.com/](https://bonhams.com/) | **Docs:** [parse.bot/marketplace/3667cfe3-2baa-410f-8666-a8b4d9efd5e3/bonhams-com-api](https://parse.bot/marketplace/3667cfe3-2baa-410f-8666-a8b4d9efd5e3/bonhams-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/bonhams/`
**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 auction details

Returns full details for a specific auction by ID, including venue, departments, dates, HTML description, lot count, and bidding configuration. Returns input_not_found if the auction ID does not exist.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `auction_id` | string | Yes | Auction ID from get_upcoming_auctions or get_auction_results (e.g. '32176') |

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/credits/bonhams/get-auction-details \
  -H "Authorization: Bearer $LOCUS_CREDITS_SECRET_KEY" \
  -H "Idempotency-Key: $(uuidgen)" \
  -H "Content-Type: application/json" \
  -d '{"auction_id":"<string>"}'
```

### Get auction lots

Returns a paginated list of lots for a given auction, sorted by lot number ascending. Each lot includes title, lot number, price estimates, image, status, and catalog description.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `auction_id` | string | Yes | Auction ID from get_upcoming_auctions or get_auction_results |
| `page` | integer | No | Page number for pagination. |
| `per_page` | integer | No | Number of lots per page. |

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/credits/bonhams/get-auction-lots \
  -H "Authorization: Bearer $LOCUS_CREDITS_SECRET_KEY" \
  -H "Idempotency-Key: $(uuidgen)" \
  -H "Content-Type: application/json" \
  -d '{"auction_id":"<string>","page":"<integer>","per_page":"<integer>"}'
```

### Get auction results

Returns past/completed auctions sorted by end date descending. Each auction includes title, dates, venue, departments, and status. Paginates as a single page of up to 250 auctions.

**Estimated cost:** Metered

_No parameters required._

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/credits/bonhams/get-auction-results \
  -H "Authorization: Bearer $LOCUS_CREDITS_SECRET_KEY" \
  -H "Idempotency-Key: $(uuidgen)" \
  -H "Content-Type: application/json" \
  -d '{}'
```

### Get departments

Returns the list of Bonhams departments with auction counts, derived from active auction facets. Each department includes the department name and the number of auctions in that department.

**Estimated cost:** Metered

_No parameters required._

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/credits/bonhams/get-departments \
  -H "Authorization: Bearer $LOCUS_CREDITS_SECRET_KEY" \
  -H "Idempotency-Key: $(uuidgen)" \
  -H "Content-Type: application/json" \
  -d '{}'
```

### Get lot details

Returns full details for a single lot by its unique ID, including catalog description, images, price estimates, bidding table, and extra auction-mobility widget details when available. The extra_details field provides live-bidding data such as bid count, images, and current bid state.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `lot_unique_id` | string | Yes | Unique lot ID from search_lots or get_auction_lots results (lotUniqueId field) |

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/credits/bonhams/get-lot-details \
  -H "Authorization: Bearer $LOCUS_CREDITS_SECRET_KEY" \
  -H "Idempotency-Key: $(uuidgen)" \
  -H "Content-Type: application/json" \
  -d '{"lot_unique_id":"<string>"}'
```

### Get upcoming auctions

Returns upcoming auctions sorted by start date ascending. Each auction includes title, date range, venue, department list, and total lot count. Covers all Bonhams brands (Bonhams, Skinner, Bukowskis, Cornette). Paginates as a single page of up to 250 auctions.

**Estimated cost:** Metered

_No parameters required._

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/credits/bonhams/get-upcoming-auctions \
  -H "Authorization: Bearer $LOCUS_CREDITS_SECRET_KEY" \
  -H "Idempotency-Key: $(uuidgen)" \
  -H "Content-Type: application/json" \
  -d '{}'
```

### Search lots

Full-text search across all lots by keyword, matching against titles and catalog descriptions. Filter by upcoming (active/new auctions) or past (sold/unsold lots). Returns paginated results sorted by relevance. Each lot includes title, price estimates, auction info, and catalog description.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `page` | integer | No | Page number for pagination. |
| `per_page` | integer | No | Number of lots per page. |
| `query` | string | Yes | Search keyword to match against lot titles and catalog descriptions. |
| `status` | string | No | Filter by lot status: 'upcoming' (lots in active/new auctions) or 'past' (sold/unsold lots). |

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/credits/bonhams/search-lots \
  -H "Authorization: Bearer $LOCUS_CREDITS_SECRET_KEY" \
  -H "Idempotency-Key: $(uuidgen)" \
  -H "Content-Type: application/json" \
  -d '{"page":"<integer>","per_page":"<integer>","query":"<string>","status":"<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.