---
title: "Browse the Wendy's store directory"
method: GET
path: "/wendys/directory"
tags: ["Wendys"]
---

# Browse the Wendy's store directory

`GET /wendys/directory`

## Request

- Base URL: `https://api.crawlora.net/api/v1`
- URL: `https://api.crawlora.net/api/v1/wendys/directory`
- Auth: API key in header `x-api-key`

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.

## Query parameters

- `path` string

## Headers

- `x-api-key` string, required

## Response `200`

OK

- WendysDirectoryResponseDoc
  - `code` integer: Code is the HTTP status code or a custom code used to indicate the result of the request @example 200
  - `data` WendysDirectoryResponse
    - `children` WendysDirectoryChild[]
      - `is_store` boolean: IsStore marks a child that is a store page rather than another directory level -- call /wendys/store with its path.
      - `name` string
      - `path` string
      - `store_count` integer: StoreCount is how many stores sit under this branch. Present at the country/state/city levels; absent once children are stores themselves.
      - `url` string
    - `count` integer
    - `fetched_at` string
    - `name` string
    - `path` string
    - `source_url` string
  - `msg` unknown

## Other responses

- `400`: Bad Request
- `404`: Not Found
- `429`: Too Many Requests
- `503`: Service Unavailable

---

[API](https://skmtc.dev/crawlora/apis/crawlora-api.md) · [All operations](https://skmtc.dev/crawlora/apis/crawlora-api/llms.txt) · [OpenAPI document](https://skmtc.dev/crawlora/apis/crawlora-api/revisions/0497899e2016?raw)
