Get GoodRx drug prices by pharmacy
Returns GoodRx coupon, membership, and mail-order prices by pharmacy for one drug and prescription (brand/generic label, form, dosage, quantity), plus the drug summary, the priced configuration, the location prices were computed for, and every available label/form/dosage/quantity. Omit label/form/dosage/quantity for GoodRx's default prescription; values must come from /goodrx/drug-options. Pass latitude and longitude (optionally zip_code and state) to price at a US location; otherwise prices reflect a US location chosen by GoodRx. Requests use US egress because GoodRx is US-only.
Request
- Base URL: https://api.crawlora.net/api/v1
- URL: https://api.crawlora.net/api/v1/goodrx/drug-prices
- Auth: API key in header x-api-key
Query parameters
Drug slug from /goodrx/drugs, /goodrx/class, or /goodrx/condition-drugs
Brand or generic label slug from /goodrx/drug-options
Form slug from /goodrx/drug-options
Dosage slug from /goodrx/drug-options
Quantity (1-999999); /goodrx/drug-options lists GoodRx's standard quantities
Latitude of a US location to price at (requires longitude)
Longitude of a US location to price at (requires latitude)
Five-digit ZIP code of that location
Two-letter state code of that location
Headers
API key required
Response
OK
Changes
No recorded changes to this operation across all 2 revisions of this API.