Pharmacies
Pharmacies by Chain
Inside Rx provides an endpoint that will return pharmacies found in the region specified by zip code for a given chain. This is ideal in situations where data about a chain's specific locations in a region is desired. An X-API-KEY is used with the pharmacies endpoint to automatically configure metadata for the request. This ensures that pharmacies are associated with the correct group for the provisioned account.
HTTP Request
HTTP Query Params
Response Types
Response Attributes
The following attributes are returned as an object within the response body. Dot notation is used to represent nested objects. Square bracket notation represents items that are nested within an array.
Example CURL Request
Where x-api-key
is the private key provided when provisioning an account. The example key above is for demonstration purposes.
Example JSON Response
Example JSON Response for Missing or Incorrect Request Data
Pharmacy Types
The following pharmacy types can be returned.
Response Attribute Objects
Retail Pharmacy Object
Object representing a retail pharmacy with a physical store in the region containing the zip code provided.
Pagination Object
Pagination object to specify the details of the pharmacies found.