Endpoint Playground
Lists the drug classes in GoodRx's class directory, such as ACE Inhibitors, with each class name, GoodRx URL and the `slug` used to look up that class. If GoodRx is unreachable, a retained copy up to about a day old is returned and flagged with an `X-Availability-Mode: stale` header.
14 Oct 2026: 658 classes; 0 fields had a value in every checked item and 3 varied between items.
Sample value profiles: name: “A2A Receptor Antagonists” and 499 other values; url: goodrx.com.
curl 'https://api.crawlora.net/api/v1/goodrx/classes' \
-H "x-api-key: $CRAWLORA_API_KEY"No request parameters
{
"code": 0,
"message": "success",
"data": {
"classes": [
{
"name": "ACE Inhibitors",
"slug": "ace-inhibitors",
"url": "https://www.goodrx.com/classes/ace-inhibitors"
}
]
}
}The sample response, schema and code snippets below work without an account. Sending a live request needs an API key.