sonic_locations
List Sonic Drive-In restaurants with ready-made store paths, filter by state or city, and get address parts for each location.
Instructions
List Sonic Drive-In restaurants with ready-made store paths. 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.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| city | No | City slug to filter by, from /sonic/directory | |
| page | No | 1-based page number. Defaults to 1. | |
| state | No | Two-letter state or province code to filter by | |
| page_size | No | Entries per page, 1-500. Defaults to 100. |