Old Navy API endpoint
Use Crawlora's Old Navy Category Browse API to extract supported public Old Navy data as structured JSON. This page includes request parameters, cURL examples, response schema, error behavior, credit cost, and a Playground link for testing before integration.
/oldnavy/categoryReturns 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, normalized product summaries with per-color inventory data, and available search facets with live counts. Developers commonly use this endpoint for data enrichment, monitoring, research dashboards, internal automation, and agent-native workflows that need repeatable structured public web data. Authentication uses the documented Crawlora headers, and usage is metered with the credit cost shown on this page.
Request parameters are generated from the active endpoint catalog. Required values must be sent before Crawlora can call the upstream public web data source.
| Parameter | Type | Required | Default | Description | Example |
|---|---|---|---|---|---|
| cid | string | Yes | Category id, from a storefront category page's own cid query parameter | ||
| brand | string | No | Storefront to browse Allowed values: on, gap, br, at | ||
| page | integer | No | One-based page Minimum: 1. Maximum: 500. | ||
| x-api-key (header) | string | Yes | API key required |
curl -X GET "https://api.crawlora.net/api/v1/oldnavy/category?brand=on&page=1" \ -H "x-api-key: $CRAWLORA_API_KEY"
Send your scraping API key in the x-api-key header. Use the console API Keys page to rotate or select the active key.
Endpoint usage is metered in credits. The plan prices, included credits, limits, and overage rates below match the active backend billing configuration.
| Plan | Price | Included credits | Daily cap | Rate limit | Overage |
|---|---|---|---|---|---|
| Free | $0/mo | 2,000 | 500 daily credits | 5/min | No overage |
| Starter | $9/mo | 20,000 | 5,000 daily credits | 15/min | $0.75/1,000 overage credits when enabled |
| Growth | $29/mo | 100,000 | 25,000 daily credits | 45/min | $0.45/1,000 overage credits when enabled |
| Pro | $79/mo | 400,000 | No daily cap | 120/min | $0.30/1,000 overage credits |
| Business | $199/mo | 1,200,000 | No daily cap | 300/min | $0.20/1,000 overage credits |
| Enterprise | $499/mo | 5,000,000 | No daily cap | 1,000/min | $0.12/1,000 overage credits |
This endpoint is executed through Crawlora's managed scraping infrastructure.
- `categories` breaks the listing into its subcategory groups (e.g. "Slim Jeans" within a "Jeans" category), each with the specific color-level product ids (`items[].cc_id`) that belong to it. - Each product's `colors[].id` is the value to pass as `pid` to `oldnavy-product` for full product-detail data on that color -- the same id space as `oldnavy-search`'s `colors[].id`. - Each color additionally carries live inventory data not present on `oldnavy-search`: `inventory_count`, `inventory_status`, `back_order_inventory_count`, and `back_order_inventory_status`. - `facets` lists the available filters (price range, department, review score, color, fit, and others) with live per-option result counts. - An unknown `cid` returns `404`. A `page` beyond the upstream's own last page returns a `200` with an empty `products` array (not a `404`) -- this differs from `oldnavy-search`'s own overflow behavior. - A non-numeric or missing `cid` returns `400` before any upstream request is made. ```json {"code":200,"msg":"OK","data":{"category_id":"85729","brand":"on","page":1,"page_size":200,"total_pages":2,"total_colors":392,"count":1,"categories":[{"category_id":"85729","category_name":"Jeans","sub_category_id":"3051473","sub_category_name":"Slim Jeans","items":[{"cc_id":"896223002","style_id":"431453"}]}],"products":[{"id":"734897","name":"High-Waisted Wow Super-Skinny Jeans","review_score":4.6,"review_count":38414,"url":"https://oldnavy.gap.com/browse/product.do?pid=886872002","colors":[{"id":"886872002","name":"White","short_description":"Calla Lily White","price":22.0,"regular_price":34.99,"percentage_off":37,"image_url":"https://oldnavy.gap.com/webcontent/0061/704/456/cn61704456.jpg","inventory_count":55,"inventory_status":"In Stock","back_order_inventory_count":0,"back_order_inventory_status":"Out of Stock"}]}],"facets":[{"name":"price","type":"range","range_min":4.99,"range_max":64.99,"is_range":true},{"name":"department","label":"department","type":"single-select","options":[{"label":"Women","value":"Women","count":282}]}]}} ```
Crawlora does not silently return bad data when the upstream page cannot be used.
| Status | Common failure case |
|---|---|
| 400 | Invalid input or missing required parameter |
| 429 | Plan or endpoint rate limit exceeded |
| 500 | Internal execution error |
| 502 | Upstream platform failed, returned unusable HTML, or served a challenge page that could not be resolved |
When possible, Crawlora returns structured error context so your integration can retry, back off, or inspect the request.
| Status | Description | Schema |
|---|---|---|
| 400 | Bad Request | #/definitions/app.Response |
| 404 | Not Found | #/definitions/app.Response |
| 429 | Too Many Requests | #/definitions/app.Response |
| 503 | Service Unavailable | #/definitions/app.Response |
Request schema
No body schema
Response schema
#/definitions/oldnavy.categoryResponseDoc
| Field | Type | Required | Enum | Bounds | Example | Description |
|---|---|---|---|---|---|---|
| code | integer | No | 200 | |||
| data | oldnavy.CategoryResponse | No | ||||
| data.brand | string | No | ||||
| data.categories | array | No | ||||
| data.categories[].category_id | string | No | ||||
| data.categories[].category_name | string | No | ||||
| data.categories[].items | array | No | ||||
| data.categories[].items[].cc_id | string | No | ||||
| data.categories[].items[].style_id | string | No | ||||
| data.categories[].sub_category_id | string | No | ||||
| data.categories[].sub_category_name | string | No | ||||
| data.category_id | string | No | ||||
| data.count | integer | No | ||||
| data.facets | array | No | ||||
| data.facets[].is_range | boolean | No | ||||
| data.facets[].label | string | No | ||||
| data.facets[].name | string | No | ||||
| data.facets[].options | array | No | ||||
| data.facets[].options[].count | integer | No | ||||
| data.facets[].options[].label | string | No | ||||
| data.facets[].options[].value | string | No | ||||
| data.facets[].range_max | number | No | ||||
| data.facets[].range_min | number | No | ||||
| data.facets[].type | string | No | ||||
| data.fetched_at | string | No | ||||
| data.page | integer | No | ||||
| data.page_size | integer | No | ||||
| data.products | array | No | ||||
| data.products[].colors | array | No | ||||
| data.products[].colors[].back_order_inventory_count | integer | No | ||||
| data.products[].colors[].back_order_inventory_status | string | No | ||||
| data.products[].colors[].id | string | No | ||||
| data.products[].colors[].image_url | string | No | ||||
| data.products[].colors[].inventory_count | integer | No | ||||
| data.products[].colors[].inventory_status | string | No | ||||
| data.products[].colors[].name | string | No | ||||
| data.products[].colors[].percentage_off | integer | No | ||||
| data.products[].colors[].price | number | No | ||||
| data.products[].colors[].regular_price | number | No | ||||
| data.products[].colors[].short_description | string | No | ||||
| data.products[].id | string | No | ||||
| data.products[].name | string | No | ||||
| data.products[].review_count | integer | No | ||||
| data.products[].review_score | number | No | ||||
| data.products[].url | string | No | ||||
| data.products[].web_product_type | string | No | ||||
| data.source_url | string | No | ||||
| data.total_colors | integer | No | ||||
| data.total_pages | integer | No | ||||
| msg | string | No | OK |
Use environment variables for secrets and keep Crawlora API keys server-side.
curl -X GET "https://api.crawlora.net/api/v1/oldnavy/category?brand=on&page=1" \
-H "x-api-key: $CRAWLORA_API_KEY"Crawlora is designed for responsible structured public web data workflows. Customers are responsible for using Crawlora in compliance with applicable laws, third-party rights, target-platform rules, and Crawlora terms.
Read Crawlora terms