CVS

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.

get/cvs/store-locator

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

zipstring

5-digit US ZIP code, e.g. \

addressstring

Free-text location -- a city, state, or street address, e.g. \

latitudenumber

Latitude, used together with longitude when zip and address are not supplied

longitudenumber

Longitude, used together with latitude when zip and address are not supplied

service'HH_HealthHub_Ind' | 'MC_MinuteClinic_Ind' | 'HS_OakStreetHealth_Ind' | 'IM_Immunization_Ind' | 'RX_OTCH_Ind' | 'IM_Covax_Ind' | 'CL_CovidTest_Ind' | 'RX_24Hours_Ind' | 'RX_DriveThru_Ind' | 'RX_Pharmacy_Ind' | 'RX_DrugDisposal_Ind' | 'RS_24Hours_Ind' | 'PH_Photo_Ind' | 'RS_AcceptsWic_Ind' | 'RS_AcceptsSnap_Ind' | 'GN_UPSAccessPoint_Ind' | 'RS_BOPIS_Ind' | 'GN_YMas_Ind' | 'BT_BeautyIRL_Ind' | 'GN_SmileDirectClub_Ind'

Narrow results to stores carrying one specific service

Headers

x-api-keystring required

API key required

Response

OK

codeinteger
msgstring

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.