# PriceRunner Similar Products API Documentation

GET /api/pricerunner/similar returns similar product cards for a category and product id from search.

- **Documentation:** [https://scrappa.co/docs/pricerunner-api/pricerunner_similar](https://scrappa.co/docs/pricerunner-api/pricerunner_similar)
- **API group:** PriceRunner API
- **Endpoint:** `GET https://scrappa.co/api/pricerunner/similar`

## 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 |
| --- | --- | --- | --- |
| `cat` | string | Yes | Category id from navigation or search. |
| `id` | string | Yes | Product id from suggest or search. |
| `size` | integer | No | Number of similar products, 1 to 48. Defaults to 12. |

## Example response

```json
{
    "meta": {
        "attempts": 1,
        "billable": true
    },
    "success": true,
    "products": []
}
```

## Errors

| Status | Error | Description |
| --- | --- | --- |
| 422 | Validation Error | One or more query parameters failed validation. |
| 503 | Upstream Unavailable | The public source is temporarily unavailable through every approved route. |

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