Endpoint Playground
Test Crawlora's GoodRx health question and answer 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/answer?slug=is-viagra-available-over-the-counter" \
-H "x-api-key: $CRAWLORA_API_KEY"| Parameter | Type | Required | Prefilled value | Description |
|---|---|---|---|---|
| slug | string | Yes | is-viagra-available-over-the-counter | Question slug from /goodrx/answers |
{
"code": 0,
"message": "success",
"data": {
"slug": "is-viagra-available-over-the-counter",
"url": "https://www.goodrx.com/answers/is-viagra-available-over-the-counter",
"question": "Is Viagra available over the counter?",
"answer": "No, Viagra (sildenafil) is not available over the counter.",
"paragraphs": [
"You will need a prescription from a licensed healthcare professional to get Viagra or its generic form, sildenafil."
],
"drug": {
"name": "Sildenafil",
"slug": "sildenafil",
"info_url": "https://www.goodrx.com/sildenafil/what-is"
},
"more_questions": [
{
"question": "Is Viagra safe?",
"slug": "is-viagra-safe",
"url": "https://www.goodrx.com/answers/is-viagra-safe"
}
],
"related_drugs": [
{
"name": "Cialis",
"slug": "cialis",
"url": "https://www.goodrx.com/cialis"
}
]
}
}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 one GoodRx health question with its short answer, supporting paragraphs, the source article, the drug it is about, more questions about that drug, related articles, and related medications. Use a slug from /goodrx/answers.
{
"code": 0,
"message": "success",
"data": {
"slug": "is-viagra-available-over-the-counter",
"url": "https://www.goodrx.com/answers/is-viagra-available-over-the-counter",
"question": "Is Viagra available over the counter?",
"answer": "No, Viagra (sildenafil) is not available over the counter.",
"paragraphs": [
"You will need a prescription from a licensed healthcare professional to get Viagra or its generic form, sildenafil."
],
"drug": {
"name": "Sildenafil",
"slug": "sildenafil",
"info_url": "https://www.goodrx.com/sildenafil/what-is"
},
"more_questions": [
{
"question": "Is Viagra safe?",
"slug": "is-viagra-safe",
"url": "https://www.goodrx.com/answers/is-viagra-safe"
}
],
"related_drugs": [
{
"name": "Cialis",
"slug": "cialis",
"url": "https://www.goodrx.com/cialis"
}
]
}
}curl "https://api.crawlora.net/api/v1/goodrx/answer?slug=<slug>" \
-H "x-api-key: $CRAWLORA_API_KEY"