# PriceRunner Product Detail API Documentation

GET /api/pricerunner/detail parses the public product page. Pass the category_id from search or the product url; a wrong category returns an error. Returns product fields, shop offers and similar ids.

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

## 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 |
| --- | --- | --- | --- |
| `id` | string | Yes | Product id from suggest or search. |
| `category` | string | No | Category id from search (category_id). Required unless url is passed. |
| `url` | string | No | Product url from suggest or search. Its category segment supplies the category. |

## Example response

```json
{
    "raw": [],
    "meta": {
        "attempts": 1,
        "billable": true
    },
    "offers": [],
    "product": [],
    "success": true,
    "similar_ids": []
}
```

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