Healthgrades API endpoint
Returns location autocomplete suggestions for a city, state, ZIP code, or other free-text location. Private upstream metadata and coordinates are omitted.
/healthgrades/locationsQuery parameters:
term (required): free-text city, state, ZIP code, or location query; maximum 120 characters.The response contains Healthgrades' dynamic location suggestion group. Entity metadata, including coordinates and internal identifiers, is omitted.
| Field | Filled in, of 1 checked | Values in the sample |
|---|---|---|
| category | 1 | |
| title | 1 | |
| suggestions | 1 | median 5 entries |
| Parameter | Type | Required | Default | Description | Example |
|---|---|---|---|---|---|
| term | string | Yes | City, state, or ZIP code | Boston | |
| x-api-key (header) | string | Yes | API key required |
curl -X GET "https://api.crawlora.net/api/v1/healthgrades/locations?term=Boston" \ -H "x-api-key: $CRAWLORA_API_KEY"
{
"code": 0,
"message": "success",
"data": {
"groups": [
{
"category": "Location",
"suggestions": [
{
"label": "Boston, MA",
"value": "Boston, MA"
}
]
}
]
}
}Request schema
No body schema
Response schema
#/definitions/healthgrades.suggestionsResponseDoc
| Field | Type | Required | Enum | Bounds | Example | Description |
|---|---|---|---|---|---|---|
| data | healthgrades.SuggestionResponse | No | ||||
| data.groups | array | No | ||||
| data.groups[].category | string | No | ||||
| data.groups[].suggestions | array | No | ||||
| data.groups[].suggestions[].label | string | No | ||||
| data.groups[].suggestions[].value | string | No | ||||
| data.groups[].title | string | No |
| Status | Description | Schema |
|---|---|---|
| 400 | Bad Request | #/definitions/app.Response |
| 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/healthgrades/locations?term=Boston" \
-H "x-api-key: $CRAWLORA_API_KEY"