Endpoint Playground
Returns Sonic Drive-In's restaurant listing one page at a time, each entry already split into its country, state, city and address parts plus a ready-made path value that GET /sonic/store takes -- so enumerating restaurants needs no path parsing. Filter by state and/or city to narrow the list; city slugs come from GET /sonic/directory. Results are sorted by path so paging is reproducible. This listing covers more store pages than GET /sonic/directory counts, since the directory counts listed restaurants while this enumerates every published store page; a filter that matches nothing returns an empty locations array with total 0, not an error. If Sonic's live store-locator service refuses the request, the list is built from Sonic's public store sitemap instead (same entry shape; it can omit stores without a published page, and source_url shows which source answered).
14 Oct 2026: 6 locations; 6 fields had a value in every checked item.
Sample value profiles: path: “locations/us/wy/cheyenne/125-s--greeley-highway/store-4694” and 5 other values.
curl 'https://api.crawlora.net/api/v1/sonic/locations' \
-H "x-api-key: $CRAWLORA_API_KEY"| Parameter | Type | Required | Prefilled value | Description |
|---|---|---|---|---|
| state | string | No | Two-letter state or province code to filter by | |
| city | string | No | City slug to filter by, from /sonic/directory | |
| page | integer | No | 1-based page number. Defaults to 1. | |
| page_size | integer | No | Entries per page, 1-500. Defaults to 100. |
{
"code": 200,
"msg": "OK",
"data": {
"state": "WY",
"city": "cheyenne",
"page": 1,
"page_size": 100,
"total": 2,
"total_pages": 1,
"count": 2,
"locations": [
{
"store_id": "4694",
"country_code": "US",
"state_code": "WY",
"city_slug": "cheyenne",
"address_slug": "125-s--greeley-highway",
"path": "locations/us/wy/cheyenne/125-s--greeley-highway/store-4694"
},
{
"store_id": "4521",
"country_code": "US",
"state_code": "WY",
"city_slug": "cheyenne",
"address_slug": "2540-dell-range-blvd",
"path": "locations/us/wy/cheyenne/2540-dell-range-blvd/store-4521"
}
],
"source_url": "https://api-idp.sonicdrivein.com/snc/web-exp-api/v1/location/list/urls",
"fetched_at": "2026-09-06T12:00:00Z"
}
}The sample response, schema and code snippets below work without an account. Sending a live request needs an API key.