Key facts
- The Railway Station API contains approximately 96,198 records.
- South Africa accounts for 36.5% of listed coverage.
- Argentina accounts for 23.9% of listed coverage.
- Brazil accounts for 20.5% of listed coverage.
- São Paulo and Rio de Janeiro are among the listed cities.
Quick start
- 1. Create an account and generate an API key on the developer platform.
- 2. Send it as a Bearer token in the
Authorizationheader. - 3. Query by place, radius or date (the example searches São Paulo).
Bulk download
GET https://api.outerview.ai/api/v1/beacon/railway-station/download?format=geojsonAdd ®ion_slug=… to limit to one place. Formats: csv, geojson, parquet.
Sample records
Real records from the data, trimmed to the main fields.
| City | Name | Country | Latitude | Longitude |
|---|---|---|---|---|
| São Paulo | Santa Cecília | Brazil | -23.53932 | -46.64896 |
| São Paulo | Marechal Deodoro | Brazil | -23.53398 | -46.6559 |
| São Paulo | Júlio Prestes | Brazil | -23.53322 | -46.64056 |
| São Paulo | Luz | Brazil | -23.53539 | -46.63444 |
| São Paulo | Brás | Brazil | -23.54786 | -46.61592 |
| São Paulo | Brás | Brazil | -23.54533 | -46.61644 |
| São Paulo | Bresser-Mooca | Brazil | -23.5465 | -46.60693 |
| São Paulo | Belém | Brazil | -23.54287 | -46.58961 |
| São Paulo | Palmeiras-Barra Funda | Brazil | -23.52546 | -46.66751 |
| São Paulo | Palmeiras - Barra Funda | Brazil | -23.52597 | -46.66747 |
Railway station location data
The API provides records for places where trains stop, typically shown with platforms, tracks, shelters and station signage. The source is OpenStreetMap contributors, under the ODbL.
Developers, transport planners and data buyers can use station names and coordinates alongside settlement, population, flood-risk and climate context.
Coverage across about 96,000 stations
The dataset contains approximately 96,198 railway station records. South Africa accounts for 36.5% of coverage, Argentina for 23.9% and Brazil for 20.5%.
Other covered countries include Chile, Peru, Bolivia, Namibia and Japan. City examples include São Paulo and Rio de Janeiro in Brazil.
Fields in each railway station record
Each record includes name, lat and lng for identification and location. The properties field contains all OpenStreetMap tags for the place, while source identifies the source dataset.
Records also include settlement_class, ghsl_pop_1km_2020 for nearby population, and flood_zone. climate_group is populated for 99% of records.
nameName of the placelatLatitudelngLongitudepropertiesAll OpenStreetMap tags for the placesourceSource datasetsettlement_classCity, town or countrysideghsl_pop_1km_2020How many people live here (people)flood_zoneFlood riskclimate_groupClimate group
Query and download options
Filter station data by region or radius and select the fields relevant to your application. The available fields do not include a station date, so date filtering is not specified for this dataset.
Use streaming for live queries or bulk downloads for whole datasets. Available formats are JSON, GeoJSON, CSV and Parquet.
What you can build with station data
Map railway station locations and build transport directories. Compare station coverage between cities or regions, and enrich maps with settlement class and nearby population.
Combine coordinates with flood-risk and climate-group fields for location screening. Use the records to support transport research, geographic analysis, station discovery and planning tools.
Access and pricing
Access the API with an API key. Data is available in JSON, GeoJSON, CSV and Parquet.
A free tier is available, with paid plans for higher limits and bulk downloads. Prices are not stated here.
Frequently asked questions
Is there an API for railway stations in São Paulo?
Yes. The Railway Station API includes records from São Paulo, Brazil, with station names and coordinates. São Paulo is among the listed cities in the coverage data, and sample records include stations such as Luz, Brás and Júlio Prestes.
How many railway station records are available?
The dataset contains approximately 96,198 railway station records. Coverage includes countries such as South Africa, Argentina, Brazil and Chile, with records available in JSON, GeoJSON, CSV and Parquet.
Which countries does the Railway Station API cover?
The listed coverage includes South Africa, Argentina, Brazil, Chile, Peru, Bolivia, Namibia and Japan. South Africa has the largest share at 36.5%, followed by Argentina at 23.9% and Brazil at 20.5%.
What fields does the Railway Station API return?
Records include name, latitude, longitude, OpenStreetMap properties, source dataset, settlement class, nearby population, flood zone and climate group. The climate_group field is populated for 99% of records; the other listed fields are populated for all records.
Can I filter railway stations by location?
Yes. The query options support filtering by region or radius and selecting fields. This lets you retrieve records for a geographic area or around a location without needing to use the full dataset.
Does the Railway Station API support date filtering?
Date filtering is not specified for this dataset. The listed fields describe station names, locations, OpenStreetMap tags and contextual attributes; they do not include a station date field.
What formats are available for railway station data?
The data is available in JSON, GeoJSON, CSV and Parquet. These formats support applications that need structured records, geographic features or files for analysis and bulk processing.
Where does the railway station data come from?
The records come from OpenStreetMap contributors and are distributed under the ODbL. The properties field contains the OpenStreetMap tags associated with each place.
Start building with the Railway Station API
Free to try. Paid plans raise limits and unlock bulk downloads.