# Canyon Offer API Documentation

<p>Read an offer for one exact size label (e.g. M/L) and colour. Pass color_id from the product variants. Returns EUR prices, colour label, full-size image URLs, stock and ids. A mismatch or an outlet batch variant returns 422. Cost: 1 credit.</p>

- **Documentation:** [https://scrappa.co/docs/canyon-api/canyon_offer](https://scrappa.co/docs/canyon-api/canyon_offer)
- **API group:** Canyon API
- **Endpoint:** `GET https://scrappa.co/api/canyon/offer`

## 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 |
| --- | --- | --- | --- |
| `pid` | string | Yes | Product id from the sitemap or product route. Required. |
| `color` | string | Yes | Colour label from the product variants. Required. |
| `color_id` | string | No | Site colour id from the product variants. Use it to select the exact colour. |
| `size` | string | No | Exact size label from the product variants, including M/L. Omit for one-size bikes. |

## Errors

| Status | Error | Description |
| --- | --- | --- |
| 502 | Error | The source did not return a complete offer. |
| 422 | Error | The colour or size does not match the returned variation. No credit is charged. |
| 422 | Error | Outlet batch-number variants have no public offer. No credit is charged. |

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