CVS API endpoint
Use Crawlora's Browse a CVS OTC category page API to extract supported public CVS 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.
/cvs/categoryReturns one page of a CVS.com OTC (over-the-counter) retail category, subcategory, or brand page's product grid: normalized products with title, brand, image, current/original price, and sponsored/featured/new-product flags; the total result count; and the facets (brand, color, size, price range, and other category-specific attributes, each with its selectable values and result counts) available to filter the page further. Covers the non-prescription retail catalog only. path is the segment of a page URL after "/shop/", e.g. "beauty" (top-level category), "health-medicine/allergy-sinus" (subcategory), or "brand-shop/s/safe-home" (brand page); a full https://www.cvs.com/shop/... URL or a "/shop/..." path is also accepted. Any of these can also carry an optional facet-filter suffix in the site's own URL shape, e.g. "beauty/makeup/eyes/q/CoverGirl/Black/brpc" to filter to brand CoverGirl and color Black -- see the response's facets field for which values/type codes a given category supports; filter values are case-sensitive exactly as the site renders them. page is a 1-indexed page number (default 1). sort is an optional result order matching the site's own Sort By control. CVS.com is only available from US/US-territory egress; a request from an unsupported region returns an upstream error rather than an empty result. 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 |
|---|---|---|---|---|---|
| path | string | Yes | CVS category, subcategory, or brand-page URL path, optionally with a /q/{value}/{typeCode} facet-filter suffix, e.g. \ | ||
| page | integer | No | 1-indexed page number, default 1 | ||
| sort | string | No | Result sort order, default the site's own relevance order. One of pa (Price Low to High), pd (Price High to Low), tr (Top Rated), rc (Most Reviewed), az (Name A-Z), za (Name Z-A) Allowed values: pa, pd, tr, rc, az, za | ||
| x-api-key (header) | string | Yes | API key required |
curl -X GET "https://api.crawlora.net/api/v1/cvs/category?page=1&sort=pa" \ -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.
Some targets require real browser execution because the data is loaded through JavaScript, dynamic rendering, or interaction-like browser behavior.
For supported endpoints, Crawlora can route requests through a managed browser cluster. This allows Crawlora to execute JavaScript, load dynamic content, apply browser-level request behavior, and normalize the rendered result into JSON.
You do not need to operate your own Playwright, Puppeteer, Chrome, proxy, queue, or retry infrastructure.
- `list_price`/`sale_price`/`currency` come from the page's own pricing data; a product with no price omits these fields. - `is_sponsored`, `is_featured`, and `is_new_product` reflect the merchandising flags the category page itself carries. - `facets` lists every filter the current category/filter state exposes: `key` is the upstream facet field name (e.g. `brand`, `e_color`, `d_priceBucket`), `label` is its display name (e.g. `Brand`, `Color`, `Price`), and `values` is a list of `{name, count}` — `count` is the number of results selecting that value would produce given whatever filters, if any, the request already applied. The set of facets and their values is category-specific and upstream-controlled; read it from a live response rather than assuming a fixed set. - CVS.com is only available from US/US-territory egress; a request from an unsupported region, or a page CVS blocks, returns a `503` upstream error rather than an empty or wrong result. - An unrecognized `path` (including a malformed filter suffix) or an unrecognized `sort` value returns a `400` invalid-parameter error before any upstream request is made. Example response: ```json {"code":200,"msg":"OK","data":{"total_count":8766,"page":1,"products":[{"id":"478253","title":"Crest Pro-Health Breath Mist, Clean Mint, 0.44 OZ, 2 PK","url":"https://www.cvs.com/shop/crest-pro-health-breath-mist-clean-mint-0-44-oz-2-pk-prodid-478253","brand":"Crest","image_url":"https://www.cvs.com/bizcontent/merchandising/productimages/high_res/72894700032.jpg","currency":"USD","list_price":4.99,"sale_price":4.99}],"facets":[{"key":"brand","label":"Brand","values":[{"name":"Crest","count":12},{"name":"one+other","count":3}]},{"key":"d_priceBucket","label":"Price","values":[{"name":"$0 - $5","count":9},{"name":"$5 - $10","count":6}]}]}} ```
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 |
| 429 | Too Many Requests | #/definitions/app.Response |
| 503 | Service Unavailable | #/definitions/app.Response |
{
"code": 200,
"msg": "OK",
"data": {
"total_count": 8766,
"page": 1,
"products": [
{
"id": "478253",
"title": "Crest Pro-Health Breath Mist, Clean Mint, 0.44 OZ, 2 PK",
"url": "https://www.cvs.com/shop/crest-pro-health-breath-mist-clean-mint-0-44-oz-2-pk-prodid-478253",
"brand": "Crest",
"image_url": "https://www.cvs.com/bizcontent/merchandising/productimages/high_res/72894700032.jpg",
"currency": "USD",
"list_price": 4.99,
"sale_price": 4.99
}
],
"facets": [
{
"key": "brand",
"label": "Brand",
"values": [
{
"name": "Crest",
"count": 12
},
{
"name": "one+other",
"count": 3
}
]
},
{
"key": "d_priceBucket",
"label": "Price",
"values": [
{
"name": "$0 - $5",
"count": 9
},
{
"name": "$5 - $10",
"count": 6
}
]
}
]
}
}Request schema
No body schema
Response schema
#/definitions/cvs.categoryResponseDoc
| Field | Type | Required | Enum | Bounds | Example | Description |
|---|---|---|---|---|---|---|
| code | integer | No | 200 | |||
| data | cvs.CategoryResponse | No | ||||
| data.facets | array | No | ||||
| data.facets[].key | string | No | brand | |||
| data.facets[].label | string | No | Brand | |||
| data.facets[].values | array | No | ||||
| data.facets[].values[].count | integer | No | 37 | |||
| data.facets[].values[].name | string | No | CoverGirl | |||
| data.page | integer | No | 1 | |||
| data.products | array | No | ||||
| data.products[].brand | string | No | Crest | |||
| data.products[].currency | string | No | USD | |||
| data.products[].id | string | No | 478253 | |||
| data.products[].image_url | string | No | ||||
| data.products[].is_featured | boolean | No | ||||
| data.products[].is_new_product | boolean | No | ||||
| data.products[].is_sponsored | boolean | No | ||||
| data.products[].list_price | number | No | 4.99 | |||
| data.products[].sale_price | number | No | 4.99 | |||
| data.products[].title | string | No | Crest Pro-Health Breath Mist, Clean Mint, 0.44 OZ, 2 PK | |||
| data.products[].url | string | No | ||||
| data.total_count | integer | No | 8766 | |||
| 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/cvs/category?page=1&sort=pa" \
-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