Endpoint Playground
Test Crawlora's GoodRx Health article 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/health-article?path=well-being%2Fsleep%2Fcbd-for-sleep" \
-H "x-api-key: $CRAWLORA_API_KEY"| Parameter | Type | Required | Prefilled value | Description |
|---|---|---|---|---|
| path | string | Yes | well-being/sleep/cbd-for-sleep | Article path from /goodrx/health-articles (or a www.goodrx.com article URL) |
{
"code": 0,
"message": "success",
"data": {
"path": "well-being/sleep/cbd-for-sleep",
"url": "https://www.goodrx.com/well-being/sleep/cbd-for-sleep",
"section": "well-being",
"topic": "sleep",
"slug": "cbd-for-sleep",
"headline": "CBD for Sleep: Can CBD Help You Relax and Fall Asleep?",
"authors": [
"Sarah Gupta, MD"
],
"date_published": "2024-01-10T15:00:00.000Z",
"tags": [
"Sleep"
],
"key_takeaways": [
"Some research suggests CBD may help with sleep."
],
"sections": [
{
"title": "What is CBD?",
"paragraphs": [
"CBD (cannabidiol) is a compound found in cannabis."
],
"lists": []
}
],
"references": [
"Babson, K. A., et al. (2017). Cannabis, cannabinoids, and sleep."
]
}
}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 article: headline, description, authors, medical reviewers, published and modified dates, category tag, key takeaways, the body as headed sections of paragraphs and lists, FAQs, references, and related medications. Requests use US egress because GoodRx is US-only.
{
"code": 0,
"message": "success",
"data": {
"path": "well-being/sleep/cbd-for-sleep",
"url": "https://www.goodrx.com/well-being/sleep/cbd-for-sleep",
"section": "well-being",
"topic": "sleep",
"slug": "cbd-for-sleep",
"headline": "CBD for Sleep: Can CBD Help You Relax and Fall Asleep?",
"authors": [
"Sarah Gupta, MD"
],
"date_published": "2024-01-10T15:00:00.000Z",
"tags": [
"Sleep"
],
"key_takeaways": [
"Some research suggests CBD may help with sleep."
],
"sections": [
{
"title": "What is CBD?",
"paragraphs": [
"CBD (cannabidiol) is a compound found in cannabis."
],
"lists": []
}
],
"references": [
"Babson, K. A., et al. (2017). Cannabis, cannabinoids, and sleep."
]
}
}curl "https://api.crawlora.net/api/v1/goodrx/health-article?path=<path>" \
-H "x-api-key: $CRAWLORA_API_KEY"