CVS API endpoint
Returns CVS.com's full category/subcategory navigation taxonomy (name and path, nested to whatever depth the upstream carries). Each node's path is directly usable as GET /cvs/category's path parameter.
/cvs/categoriesReturns CVS.com's full category/subcategory navigation taxonomy. Covers the non-prescription retail catalog only.
Takes no parameters.
Notable response behavior:
path is directly usable as cvs-category's path query parameter.children is nested to whatever depth the upstream carries (subcategories of subcategories included); a leaf node omits children entirely.503 upstream error rather than an empty or wrong result.| Field | Filled in, of 15 checked | Values in the sample |
|---|---|---|
| id | 13 | |
| title | 15 | “Health & Medicine” and 14 other values |
| path | 15 | “health-medicine” and 14 other values |
| children | 13 | median 7 entries |
| Parameter | Type | Required | Default | Description | Example |
|---|---|---|---|---|---|
| x-api-key (header) | string | Yes | API key required |
curl -X GET "https://api.crawlora.net/api/v1/cvs/categories" \ -H "x-api-key: $CRAWLORA_API_KEY"
{
"code": 200,
"msg": "OK",
"data": {
"categories": [
{
"id": "cat1",
"title": "Health & Medicine",
"path": "health-medicine",
"children": [
{
"id": "cat510006",
"title": "Allergy & Sinus",
"path": "health-medicine/allergy-sinus",
"children": [
{
"id": "cat510010",
"title": "Allergy Medicine",
"path": "health-medicine/allergy-sinus/allergy-medicine"
}
]
}
]
}
]
}
}Request schema
No body schema
Response schema
#/definitions/cvs.categoriesResponseDoc
| Field | Type | Required | Enum | Bounds | Example | Description |
|---|---|---|---|---|---|---|
| code | integer | No | 200 | |||
| data | cvs.CategoriesResponse | No | ||||
| data.categories | array | No | ||||
| data.categories[].children | array | No | ||||
| data.categories[].id | string | No | cat510006 | |||
| data.categories[].path | string | No | health-medicine/allergy-sinus | |||
| data.categories[].title | string | No | Allergy & Sinus | |||
| msg | string | No | OK |
| Status | Description | Schema |
|---|---|---|
| 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/cvs/categories" \
-H "x-api-key: $CRAWLORA_API_KEY"