GoodRx API Overview
Currently, GoodRx offers 3 API options:
The Fair Price API
This price represents the maximum price that a consumer, with or without insurance, should pay for this drug at a local pharmacy.
If you're interested, here's more details. Pharmacies offer a “sticker” (they call them “usual and customary” or “U&C”) prices which an uninsured consumer will pay if they have no other available discounts. They also offer a variety of lower prices for the exact same drug, but to get them, consumers need to have insurance or take advantage of available discounts, membership programs, or price-matching policies. Our “fair price” is a price that you can use as a guide to know the maximum amount you should be paying - meaning, if you're being charged more, you should use GoodRx to search available discounts and lower your price.
The fair price drug API provides high-level cost guidance around a specific prescription drug. At it's most basic, this API provides a single fair price for the most-prescribed form, dosage and quantity of a specific drug.
Use Case:
You want to provide guidance on the approximate cash price of Lipitor. GoodRx knows that the most popular form of Lipitor is 30 tablets of atorvastatin 20mg; thus, the API returns the lowest price for that specific combination.
However, you may also modify your query to ask for a specific prescription drug form, dosage, brand or generic version, and/or quantity.
Use Case:
You want to display the lowest price for brand-name 40mg Lipitor tablets only.
The Low Price API
The Low Price API provides the lowest cash price for a given prescription drug from a basket of nationwide pharmacy chains, including Walmart, CVS, Walgreens, CostCo, RiteAid, and others. (These chains represent more than 80% of retail drug purchases in America.)
Like the Fair Price API, a request can be made for either the most-prescribed version of that drug, or you may specify the drug form, dosage, brand or generic version, and/or quantity.)
The Price Comparison API
The Price Comparison API provides the 3 lowest cash prices for a given prescription drug from a basket of nationwide pharmacy chains, including Walmart, CVS, Walgreens, CostCo, RiteAid, and others. (These chains represent more than 80% of retail drug purchases in America.)
Like the other APIs, a request can be made for either the most-prescribed version of that drug, or you may specify the drug form, dosage, brand or generic version, and/or quantity.)
What Is A Cash Price?
The GoodRx “cash price“ is a price that a person without insurance (or choosing not to use their insurance) would receive at the pharmacy. Many of the prices we provide will reflect discounts that a cash-paying consumer can receive through a free drug discount program, a pharmacy discount program/club, a generic drug program or other product. More information on how a consumer can buy at that price can be found on GoodRx, which is why it is imperative that the price include a link back to GoodRx for the consumer to learn how they can actually purchase their prescription for that price at the pharmacy.
OK, I Want To Use Your API.
First, read our API Terms of Service and Branding Requirements. Then, apply for an API key.
You'll find guidance and support in our API Documentation section.
If this all sounds too complicated, check out our widgets or contact us.