/goodrx/drugs/prices
Get pharmacy prices for a prescription drug in a US ZIP code: for each pharmacy the GoodRx coupon price, the retail price and the lowest available price, plus the drug form and dosage that was priced.
Price: 20 credits
💡 AI Hint: Compare prescription drug prices across pharmacies in a specific US ZIP code. Provide the drug slug (e.g. ‘atorvastatin’) and a 5-digit ZIP. Optionally narrow by form, dosage and quantity. Returns a list of pharmacies, each with pharmacy_name, pharmacy_id, pharmacy_image, price (GoodRx coupon price), retail_price and lowest_price (plus whether the lowest price requires a paid subscription tier). This is GoodRx’s core price-comparison data.
⚠️ Common errors: 412: Drug or location not found (well-formed but nonexistent drug slug, or no prices available)
Authorizations
API token from the dashboard
Headers
Body
Drug slug or a GoodRx drug URL
1"atorvastatin"
"https://www.goodrx.com/atorvastatin"
US ZIP code to price the prescription in
1"10001"
"90210"
Max number of pharmacy prices to return
x >= 1Max scrapping execution timeout (in seconds)
20 <= x <= 1500Drug form (e.g. tablet, capsule)
"tablet"
Drug dosage (e.g. 20mg)
"20mg"
Number of units to price
x > 030
Response
Successful Response