Endpoint Playground
Test Crawlora's Get a Shop.app product variant by selected options API with realistic prefilled parameters. Generate a cURL request, inspect the expected structured JSON response, and open the full docs or pricing page when you are ready to integrate this public web data extraction endpoint into your application.
curl "https://api.crawlora.net/api/v1/shop-app/products/4596217053229/variant?selected_options=%7B%22Colour%22%3A%22Black%22%2C%22Size%22%3A%227%22%2C%22Width%22%3A%226E%22%7D" \
-H "x-api-key: $CRAWLORA_API_KEY"| Parameter | Type | Required | Prefilled value | Description |
|---|---|---|---|---|
| id (path) | string | Yes | 4596217053229 | Product id |
| selected_options | string | No | {"Colour":"Black","Size":"7","Width":"6E"} | Selected options JSON object |
{
"code": 200,
"msg": "OK",
"data": {
"product_id": "4596217053229",
"variant": {
"id": "34761278160941",
"title": "Black / 7 / 6E",
"available_for_sale": true
}
}
}Public Playground
Sample responses, schemas, request previews, and code snippets are visible before sign in. Create an account when you are ready to save an API key and run authenticated requests.
Returns the exact public product variant matching selected options. selected_options must be a JSON object when provided. Repeated option filters may also be sent as option.Name=value or option[Name]=value.
{
"code": 200,
"msg": "OK",
"data": {
"product_id": "4596217053229",
"variant": {
"id": "34761278160941",
"title": "Black / 7 / 6E",
"available_for_sale": true
}
}
}curl "https://api.crawlora.net/api/v1/shop-app/products/<id>/variant" \
-H "x-api-key: $CRAWLORA_API_KEY"