J.Crew API endpoint
Lists every category and subcategory from the storefront's own header navigation, flattened into department/section/category triples -- resolves the category-discovery gap jcrew-category's own category parameter otherwise leaves as "find one from a storefront URL". Each entry's category value is exactly what jcrew-category's own category parameter accepts. Filter to one department with department (e.g. women, men); omit for every department. Departments vary slightly by site (jcrew.com has an extra "home" department factory.jcrew.com doesn't) -- see the response's own departments field for the live list.
/jcrew/categoriessite selects the storefront and accepts jcrew or factory; defaults to jcrew. department filters to one department (e.g. women, men, boys, girls, accessories, shoes, home); omit for every department.
Notable response behavior:
departments lists every department the storefront's own navigation exposes. This varies slightly by site: jcrew.com has an extra home department factory.jcrew.com doesn't.section groups entries the way the storefront's own nav does (typically clothing, accessories, shoes), matching the department tabs and sub-columns visible on the real site.womens/categories/clothing, the section's own "All Clothing" link) rather than a true leaf subcategory -- passing one to jcrew-category returns a well-formed empty result, not an error, same as browsing that hub page on the real site.| Parameter | Type | Required | Default | Description | Example |
|---|---|---|---|---|---|
| site | string | No | Storefront to list Allowed values: jcrew, factory. | ||
| department | string | No | Department to filter to, e.g. women, men, boys, girls, accessories, shoes, home (jcrew only) -- omit for every department | women | |
| x-api-key (header) | string | Yes | API key required |
curl -X GET "https://api.crawlora.net/api/v1/jcrew/categories?site=jcrew" \ -H "x-api-key: $CRAWLORA_API_KEY"
{
"code": 200,
"msg": "OK",
"data": {
"site": "jcrew",
"departments": [
"women",
"men",
"boys",
"girls",
"home",
"shoes",
"accessories"
],
"categories": [
{
"department": "women",
"section": "clothing",
"category": "womens/categories/clothing/sweaters",
"label": "sweaters"
},
{
"department": "women",
"section": "clothing",
"category": "womens/categories/clothing/jeans",
"label": "jeans"
}
]
}
}Request schema
No body schema
Response schema
#/definitions/jcrew.categoriesResponseDoc
| Field | Type | Required | Enum | Bounds | Example | Description |
|---|---|---|---|---|---|---|
| code | integer | No | 200 | |||
| data | jcrew.CategoriesResponse | No | ||||
| data.categories | array | No | ||||
| data.categories[].category | string | No | ||||
| data.categories[].department | string | No | ||||
| data.categories[].label | string | No | ||||
| data.categories[].section | string | No | ||||
| data.departments | array | No | ||||
| data.fetched_at | string | No | ||||
| data.site | string | 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/jcrew/categories?site=jcrew" \
-H "x-api-key: $CRAWLORA_API_KEY"