Endpoint Playground
Test Crawlora's Sonic Drive-In Locations 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/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"
}
}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 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.
{
"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"
}
}curl "https://api.crawlora.net/api/v1/sonic/locations" \
-H "x-api-key: $CRAWLORA_API_KEY"