Endpoint Playground
Returns one level of Five Guys' US restaurant directory: the 50 states at the root, one state's cities when path is a state (e.g. `il`), and that city's restaurants when path is a city (e.g. `il/chicago`). Each child carries the path to pass back as this endpoint's `path`, and a `location_count` of how many restaurants sit under it. At the deepest level children are restaurants themselves (`is_location` true) -- pass their path to GET /fiveguys/store for the full profile. Use this to enumerate or browse locations; use GET /fiveguys/search or /fiveguys/nearby to find them by query or coordinate instead.
14 Oct 2026: 34 children; 5 fields had a value in every checked item.
Sample value profiles: location_count: 1 to 5, median 1; name: “Evergreen Park” and 33 other values; url: restaurants.fiveguys.com.
curl 'https://api.crawlora.net/api/v1/fiveguys/directory' \
-H "x-api-key: $CRAWLORA_API_KEY"| Parameter | Type | Required | Prefilled value | Description |
|---|---|---|---|---|
| path | string | No | Optional. Directory path from a previous response's children[].path, e.g. \ |
{
"code": 200,
"msg": "OK",
"data": {
"path": "il",
"name": "Illinois",
"children": [
{
"name": "Chicago",
"path": "il/chicago",
"url": "https://restaurants.fiveguys.com/il/chicago",
"location_count": 5,
"is_location": false
},
{
"name": "Peoria",
"path": "il/peoria",
"url": "https://restaurants.fiveguys.com/il/peoria",
"location_count": 1,
"is_location": false
}
],
"count": 2,
"source_url": "https://restaurants.fiveguys.com/il",
"fetched_at": "2026-09-05T04:00:00Z"
}
}The sample response, schema and code snippets below work without an account. Sending a live request needs an API key.