Places API

Subway API

The Subway API returns OpenStreetMap records for about 20,800 Subway-branded sandwich restaurants worldwide. Records include location coordinates, brand, address when available, and other OpenStreetMap tags, alongside geographic and area context such as settlement class, population, and flood risk. Use the data to map locations, compare markets, or enrich location analysis.

United States, Brazil · JSON, GeoJSON, CSV, Parquet

POSThttps://api.outerview.ai/v1/stream
curl https://api.outerview.ai/v1/stream \
  -X POST \
  -H "Authorization: Bearer $OUTERVIEW_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "query": "subway",
    "region_id": "10257",
    "limit": 50
  }'

Key facts

  • The Subway dataset contains about 20,838 location records.
  • The United States accounts for 35.5% of the records.
  • Brazil accounts for 14.4% of the records.
  • Florida represents 11.8% of records in the state-level coverage data.
  • Melbourne represents 2.2% of records in the city-level coverage data.

Quick start

  1. 1. Create an account and generate an API key on the developer platform.
  2. 2. Send it as a Bearer token in the Authorization header.
  3. 3. Query by place, radius or date (the example searches Melbourne).

Bulk download

GET https://api.outerview.ai/api/v1/beacon/subway-brand/download?format=geojson

Add &region_slug=… to limit to one place. Formats: csv, geojson, parquet.

Sample records

Real records from the data, trimmed to the main fields.

10 records
CityNameBrandCountryCuisineWebsiteAddressHoursLatitude
GlennvilleSubwaySubwayUnited Statessandwichhttps://restaurants.subway.com/united-states/ga/glennville/103-s-downing-musgrove-hwy——31.9362
CaliSubwaySubwayColombiasandwich—24 24 AV 652 N, VAC, Cali, CO—3.48934
—SubwaySubwayEcuadorsandwich———-0.20715
—SubwaySubwayEcuadorsandwich———-0.19524
—SubwaySubwayEcuadorsandwich———-0.00353
—SubwaySubwayColombiasandwich—49A 41 KR 51, ANT, Rionegro, CO—6.15399
—SubwaySubwayUnited Statessandwich———18.41146
—SubwaySubwayEl Salvadorsandwich———13.70966
—SubwaySubwayPanamasandwich—Avenida Fernando Romero de Puy David—8.43014
—SubwaySubwayUnited Statessandwich——Mo-Fr 08:00-17:0018.41532

Subway restaurant location data

This API provides place records for Subway, the sandwich restaurant brand, sourced from OpenStreetMap. Developers, analysts, and data buyers can use it to identify locations and combine them with geographic and area-level context.

The records describe mapped places, not a guarantee that every location is currently open. The source is OpenStreetMap contributors, under the ODbL.

Global coverage with detailed country and city representation

The dataset contains about 20,838 records. The United States accounts for 35.5% and Brazil 14.4%; Australia, India, and Malaysia are also among the leading countries.

Coverage includes places such as Florida and Texas in the United States, Melbourne and Brisbane in Australia, and São Paulo and Rio de Janeiro in Brazil. The supplied sample also includes records from Ecuador, Colombia, El Salvador, and Panama.

Fields in each Subway location record

Core fields include name, latitude, longitude, brand, source, and properties, which contains the OpenStreetMap tags for the place. Address is populated for 96% of records; website for 75%; and opening_hours for 73%.

Records also include settlement class, climate group, population within 1 km, flood zone, elevation, tree canopy, household income, home value, and land-use categories. These fields have varying coverage: for example, population and flood zone are populated for all records, while land-use categories are populated for 71%.

  • nameName of the place
  • latLatitude
  • lngLongitude
  • brandBrand or chain
  • propertiesAll OpenStreetMap tags for the place
  • sourceSource dataset
  • addressStreet address
  • websiteWebsite
  • opening_hoursOpening hours (OpenStreetMap format)
  • settlement_classCity, town or countryside
  • climate_groupClimate group
  • ghsl_pop_1km_2020How many people live here (people)
  • flood_zoneFlood risk
  • elevation_mHeight above sea level (m)
  • nlcd_tree_canopy_pctTree cover (%)
  • acs_median_household_income_usdTypical household income (USD (2024 dollars))
  • acs_median_home_value_usdTypical home value (USD)
  • land_use_categoriesLand use

Query by place, radius, date, or fields

Narrow the data by region or radius, select fields relevant to your application, or use date criteria where applicable. Stream results for live queries, or use a bulk download when you need a whole dataset.

Available formats are JSON, GeoJSON, CSV, and Parquet. The records are based on OpenStreetMap data; the supplied information does not specify an update schedule.

What you can build with Subway location data

Map Subway locations and compare their distribution across countries, states, and cities. Combine coordinates and addresses with other location datasets for market research or site planning.

Use opening hours and websites to enrich place directories. Add population, income, home value, land use, elevation, tree cover, and flood-zone context to support trade-area analysis, location screening, and geographic research.

Formats and access

The API provides data in JSON, GeoJSON, CSV, and Parquet. Access requires an API key; a free tier is available, with paid plans for higher limits and bulk downloads.

No plan prices or specific usage limits are stated here. The underlying data is from OpenStreetMap contributors and is licensed under the ODbL.

Frequently asked questions

Is there an API for Subway restaurant locations?

Yes. The Subway API provides OpenStreetMap records for about 20,838 Subway-branded places. Records include coordinates, brand, and place details such as address, website, and opening hours when those values are present.

Which countries have Subway locations in the dataset?

The dataset includes Subway locations across multiple countries. The United States represents 35.5% of records and Brazil 14.4%; Australia, India, Malaysia, Colombia, Chile, and China are also among the leading countries shown in the coverage data.

Can I find Subway locations in Florida or Texas?

Yes. Florida and Texas are among the leading state-level areas in the coverage data, accounting for 11.8% and 10.8% of records respectively. The API includes location coordinates that can support geographic analysis of these areas.

What fields does the Subway API return?

Records include name, latitude, longitude, brand, OpenStreetMap properties, and source. Additional fields include address, website, opening hours, settlement class, climate group, nearby population, flood zone, elevation, tree canopy, income, home value, and land-use categories.

Are addresses and opening hours available for every Subway location?

No. Address is populated for 96% of records, while opening hours are populated for 73%. Website information is available for 75%. Missing values are possible, so applications should account for incomplete place details.

How often is Subway location data updated?

The supplied dataset information does not state an update schedule. The records are sourced from OpenStreetMap contributors, so the API page does not establish how frequently an individual location or its details are refreshed.

What formats are available for Subway location data?

The available formats are JSON, GeoJSON, CSV, and Parquet. These formats support common application integrations as well as geospatial workflows and analysis of larger datasets.

Can I download the whole Subway dataset?

Bulk downloads are available on paid plans, and the API supports whole-dataset use through bulk download. A free tier is also available, but the supplied information does not specify plan prices or usage limits.

Start building with the Subway API

Free to try. Paid plans raise limits and unlock bulk downloads.