subway_nearby
Find Subway stores near any address, city, ZIP, or coordinates. Returns nearest-first results with live open/closed status, payment methods, and feature filters.
Instructions
Search Subway stores near a coordinate or address. Returns Subway stores nearest first to a coordinate or a free-text address/city/ZIP, with live open/closed status, payment methods, catering link, and feature flags. This is the proximity search GET /subway/sitemap cannot do directly -- the sitemap enumerates the whole world for bulk scraping, this answers "what is near this point" with distance and live attributes the sitemap/store locator does not carry. Each store's store_id is the same value GET /subway/menu takes, and can be passed back here as store_id to re-read one store's live attributes directly.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Maximum stores to return, 1-20 (default 10) | |
| query | No | Free-text address, city or ZIP to search near. Alternative to latitude/longitude and store_id. | |
| offset | No | Opaque pagination cursor from a previous response's next_offset | |
| features | No | Comma-separated. Restricts results to stores with ALL listed features. Allowed values: HAS_BREAKFAST, IS_REMOTEORDER_ACCEPTED, HAS_HALAL, HAS_DRIVETHROUGH, HAS_CATERING, HAS_CURBSIDE, IS_OPERATING. | |
| latitude | No | Search center latitude. Set together with longitude, or set query or store_id instead -- exactly one search mode. | |
| store_id | No | Look up one store directly by its store_id, from GET /subway/store or a prior /subway/nearby result. Alternative to latitude/longitude and query. | |
| longitude | No | Search center longitude. |