Endpoint Playground
Test Crawlora's GoodRx drug information API with realistic prefilled parameters. Generate a cURL request, inspect the expected structured JSON response, and open the full docs or pricing page when you are ready to integrate this public web data extraction endpoint into your application.
curl "https://api.crawlora.net/api/v1/goodrx/drug-info?slug=atorvastatin&audience=people" \
-H "x-api-key: $CRAWLORA_API_KEY"| Parameter | Type | Required | Prefilled value | Description |
|---|---|---|---|---|
| slug | string | Yes | atorvastatin | Drug slug from /goodrx/drugs (or /goodrx/pet-medications for audience=pets) |
| audience | string | No | people | people for the general page, pets for the cat and dog page |
{
"code": 0,
"message": "success",
"data": {
"slug": "atorvastatin",
"title": "Lipitor, Atorvaliq (atorvastatin): Uses, Side Effects, Dosage & More",
"url": "https://www.goodrx.com/atorvastatin/what-is",
"authors": [
"Robert Chad Hakim, PharmD"
],
"date_modified": "2026-02-09T18:33:51.773Z",
"sections": [
{
"id": "dosage",
"title": "Atorvastatin (Lipitor) dosage",
"items": [
"Adults: The typical starting dose ranges from 10 mg to 20 mg by mouth once daily."
]
}
],
"alternatives": [
{
"name": "Lipitor vs. Zetia",
"slug": "lipitor-vs-zetia",
"url": "https://www.goodrx.com/compare/lipitor-vs-zetia"
}
]
}
}Public Playground
Sample responses, schemas, request previews, and code snippets are visible before sign in. Create an account when you are ready to save an API key and run authenticated requests.
Returns a drug's GoodRx information page as titled sections (uses, side effects, pros and cons, pharmacist tips, risks and warnings, dosage, interactions, contraindications, alternatives, pill images, references, and common questions), plus authors, publish and review dates, FAQs, and comparison links to alternatives. With audience=pets it returns the drug's cat and dog page (veterinary uses, side effects, and dosing) for drugs listed by /goodrx/pet-medications; other drugs return 404. Requests use US egress because GoodRx is US-only.
{
"code": 0,
"message": "success",
"data": {
"slug": "atorvastatin",
"title": "Lipitor, Atorvaliq (atorvastatin): Uses, Side Effects, Dosage & More",
"url": "https://www.goodrx.com/atorvastatin/what-is",
"authors": [
"Robert Chad Hakim, PharmD"
],
"date_modified": "2026-02-09T18:33:51.773Z",
"sections": [
{
"id": "dosage",
"title": "Atorvastatin (Lipitor) dosage",
"items": [
"Adults: The typical starting dose ranges from 10 mg to 20 mg by mouth once daily."
]
}
],
"alternatives": [
{
"name": "Lipitor vs. Zetia",
"slug": "lipitor-vs-zetia",
"url": "https://www.goodrx.com/compare/lipitor-vs-zetia"
}
]
}
}curl "https://api.crawlora.net/api/v1/goodrx/drug-info?slug=<slug>" \
-H "x-api-key: $CRAWLORA_API_KEY"