# 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. Each call is automatically billed to your wallet in USDC.

## Access

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

## 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/parse-bonhams-com-api-3667cfe3/get_auction_details \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -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/parse-bonhams-com-api-3667cfe3/get_auction_lots \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -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/parse-bonhams-com-api-3667cfe3/get_auction_results \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -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/parse-bonhams-com-api-3667cfe3/get_departments \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -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/parse-bonhams-com-api-3667cfe3/get_lot_details \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -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/parse-bonhams-com-api-3667cfe3/get_upcoming_auctions \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -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/parse-bonhams-com-api-3667cfe3/search_lots \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"page":"<integer>","per_page":"<integer>","query":"<string>","status":"<string>"}'
```
