Endpoint Playground
Test Crawlora's Instacart departments 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/instacart/departments?shop_id=<shop_id>&store_slug=<store_slug>&postal_code=<postal_code>" \
-H "x-api-key: $CRAWLORA_API_KEY"| Parameter | Type | Required | Prefilled value | Description |
|---|---|---|---|---|
| shop_id | string | Yes | Store's opaque shop id, from GET /instacart/stores | |
| store_slug | string | Yes | Store's retailer slug, from GET /instacart/stores | |
| postal_code | string | Yes | Postal code to localize the taxonomy for |
{
"code": 200,
"msg": "OK",
"data": {
"shop_id": "9501",
"departments": [
{
"id": "88",
"name": "Produce",
"slug": "produce",
"subcategories": [
{
"id": "79",
"name": "Fresh Fruits",
"slug": "fresh-fruits"
},
{
"id": "80",
"name": "Fresh Vegetables",
"slug": "fresh-vegetables"
},
{
"id": "78",
"name": "Herbs",
"slug": "herbs"
}
]
},
{
"id": "98",
"name": "Dairy & Eggs",
"slug": "dairy",
"subcategories": [
{
"id": "85",
"name": "Milk",
"slug": "milk"
},
{
"id": "106",
"name": "Cheese",
"slug": "cheese"
}
]
}
]
}
}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 a store's department/category taxonomy (Produce, Dairy & Eggs, Bakery, ...) two levels deep -- department and subcategory. Metadata only, does not return products. Public data sourced from Instacart's own storefront navigation.
{
"code": 200,
"msg": "OK",
"data": {
"shop_id": "9501",
"departments": [
{
"id": "88",
"name": "Produce",
"slug": "produce",
"subcategories": [
{
"id": "79",
"name": "Fresh Fruits",
"slug": "fresh-fruits"
},
{
"id": "80",
"name": "Fresh Vegetables",
"slug": "fresh-vegetables"
},
{
"id": "78",
"name": "Herbs",
"slug": "herbs"
}
]
},
{
"id": "98",
"name": "Dairy & Eggs",
"slug": "dairy",
"subcategories": [
{
"id": "85",
"name": "Milk",
"slug": "milk"
},
{
"id": "106",
"name": "Cheese",
"slug": "cheese"
}
]
}
]
}
}curl "https://api.crawlora.net/api/v1/instacart/departments?shop_id=<shop_id>&store_slug=<store_slug>&postal_code=<postal_code>" \
-H "x-api-key: $CRAWLORA_API_KEY"