---
title: "Get Instacart store department taxonomy"
method: GET
path: "/instacart/departments"
tags: ["Instacart"]
---

# Get Instacart store department taxonomy

`GET /instacart/departments`

## Request

- Base URL: `https://api.crawlora.net/api/v1`
- URL: `https://api.crawlora.net/api/v1/instacart/departments`
- Auth: API key in header `x-api-key`

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.

## Query parameters

- `shop_id` string, required
- `store_slug` string, required
- `postal_code` string, required

## Headers

- `x-api-key` string, required

## Response `200`

OK

- InstacartDepartmentsResponseDoc
  - `code` integer
  - `data` InstacartDepartmentsResponse
    - `departments` InstacartDepartment[]
      - `id` string
      - `name` string
      - `slug` string
      - `subcategories` InstacartSubcategory[]
        - `id` string
        - `name` string
        - `slug` string
    - `shop_id` string
  - `msg` string

## Other responses

- `400`: Bad Request
- `500`: Internal Server Error
- `503`: Service Unavailable

---

[API](https://skmtc.dev/crawlora/apis/crawlora-api.md) · [All operations](https://skmtc.dev/crawlora/apis/crawlora-api/llms.txt) · [OpenAPI document](https://skmtc.dev/crawlora/apis/crawlora-api/revisions/0497899e2016?raw)
