CVS API endpoint
Use Crawlora's Search CVS OTC products by keyword 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/searchPerforms a keyword search across CVS.com's non-prescription retail/OTC catalog and returns one page of results: 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 attributes, each with its selectable values and result counts) available to filter the results further. This is the same product-search backend cvs-category reads, just reached by keyword instead of by category/brand path. Covers the non-prescription retail catalog only. q is the search keyword or phrase, required. page is a 1-indexed page number (default 1). sort is an optional result order matching cvs-category's own Sort By values. 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 |
|---|---|---|---|---|---|
| q | string | Yes | Search keyword or phrase | ||
| page | integer | No | 1-indexed page number, default 1 | ||
| sort | string | No | Result sort order, default relevance. 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/search?q=coffee&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.
- The response shape is identical to `cvs-category`'s (`total_count`, `page`, `products`, `facets`) — both endpoints normalize the same underlying product-search data. - `list_price`/`sale_price`/`currency` come from the same pricing data `cvs-category` returns; a product with no price omits these fields. - `facets` lists every filter the current search exposes: `key` is the upstream facet field name (e.g. `brand`, `e_product_type`, `d_priceBucket`), `label` is its display name, and `values` is a list of `{name, count}`. The set of facets varies per search and is not a fixed enum. - CVS.com is only available from US/US-territory egress; a request from an unsupported region, or a request CVS blocks, returns a `503` upstream error rather than an empty or wrong result. - An empty or unrecognized `q`, 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":62,"page":1,"products":[{"id":"459334","title":"CVS Health Ibuprofen 200mg Tablets, 100 CT","url":"https://www.cvs.com/shop/cvs-health-ibuprofen-200mg-tablets-100-ct-prodid-459334","brand":"CVS","currency":"USD","list_price":2.99,"sale_price":2.99}],"facets":[{"key":"brand","label":"Brand","values":[{"name":"Advil","count":22},{"name":"CVS","count":26},{"name":"Motrin","count":14}]}]}} ```
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": 62,
"page": 1,
"products": [
{
"id": "459334",
"title": "CVS Health Ibuprofen 200mg Tablets, 100 CT",
"url": "https://www.cvs.com/shop/cvs-health-ibuprofen-200mg-tablets-100-ct-prodid-459334",
"brand": "CVS",
"currency": "USD",
"list_price": 2.99,
"sale_price": 2.99
}
],
"facets": [
{
"key": "brand",
"label": "Brand",
"values": [
{
"name": "Advil",
"count": 22
},
{
"name": "CVS",
"count": 26
},
{
"name": "Motrin",
"count": 14
}
]
}
]
}
}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/search?q=coffee&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