# Invaluable Search

Search Invaluable auction lots. status=sold returns realized prices with a numeric sold price, an estimate, the auction house, an ISO sale date and a full-size image. status=upcoming returns current lots. Page is 1-based. ids in the results are accepted unchanged by the lot and auction routes. A valid empty page is billable; an upstream failure is not.

- **Documentation:** [https://scrappa.co/docs/invaluable-api/invaluable_search](https://scrappa.co/docs/invaluable-api/invaluable_search)
- **API group:** Invaluable API
- **Endpoint:** `GET https://scrappa.co/api/invaluable/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 |
| --- | --- | --- | --- |
| `query` | string | Yes | Free text search, e.g. rolex. |
| `status` | string | No | sold (default) or upcoming. |
| `page` | integer | No | Result page, 1-based. Default: 1. |
| `hitsPerPage` | integer | No | Results per page, 1 to 100. Default: 20. |
| `sort` | string | No | Upcoming search only. Default: score,desc. Refused with 422 for sold search, whose index has a fixed order. |

## Example request

```bash
#!/bin/bash

curl -X GET \
    -H "x-api-key: YOUR_API_KEY_HERE" \
    "https://scrappa.co/api/invaluable/search?query=rolex&status=sold&page=1"
```

## Example response

```json
{
    "success": true,
    "data": {
        "status": "sold",
        "query": "rolex",
        "page": 1,
        "per_page": 20,
        "has_more": true,
        "results": [
            {
                "id": "60B1081677",
                "house_name": "Example Auctions",
                "title": "A wristwatch",
                "sold_price": 12500,
                "currency": "USD",
                "estimate_low": 8000,
                "estimate_high": 12000,
                "sale_date": "2026-10-04T12:00:00+00:00"
            }
        ]
    },
    "meta": {
        "endpoint_family": "search"
    }
}
```

## Errors

| Status | Error | Description |
| --- | --- | --- |
| 422 | Validation Error | A parameter is missing or invalid. The request is not billed. |
| 503 | Upstream Unavailable | The auction source did not answer. Not billed. |

## 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)
