Endpoint Playground
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.
14 Oct 2026: 15 offers; 6 fields had a value in every checked item and 4 varied between items.
Sample value profiles: pharmacy_type: PharmacyChain (13), PharmacyOnlineStore (2); price: 0 to 26.66, median 9; pharmacy_name: “Springmeds” and 14 other values.
curl 'https://api.crawlora.net/api/v1/goodrx/drug-prices?slug=atorvastatin' \
-H "x-api-key: $CRAWLORA_API_KEY"| Parameter | Type | Required | Prefilled value | Description |
|---|---|---|---|---|
| slug | string | Yes | atorvastatin | Drug slug from /goodrx/drugs, /goodrx/class, or /goodrx/condition-drugs |
| label | string | No | Brand or generic label slug from /goodrx/drug-options | |
| form | string | No | Form slug from /goodrx/drug-options | |
| dosage | string | No | Dosage slug from /goodrx/drug-options | |
| quantity | integer | No | Quantity (1-999999); /goodrx/drug-options lists GoodRx's standard quantities | |
| latitude | number | No | Latitude of a US location to price at (requires longitude) | |
| longitude | number | No | Longitude of a US location to price at (requires latitude) | |
| zip_code | string | No | Five-digit ZIP code of that location | |
| state | string | No | Two-letter state code of that location |
{
"code": 0,
"message": "success",
"data": {
"drug": {
"slug": "atorvastatin",
"name": "Atorvastatin",
"url": "https://www.goodrx.com/atorvastatin",
"alternate_name": "Generic Lipitor",
"non_proprietary_name": "atorvastatin",
"drug_class": {
"name": "Statins",
"slug": "statins",
"url": "https://www.goodrx.com/classes/statins"
},
"administration_route": "Oral",
"prescription_status": "PrescriptionOnly"
},
"configuration": {
"drug_id": "33396",
"label": "atorvastatin",
"form": "tablet",
"dosage": "20mg",
"quantity": 30,
"summary": "20mg 30 tablets"
},
"location": {
"city": "Los Angeles",
"state": "CA",
"zip_code": "90017"
},
"offers": [
{
"pharmacy_id": "31240",
"pharmacy_name": "Kroger Pharmacy",
"pharmacy_type": "PharmacyChain",
"pricing_type": "COUPON",
"price": 24.99,
"retail_price": 53.73,
"lowest_price": 24.99
}
],
"options": [
{
"name": "Atorvastatin",
"slug": "atorvastatin",
"type": "GENERIC",
"forms": [
{
"name": "tablet",
"slug": "tablet",
"dosages": [
{
"name": "20mg",
"slug": "20mg",
"drug_id": "33396",
"quantities": [
30,
60,
90,
100,
180
],
"default_quantity": 30
}
]
}
]
}
]
}
}The sample response, schema and code snippets below work without an account. Sending a live request needs an API key.