goodrx_drug_prices
Retrieve GoodRx drug prices by pharmacy for a specific prescription, including coupon, membership, and mail-order costs. Provide drug details and location-based pricing for US pharmacies.
Instructions
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.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| form | No | Form slug from /goodrx/drug-options | |
| slug | Yes | Drug slug from /goodrx/drugs, /goodrx/class, or /goodrx/condition-drugs | |
| label | No | Brand or generic label slug from /goodrx/drug-options | |
| state | No | Two-letter state code of that location | |
| dosage | No | Dosage slug from /goodrx/drug-options | |
| latitude | No | Latitude of a US location to price at (requires longitude) | |
| quantity | No | Quantity (1-999999); /goodrx/drug-options lists GoodRx's standard quantities | |
| zip_code | No | Five-digit ZIP code of that location | |
| longitude | No | Longitude of a US location to price at (requires latitude) |