Endpoint Playground
Test Crawlora's Subway Sitemap API with realistic prefilled parameters. Generate a cURL request, inspect the expected structured JSON response, and open the full docs or pricing page when you are ready to integrate this public web data extraction endpoint into your application.
curl "https://api.crawlora.net/api/v1/subway/sitemap" \
-H "x-api-key: $CRAWLORA_API_KEY"| Parameter | Type | Required | Prefilled value | Description |
|---|---|---|---|---|
| shard | integer | No | Sitemap shard index (default 0). shard_count in the response says how many exist. | |
| page | integer | No | 1-based page within the shard (default 1) | |
| page_size | integer | No | Entries per page, 1-500 (default 100) |
{
"code": 200,
"msg": "OK",
"data": {
"shard": 0,
"shard_count": 2,
"entries": [
{
"url": "https://restaurants.subway.com/austria/bu/eisenstadt",
"path": "austria/bu/eisenstadt",
"depth": 3
}
],
"count": 1,
"total_in_shard": 22705,
"page": 1,
"total_pages": 227,
"source_url": "https://restaurants.subway.com/sitemap.xml.0",
"fetched_at": "2026-08-31T17:30:00Z"
}
}Public Playground
Sample responses, schemas, request previews, and code snippets are visible before sign in. Create an account when you are ready to save an API key and run authenticated requests.
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.
{
"code": 200,
"msg": "OK",
"data": {
"shard": 0,
"shard_count": 2,
"entries": [
{
"url": "https://restaurants.subway.com/austria/bu/eisenstadt",
"path": "austria/bu/eisenstadt",
"depth": 3
}
],
"count": 1,
"total_in_shard": 22705,
"page": 1,
"total_pages": 227,
"source_url": "https://restaurants.subway.com/sitemap.xml.0",
"fetched_at": "2026-08-31T17:30:00Z"
}
}curl "https://api.crawlora.net/api/v1/subway/sitemap" \
-H "x-api-key: $CRAWLORA_API_KEY"