GoodRx API Overview
Currently, GoodRx offers 4 API options:
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.
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.
You want to display the lowest price for brand-name 40mg Lipitor tablets only.
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 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.
This service queries the GoodRx drug database for the names of drugs available for pricing.
Let's face it, there are sometimes 10 different ways to spell the name of a medication, ranging from the most medically specific to the common abbreviation for generic. The Drug Search API allows you to find the way the GoodRx API represents/spells the drug. Simply send it a string and the API will return the top five suggestions based on how close the query is to the name we use. You can even use it as a spell checker, for example changing "Liptor" to "Lipitor".
OK, I Want To Use Your API.
You'll find guidance and support in our API Documentation section.