Endpoint Playground
Test Crawlora's Sonic Drive-In Directory 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/directory" \
-H "x-api-key: $CRAWLORA_API_KEY"No request parameters
{
"code": 200,
"msg": "OK",
"data": {
"total_count": 3364,
"countries": [
{
"country_code": "US",
"country_name": "United States",
"count": 3364,
"states": [
{
"code": "AL",
"name": "Alabama",
"count": 95,
"cities": [
{
"name": "Albertville",
"slug": "albertville",
"count": 1
}
]
},
{
"code": "WY",
"name": "Wyoming",
"count": 6,
"cities": [
{
"name": "Cheyenne",
"slug": "cheyenne",
"count": 2
}
]
}
]
}
],
"source_url": "https://api-idp.sonicdrivein.com/snc/web-exp-api/v1/location/list/details",
"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 directory as a country to state to city tree, with a restaurant count at every level. Use it to discover which states and cities have restaurants before calling GET /sonic/locations or GET /sonic/nearby. Each city carries both its display name and the slug that composes into a store path. Counts here describe listed restaurants and are internally consistent (the city counts sum to total_count); GET /sonic/locations enumerates a larger set of store pages, so the two totals intentionally differ.
{
"code": 200,
"msg": "OK",
"data": {
"total_count": 3364,
"countries": [
{
"country_code": "US",
"country_name": "United States",
"count": 3364,
"states": [
{
"code": "AL",
"name": "Alabama",
"count": 95,
"cities": [
{
"name": "Albertville",
"slug": "albertville",
"count": 1
}
]
},
{
"code": "WY",
"name": "Wyoming",
"count": 6,
"cities": [
{
"name": "Cheyenne",
"slug": "cheyenne",
"count": 2
}
]
}
]
}
],
"source_url": "https://api-idp.sonicdrivein.com/snc/web-exp-api/v1/location/list/details",
"fetched_at": "2026-09-06T12:00:00Z"
}
}curl "https://api.crawlora.net/api/v1/sonic/directory" \
-H "x-api-key: $CRAWLORA_API_KEY"