GoodRx API endpoint
Lists the drugs that have a GoodRx information page for cats and dogs (21 on 2026-10-03). Each entry has the drug `slug` and the URL of its pet page; the `slug` can be passed to the drug information lookup with `audience=pets`. A retained copy up to about a day old is returned, flagged `X-Availability-Mode: stale`, if GoodRx is unreachable.
/goodrx/pet-medicationsNo query parameters.
Returns the drugs that have a GoodRx cat and dog information page (21 on 2026-10-03), each with its slug and pet page url. Use a slug with /api/v1/goodrx/drug-info and audience=pets.
Recent results are reused: a verified response is served for up to 30 minutes, and GoodRx refuses automated traffic for an hour or more at times. When every live attempt is refused, the last verified response (at most about a day old) is returned instead of an error, with X-Availability-Mode: stale and its age in X-Availability-Last-Success-Age-Seconds. Check those headers to tell a retained copy from a live one. A response returned as stale is billed 1 credit instead of the endpoint's full price.
| Field | Filled in, of 21 checked | Values in the sample |
|---|---|---|
| slug | 21 | |
| url | 21 | goodrx.com |
| Parameter | Type | Required | Default | Description | Example |
|---|---|---|---|---|---|
| x-api-key (header) | string | Yes | API key required |
curl -X GET "https://api.crawlora.net/api/v1/goodrx/pet-medications" \ -H "x-api-key: $CRAWLORA_API_KEY"
{
"code": 0,
"message": "success",
"data": {
"drugs": [
{
"slug": "trazodone",
"url": "https://www.goodrx.com/trazodone/what-is/pets"
}
]
}
}Request schema
No body schema
Response schema
#/definitions/goodrx.petMedicationsResponseDoc
| Field | Type | Required | Enum | Bounds | Example | Description |
|---|---|---|---|---|---|---|
| data | goodrx.PetMedicationsResponse | No | ||||
| data.drugs | array | No | ||||
| data.drugs[].slug | string | No | ||||
| data.drugs[].url | string | No |
| Status | Description | Schema |
|---|---|---|
| 429 | Too Many Requests | #/definitions/app.Response |
| 503 | Service Unavailable | #/definitions/app.Response |
Use environment variables for secrets and keep Crawlora API keys server-side.
curl -X GET "https://api.crawlora.net/api/v1/goodrx/pet-medications" \
-H "x-api-key: $CRAWLORA_API_KEY"