# Bring a Trailer Auction Search API Documentation

Search Bring a Trailer auctions, live and completed results. Filter by auction status, sale status, make or model term, category, era, origin, location country, year range, bid range, auction type, range and free text, with sorting and page pagination. Results carry the current bid in USD, the bid count, the reserve state, the sale state (sold or bid to), the end time as ISO 8601 UTC, the location, the postal code, the seller type and the thumbnail. Page with page and per_page (1 to 32) and read has_more from the live total page count.

- **Documentation:** [https://scrappa.co/docs/bring-a-trailer-api/bring_a_trailer_search](https://scrappa.co/docs/bring-a-trailer-api/bring_a_trailer_search)
- **API group:** Bring a Trailer API
- **Endpoint:** `GET https://scrappa.co/api/bring-a-trailer/v1/auctions/search`

## Authentication

Send your Scrappa API key in the `X-API-KEY` request header. Paid endpoints also support accountless x402 payments when called without an API key.

## Parameters

| Parameter | Type | Required | Description |
| --- | --- | --- | --- |
| `auction_status` | string | No | active (default) or past. |
| `sale_status` | string | No | sold or unsold (reserve not met). Past auctions only. |
| `sort` | string | No | ta (ending soonest), td (recently closed), ba (bid low to high), bd (bid high to low) or vd (popular). |
| `page` | integer | No | 1-based result page. |
| `per_page` | integer | No | Listings per page, 1 to 32. |
| `make_or_model` | string | No | Comma-separated term IDs from the filters endpoint, e.g. 1832980 for Ferrari. |
| `category` | string | No | Comma-separated category term IDs, e.g. 434 for Convertibles. |
| `era` | string | No | Era slug from the filters endpoint, e.g. pre-1900 or 2010s. |
| `origin` | string | No | Comma-separated origin term IDs, e.g. 8 for Italian. |
| `location_country` | string | No | Comma-separated location term IDs, e.g. 89009061 for United States. |
| `minimum_year` | integer | No | Minimum model year. |
| `maximum_year` | integer | No | Maximum model year. |
| `minimum_bid` | integer | No | Minimum current bid in USD. |
| `maximum_bid` | integer | No | Maximum current bid in USD. |
| `auction_type` | string | No | premium, no-reserve or alumni. |
| `range` | string | No | 7D, 30D, 1Y, 2Y or 5Y. |
| `zip_code` | string | No | Zip code for location filtering. Requires user_lat and user_lon. |
| `user_lat` | number | No | Latitude for location filtering. |
| `user_lon` | number | No | Longitude for location filtering. |
| `maximum_distance` | integer | No | Maximum distance for location filtering. |
| `s` | string | No | Free-text search query. |

## Example request

```bash
#!/bin/bash

curl -X GET \
    -H "x-api-key: YOUR_API_KEY_HERE" \
    "https://scrappa.co/api/bring-a-trailer/v1/auctions/search?auction_status=active&sort=ta&per_page=2"
```

## Example response

```json
{
    "success": true,
    "data": {
        "metadata": {
            "found": 1285,
            "page": 1,
            "per_page": 2,
            "max_num_pages": 643,
            "has_more": true
        },
        "listings": [
            {
                "id": 120648745,
                "title": "5k-Mile 2016 Ferrari 488 Spider",
                "year": 2016,
                "bid_current": 180000,
                "bid_currency": "USD",
                "bid_count": 13,
                "has_reserve": true,
                "reserve": null,
                "sale_state": null,
                "sale_price": null,
                "sale_date": null,
                "ends_at": "2026-10-12T17:00:00+00:00",
                "permalink": "https://bringatrailer.com/listing/2016-ferrari-488-spider-14/",
                "lat": "40.7293",
                "lon": "-96.7062",
                "postal_code": "68512",
                "images": [
                    "https://bringatrailer.com/wp-content/uploads/2026/08/IMG_4273-scaled-copy-2026-09-04-2f8-60070.jpeg?w=470&h=318&crop=1"
                ],
                "comments_count": 14,
                "seller_type": "private",
                "post_status": "active"
            }
        ]
    },
    "meta": {
        "endpoint_family": "search"
    }
}
```

## Errors

| Status | Error | Description |
| --- | --- | --- |
|  | A public parameter is invalid. This response is not billable. |  |
|  | Bring a Trailer rejected the request. This response is not billable. |  |
|  | Bring a Trailer returned an unexpected response. This response is not billable. |  |
|  | Bring a Trailer did not return usable data for this request. This response is not billable. |  |

## More Scrappa resources

- [API documentation](https://scrappa.co/docs)
- [Full LLM-readable API reference](https://scrappa.co/llms-full.txt)
- [OpenAPI specification](https://scrappa.co/docs/api.json)
- [Pricing](https://scrappa.co/pricing)
