CVS store locator
Returns nearby CVS store locations for a ZIP code, a free-text address/city/state, 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 address (a free-text location such as a city, state, or street address) or latitude and longitude together. When more than one is supplied, zip wins, then address, then latitude/longitude. Optionally narrow results to stores carrying one specific service via the service param (the same code vocabulary the response's services field uses); only one service value is accepted per request. 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.
Request
- Base URL: https://api.crawlora.net/api/v1
- URL: https://api.crawlora.net/api/v1/cvs/store-locator
- Auth: API key in header x-api-key
Query parameters
5-digit US ZIP code, e.g. \
Free-text location -- a city, state, or street address, e.g. \
Latitude, used together with longitude when zip and address are not supplied
Longitude, used together with latitude when zip and address are not supplied
Narrow results to stores carrying one specific service
Headers
API key required
Response
OK
Example response
{
"code": 200,
"data": {
"stores": [
{
"address_line1": "9045 WILSHIRE BOULEVARD",
"city": "BEVERLY HILLS",
"distance_miles": 1.12,
"fax": "3102736289",
"latitude": 34.06741,
"longitude": -118.38934,
"phone": "3102735252",
"state": "CA",
"store_hours": [
{
"close_time": "11:00 PM",
"open_time": "08:00 AM",
"weekday": "MON"
}
],
"store_id": "9767",
"time_zone": "PDT",
"zip": "90211"
}
],
"total_count": 5
},
"msg": "OK"
}Changes
No recorded changes to this operation across all 2 revisions of this API.