Introduction
Welcome to the Inside Rx API. Our endpoints will allow you to access information on patient eligibility, medication pricing, medication related information, pharmacy data, and more.
While some of these processes are highly complex, our API is designed to give you highly accurate and up-to-date information.
Authentication
Inside Rx endpoints support the use of an X-API-KEY. Accounts are provisioned with an API key which is then used as an X-API-KEY header to pass along your API key and automatically configure validations for each endpoint.
Endpoints also require the header of Content-Type. Specifically, it requires Content-Type: application/json.
Using an X-API-KEY
You may use your provisioned key in multiple ways.
HTTP Request
If you are making an HTTP request, you can pass your API key in as an X-API-KEY header for the call. Consider the following example from the Eligibility Check endpoint.
POST https://services.insiderx.com/eligibility/v1/check HTTP/1.1
Content-Type: application/json
x-api-key: zW7PKpzy6X7UHlI4NymTG8QmYhSlFwVd44xapRCtCurl Request
You may also pass your API key in as an X-API-KEY header while using a curl request.
curl https://services.insiderx.com/eligibility/v1/check \
-H "Content-Type: application/json" \
-H "x-api-key: zW7PKpzy6X7UHlI4NymTG8QmYhSlFwVd44xapRCt" \
-d memberId="AB12345678" \
-d group="SAVE11" \
-d firstName="John" \
-d lastName="Doe" \
-d gender="male" \
-d dob="1983-03-31" \
-d address[zip]="78660" \
-d medication[ndc]="1234567901" \
-d medication[quantity]=30.0Endpoint Overview
| Endpoint | Capabilities |
|---|---|
| Eligibility | Run an eligibility check for a patient or enroll a card into an eligibility program. |
| Medication Prices | Return medication pricing for a set of pharmacy NPIs or pharmacy chains in a given region |
| Membership Cards | Provide users with membership cards via JSON. |
| Pharmacies | Return a list of pharmacies for a given chain found in a specified region. |