Endpoint Playground
Test Crawlora's GoodRx drug comparisons 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/comparisons" \
-H "x-api-key: $CRAWLORA_API_KEY"No request parameters
{
"code": 0,
"message": "success",
"data": {
"topics": [
{
"name": "ADHD",
"comparisons": [
{
"name": "Ritalin vs. Adderall",
"slug": "ritalin-vs-adderall",
"url": "https://www.goodrx.com/compare/ritalin-vs-adderall"
}
]
}
]
}
}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 GoodRx's head-to-head drug comparisons grouped by health topic, with slugs for /goodrx/comparison.
{
"code": 0,
"message": "success",
"data": {
"topics": [
{
"name": "ADHD",
"comparisons": [
{
"name": "Ritalin vs. Adderall",
"slug": "ritalin-vs-adderall",
"url": "https://www.goodrx.com/compare/ritalin-vs-adderall"
}
]
}
]
}
}curl "https://api.crawlora.net/api/v1/goodrx/comparisons" \
-H "x-api-key: $CRAWLORA_API_KEY"