Chewy API endpoint
Resolves a batch of up to 20 GTIN/UPC barcodes to their Chewy part numbers in one call. gtins is a comma-separated list of barcodes, e.g. "192268541316". A barcode Chewy does not recognize is omitted from part_numbers and listed in not_found rather than causing the whole call to fail. The resolved part_numbers values feed directly into chewy_product/chewy_products.
/chewy/gtin-lookupResolves a batch of up to 20 GTIN/UPC barcodes to their Chewy part numbers in one call. Sourced from Chewy's own mobile-app item-lookup endpoint.
gtins is required -- a comma-separated list of GTIN/UPC barcodes, up to 20 per request, e.g. 192268541316.
Notable response behavior:
part_numbers and listed in not_found rather than causing the whole call to fail.part_numbers values feed directly into chewy_product/chewy_products.| Field | In the sample | Value in the sample |
|---|---|---|
| count | Has a value | 1 |
| part_numbers | Has a value |
| Parameter | Type | Required | Default | Description | Example |
|---|---|---|---|---|---|
| gtins | string | Yes | Comma-separated GTIN/UPC barcodes, up to 20 | 192268541316 | |
| x-api-key (header) | string | Yes | API key required |
curl -X GET "https://api.crawlora.net/api/v1/chewy/gtin-lookup?gtins=192268541316" \ -H "x-api-key: $CRAWLORA_API_KEY"
{
"code": 200,
"msg": "OK",
"data": {
"count": 1,
"part_numbers": {
"192268541316": "335025"
},
"not_found": [
"999999999999999"
],
"source_url": "https://www.chewy.com/api/item/v1/partNumber?gtins=192268541316,999999999999999",
"fetched_at": "2026-08-20T10:00:00Z"
}
}Request schema
No body schema
Response schema
#/definitions/chewy.gtinLookupResponseDoc
| Field | Type | Required | Enum | Bounds | Example | Description |
|---|---|---|---|---|---|---|
| code | integer | No | 200 | |||
| data | chewy.GTINLookupResponse | No | ||||
| data.count | integer | No | ||||
| data.fetched_at | string | No | ||||
| data.not_found | array | No | ||||
| data.part_numbers | object | No | ||||
| data.source_url | string | No | ||||
| msg | string | No | OK |
| Status | Description | Schema |
|---|---|---|
| 400 | Bad Request | #/definitions/app.Response |
| 429 | Too Many Requests | #/definitions/app.Response |
| 503 | Service Unavailable | #/definitions/app.Response |
Use environment variables for secrets and keep Crawlora API keys server-side.
curl -X GET "https://api.crawlora.net/api/v1/chewy/gtin-lookup?gtins=192268541316" \
-H "x-api-key: $CRAWLORA_API_KEY"