subway_sitemap
Enumerate Subway store locations worldwide by paging through their sitemap index. Returns URLs, locator paths, and directory depth for each entry, allowing complete walk of all store pages.
Instructions
Browse Subway's global store-URL index. Returns one page of Subway's sitemap-declared store index -- 22,700+ URLs across 2 shards at time of writing, covering a country/region/city/street tree worldwide. This is the cheapest way to enumerate Subway locations, and it is the entry point Subway's own robots.txt declares. Each entry carries its URL, the locator path GET /subway/store takes, and a depth: the deepest entries are store pages, shallower ones are country, region and city directory pages listed in the same sitemap. A page past the end returns an empty list rather than an error, so a caller can walk to exhaustion.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page | No | 1-based page within the shard (default 1) | |
| shard | No | Sitemap shard index (default 0). shard_count in the response says how many exist. | |
| page_size | No | Entries per page, 1-500 (default 100) |