Wendys API endpoint
Returns one level of Wendy's store directory tree. Omit path for the root, which lists Canada and the United States; pass a child's path to descend (country to states, state to cities, city to stores -- a single-store city links directly to its store page one level early). Each child carries its name, path, URL and, at the country/state/city levels, how many stores sit under that branch. A child with is_store true is a store page rather than another directory level -- pass its path to GET /wendys/store.
/wendys/directoryQuery parameters:
path (optional) — directory path from a previous response's children[].path, e.g. united-states/oh. Omit for the root country index.Response includes path, name, children[], count, source_url, and fetched_at. Each child has name, path, url, store_count (how many stores sit under that branch — present at the country/state/city levels), and is_store.
| Field | Filled in, of 53 checked | Values in the sample |
|---|---|---|
| name | 53 | “Alabama” and 52 other values |
| path | 53 | “united-states/al” and 51 other values |
| url | 53 | locations.wendys.com |
| store_count | 51 | 2 to 473, median 86 |
| is_store | 53 | true in 0 of 53 |
| Parameter | Type | Required | Default | Description | Example |
|---|---|---|---|---|---|
| path | string | No | Directory path from a previous response's children[].path, e.g. united-states/oh. Omit for the root country index. | united-states/oh | |
| x-api-key (header) | string | Yes | API key required |
curl -X GET "https://api.crawlora.net/api/v1/wendys/directory" \ -H "x-api-key: $CRAWLORA_API_KEY"
{
"code": 200,
"msg": "OK",
"data": {
"path": "united-states",
"name": "All Wendy's Locations in United States",
"children": [
{
"name": "Ohio",
"path": "united-states/oh",
"url": "https://locations.wendys.com/united-states/oh",
"store_count": 388,
"is_store": false
}
],
"count": 51,
"source_url": "https://locations.wendys.com/united-states",
"fetched_at": "2026-09-01T00:00:00Z"
}
}Request schema
No body schema
Response schema
#/definitions/wendys.directoryResponseDoc
| Field | Type | Required | Enum | Bounds | Example | Description |
|---|---|---|---|---|---|---|
| code | integer | No | Code is the HTTP status code or a custom code used to indicate the result of the request @example 200 | |||
| data | wendys.DirectoryResponse | No | ||||
| data.children | array | No | ||||
| data.children[].is_store | boolean | No | false | IsStore marks a child that is a store page rather than another directory level -- call /wendys/store with its path. | ||
| data.children[].name | string | No | Ohio | |||
| data.children[].path | string | No | united-states/oh | |||
| data.children[].store_count | integer | No | 388 | StoreCount is how many stores sit under this branch. Present at the country/state/city levels; absent once children are stores themselves. | ||
| data.children[].url | string | No | ||||
| data.count | integer | No | 88 | |||
| data.fetched_at | string | No | ||||
| data.name | string | No | ||||
| data.path | string | No | united-states/oh | |||
| data.source_url | string | No | ||||
| msg | unknown | No | Msg is the message that describes the result of the request @example "Request successful" |
| Status | Description | Schema |
|---|---|---|
| 400 | Bad Request | #/definitions/app.Response |
| 404 | Not Found | #/definitions/app.Response |
| 429 | Too Many Requests | #/definitions/app.Response |
| 503 | Service Unavailable | #/definitions/app.Response |
Use environment variables for secrets and keep Crawlora API keys server-side.
curl -X GET "https://api.crawlora.net/api/v1/wendys/directory" \
-H "x-api-key: $CRAWLORA_API_KEY"