Skip to content
Scrappa Get API key
Canyon API 1 credit / request

Canyon Offer API Documentation

GET https://scrappa.co/api/canyon/offer

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.

Canyon Offer API Documentation 1 credit / request

Endpoint

Request preview
GET
https://scrappa.co/api/canyon/offer
Auth header
x-api-key
Cost
1 credit / request
pid = example color = example
Response preview
200 OK
Example JSON appears below when a response schema is available for this endpoint.

Parameters

Start with the required fields, then add optional filters only when your use case needs them.

Runnable path

2 required parameters needed before sending a request.

2 optional filters available.

pid string Required

Product id from the sitemap or product route. Required.

Example value example
color string Required

Colour label from the product variants. Required.

Example value example
color_id string Optional

Site colour id from the product variants. Use it to select the exact colour.

Example value 1234567890
size string Optional

Exact size label from the product variants, including M/L. Omit for one-size bikes.

Example value example

Errors

Handle these documented responses before retrying or showing customer-facing failures.

MISSING_OFFER

HTTP MISSING_OFFER

The source did not return a complete offer.

COLOUR_MISMATCH

HTTP COLOUR_MISMATCH

The colour or size does not match the returned variation. No credit is charged.

BATCH_VARIANT

HTTP BATCH_VARIANT

Outlet batch-number variants have no public offer. No credit is charged.

Generate Code with AI

Copy a ready-made prompt with all the endpoint details, parameters, and example responses. Paste it into ChatGPT, Claude, or any AI assistant to instantly generate working code.

Try It Live

Test this endpoint in our interactive playground with real data.