# PriceCharting Search API Documentation

<p>Search public PriceCharting data. Each item has a game path that passes unchanged to the product and price-history routes, a name, a full url and a used price as a number with USD. Paginate with page and size. One credit per successful request; a failed request is never billed.</p>

- **Documentation:** [https://scrappa.co/docs/pricecharting-api/pricecharting_search](https://scrappa.co/docs/pricecharting-api/pricecharting_search)
- **API group:** PriceCharting API
- **Endpoint:** `GET https://scrappa.co/api/pricecharting/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 | Search words, for example charizard. |
| `page` | integer | No | Only page 1 is available. A higher page returns 422. |
| `size` | integer | No | Products per page, 1 to 50. |

## Example response

```json
{
    "data": {
        "page": 1,
        "items": [
            {
                "id": "pokemon-base-set/charizard-4",
                "url": "https://www.pricecharting.com/game/pokemon-base-set/charizard-4",
                "name": "Charizard",
                "prices": {
                    "used": {
                        "amount": 1225,
                        "currency": "USD"
                    }
                }
            }
        ],
        "query": "charizard"
    },
    "meta": {
        "billable": true,
        "endpoint_family": "search"
    },
    "success": true
}
```

## Errors

| Status | Error | Description |
| --- | --- | --- |
| 422 | Validation Error | A parameter is missing or invalid. Not billed. |
| 503 | Upstream Unavailable | PriceCharting 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)
