---
title: "Browse an Old Navy, Gap, Banana Republic, or Athleta category"
method: GET
path: "/oldnavy/category"
tags: ["Old Navy"]
---

# Browse an Old Navy, Gap, Banana Republic, or Athleta category

`GET /oldnavy/category`

## Request

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

Returns a category/browse listing for one storefront category id (cid). cid is an opaque Gap Inc category id assigned by the storefront's own navigation -- neither oldnavy-search nor oldnavy-category currently surface a category-id list, so find one from the storefront's own category page URLs (the cid query parameter on a /browse/... page) for now. Select the storefront with the brand parameter (`on` for Old Navy, `gap` for Gap, `br` for Banana Republic, `at` for Athleta; defaults to `on`) -- it must match the brand the cid was found under. Returns the category's subcategory breakdown, product summaries with per-color inventory data, and available search facets with live counts.

## Query parameters

- `cid` string, required
- `brand` 'on' | 'gap' | 'br' | 'at'
- `page` integer

## Headers

- `x-api-key` string, required

## Response `200`

OK

- OldnavyCategoryResponseDoc
  - `code` integer
  - `data` OldnavyCategoryResponse
    - `brand` string
    - `categories` OldnavyCategoryGroup[]
      - `category_id` string
      - `category_name` string
      - `items` OldnavyCategoryGroupItem[]
        - `cc_id` string
        - `style_id` string
      - `sub_category_id` string
      - `sub_category_name` string
    - `category_id` string
    - `count` integer
    - `facets` OldnavyFacet[]
      - `is_range` boolean
      - `label` string
      - `name` string
      - `options` OldnavyFacetOption[]
        - `count` integer
        - `label` string
        - `value` string
      - `range_max` number
      - `range_min` number
      - `type` string
    - `fetched_at` string
    - `page` integer
    - `page_size` integer
    - `products` OldnavyCategoryProductSummary[]
      - `colors` OldnavyCategoryColorSummary[]
        - `back_order_inventory_count` integer
        - `back_order_inventory_status` string
        - `id` string
        - `image_url` string
        - `inventory_count` integer
        - `inventory_status` string
        - `name` string
        - `percentage_off` integer
        - `price` number
        - `regular_price` number
        - `short_description` string
      - `id` string
      - `name` string
      - `review_count` integer
      - `review_score` number
      - `url` string
      - `web_product_type` string
    - `source_url` string
    - `total_colors` integer
    - `total_pages` integer
  - `msg` string

## Other responses

- `400`: Bad Request
- `404`: Not Found
- `429`: Too Many Requests
- `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/afac9b012a27?raw)
