CVS API endpoint
Use Crawlora's CVS store locator 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/store-locatorReturns nearby CVS store locations for a ZIP code or a latitude/longitude pair: address, phone, fax, distance, and retail store hours, plus a has_pharmacy existence flag and a list of general service indicators (e.g. photo, ATM, same-day delivery). Covers general store info only -- this does not return pharmacy hours, pharmacy phone, prescription data, or any patient-specific information. zip is a 5-digit US ZIP code; alternatively supply latitude and longitude together. 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 |
|---|---|---|---|---|---|
| zip | string | No | 5-digit US ZIP code, e.g. \ | ||
| latitude | number | No | Latitude, used together with longitude when zip is not supplied | ||
| longitude | number | No | Longitude, used together with latitude when zip is not supplied | ||
| x-api-key (header) | string | Yes | API key required |
curl -X GET "https://api.crawlora.net/api/v1/cvs/store-locator" \ -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.
- `store_hours` is the retail (front-of-store) weekly schedule only. - `has_pharmacy` is a plain existence flag (does this location have a pharmacy counter) — no pharmacy hours, pharmacy phone, or prescription data is returned. - `services` is the raw list of upstream service-indicator codes for the store (e.g. `PH_Photo_Ind`, `atmInd`, `RS_BOPIS_Ind`, `RS_SameDayDelivery_Ind`), passed through as-is rather than translated to friendly names. - 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. - Missing both `zip` and `latitude`/`longitude`, or an invalid ZIP, returns a `400` invalid-parameter error before any upstream request is made. Example response: ```json {"code":200,"msg":"OK","data":{"total_count":5,"stores":[{"store_id":"9767","address_line1":"9045 WILSHIRE BOULEVARD","city":"BEVERLY HILLS","state":"CA","zip":"90211","phone":"3102735252","fax":"3102736289","latitude":34.06741,"longitude":-118.38934,"distance_miles":1.12,"time_zone":"PDT","store_hours":[{"weekday":"MON","open_time":"08:00 AM","close_time":"11:00 PM"}],"has_pharmacy":true,"services":["RX_Pharmacy_Ind","PH_Photo_Ind","atmInd","RS_BOPIS_Ind"]}]}} ```
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": 5,
"stores": [
{
"store_id": "9767",
"address_line1": "9045 WILSHIRE BOULEVARD",
"city": "BEVERLY HILLS",
"state": "CA",
"zip": "90211",
"phone": "3102735252",
"fax": "3102736289",
"latitude": 34.06741,
"longitude": -118.38934,
"distance_miles": 1.12,
"time_zone": "PDT",
"store_hours": [
{
"weekday": "MON",
"open_time": "08:00 AM",
"close_time": "11:00 PM"
}
],
"has_pharmacy": true,
"services": [
"RX_Pharmacy_Ind",
"PH_Photo_Ind",
"atmInd",
"RS_BOPIS_Ind"
]
}
]
}
}Request schema
No body schema
Response schema
#/definitions/cvs.storesResponseDoc
| Field | Type | Required | Enum | Bounds | Example | Description |
|---|---|---|---|---|---|---|
| code | integer | No | 200 | |||
| data | cvs.StoresResponse | No | ||||
| data.stores | array | No | ||||
| data.stores[].address_line1 | string | No | 9045 WILSHIRE BOULEVARD | |||
| data.stores[].city | string | No | BEVERLY HILLS | |||
| data.stores[].distance_miles | number | No | 1.12 | |||
| data.stores[].fax | string | No | 3102736289 | |||
| data.stores[].has_pharmacy | boolean | No | HasPharmacy reflects only whether this location has a pharmacy counter -- a fact-of-existence flag, not pharmacy hours, phone, or any prescription-specific data. See the package doc comment. | |||
| data.stores[].latitude | number | No | 34.06741 | |||
| data.stores[].longitude | number | No | -118.38934 | |||
| data.stores[].phone | string | No | 3102735252 | |||
| data.stores[].services | array | No | Services is the raw list of upstream service-indicator codes for this store (e.g. "PH_Photo_Ind", "atmInd", "RS_BOPIS_Ind"), passed through as-is rather than translated to friendly names. | |||
| data.stores[].state | string | No | CA | |||
| data.stores[].store_hours | array | No | StoreHours is the retail (front-of-store) weekly schedule only. | |||
| data.stores[].store_hours[].close_time | string | No | 11:00 PM | |||
| data.stores[].store_hours[].open_time | string | No | 08:00 AM | |||
| data.stores[].store_hours[].weekday | string | No | MON | |||
| data.stores[].store_id | string | No | 9767 | |||
| data.stores[].time_zone | string | No | PDT | |||
| data.stores[].zip | string | No | 90211 | |||
| data.total_count | integer | No | 5 | |||
| 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/store-locator" \
-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