Endpoint Playground
Returns every brand and generic label, dosage form, strength, and quantity GoodRx prices for one drug, with GoodRx's default prescription. Use these values for /goodrx/drug-prices.
14 Oct 2026: 2 options; 4 fields had a value in every checked item.
Sample value profiles: name: “Lipitor” and 1 other value; forms: median 1 entry; type: “BRAND” and 1 other value.
curl 'https://api.crawlora.net/api/v1/goodrx/drug-options?slug=atorvastatin' \
-H "x-api-key: $CRAWLORA_API_KEY"| Parameter | Type | Required | Prefilled value | Description |
|---|---|---|---|---|
| slug | string | Yes | atorvastatin | Drug slug from /goodrx/drugs |
{
"code": 0,
"message": "success",
"data": {
"drug": {
"slug": "atorvastatin",
"name": "Atorvastatin",
"url": "https://www.goodrx.com/atorvastatin"
},
"default": {
"drug_id": "33396",
"label": "atorvastatin",
"form": "tablet",
"dosage": "20mg",
"quantity": 30
},
"options": [
{
"name": "Lipitor",
"slug": "lipitor",
"type": "BRAND",
"forms": [
{
"name": "tablet",
"slug": "tablet",
"dosages": [
{
"name": "10mg",
"slug": "10mg",
"drug_id": "1537",
"quantities": [
30,
36,
60,
90
],
"default_quantity": 90
}
]
}
]
}
]
}
}The sample response, schema and code snippets below work without an account. Sending a live request needs an API key.