Key facts
- The Railway Crossing API contains about 220,000 records worldwide.
- Australia accounts for 41.6% of the railway crossing records.
- Victoria represents 31.7% of the dataset, and Melbourne represents 24.2%.
- Land-use categories are filled for 45% of records.
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 Melbourne).
Bulk download
GET https://api.outerview.ai/api/v1/beacon/railway-crossing/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.
| Name | Country | Latitude | Longitude |
|---|---|---|---|
| Porvoonkatu | Finland | 60.45724 | 26.21642 |
| Kaleton | Finland | 62.23933 | 24.8016 |
| Päivärannantie | Finland | 62.95558 | 27.68978 |
| Matkustajalaituri | Finland | 66.49843 | 25.69652 |
| Matkustajalaituri | Finland | 66.49847 | 25.69653 |
| Colin Jupp Crossing | New Zealand | -41.11691 | 175.32783 |
| Public Road Rail Level Crossing | Australia | -32.69345 | 147.59507 |
| Robert Street Rail Level Crossing | Australia | -31.10762 | 150.89917 |
| Perlintasan Tak Berpintu | Indonesia | -7.57415 | 110.76612 |
| Camino a Archivo Histórico | Argentina | -34.88486 | -58.0185 |
Railway crossing location data
A railway crossing is where train tracks intersect a road or path. OpenStreetMap contributors map these places, which may be marked with lights, bells, gates, or signs.
The API is useful for developers, transport analysts, mapping teams, and data buyers who need structured crossing locations and context about their surroundings. The source is OpenStreetMap contributors, under the ODbL.
Global coverage, concentrated in Australia
The dataset contains about 220,000 records. Australia accounts for 41.6% of coverage, followed by South Africa at 13.1%, Madagascar at 10.2%, and Tanzania at 9.2%.
Victoria represents 31.7% of records, and Melbourne represents 24.2%. Coverage also includes places such as Finland, New Zealand, Indonesia, and Argentina in the provided sample records.
Fields in each record
Every record includes latitude and longitude, OpenStreetMap properties, source dataset, settlement class, climate group, estimated population within one kilometre, and flood-zone information. Land-use categories are present for 45% of records.
The properties field contains the OpenStreetMap tags associated with a place. Coordinates and the other listed fields are filled for 100% of records.
latLatitudelngLongitudepropertiesAll OpenStreetMap tags for the placesourceSource datasetsettlement_classCity, town or countrysideclimate_groupClimate groupghsl_pop_1km_2020How many people live here (people)flood_zoneFlood riskland_use_categoriesLand use
Filter and retrieve crossing records
Filter records by region, radius, date, or fields to focus a query on the locations and attributes you need. Use streaming for live queries and bulk downloads when you need a whole dataset.
Available formats are JSON, GeoJSON, CSV, and Parquet. The API supports an API key; check the current API documentation for query details and access options.
What you can build
Map railway crossings alongside roads and paths to support transport planning and geographic analysis.
Compare crossing locations with settlement class and nearby population to understand the context around mapped sites.
Combine crossing records with flood-zone information to explore potential exposure to flood risk.
Use climate group and land-use categories to add environmental context to infrastructure datasets.
Build location search or mapping tools using coordinates and OpenStreetMap tags, including for crossings in Australia or Victoria.
Formats and access
Retrieve data in JSON, GeoJSON, CSV, or Parquet, with an API key. A free tier is available; paid plans provide higher limits and bulk downloads.
The source data is from OpenStreetMap contributors and is available under the ODbL. Check current plan details and API documentation for access terms.
Frequently asked questions
Is there an API for railway crossing locations?
Yes. The Railway Crossing API provides mapped railway crossing records with coordinates and OpenStreetMap properties. The dataset contains about 220,000 records across countries, including Australia, South Africa, Madagascar, and Tanzania.
How many railway crossings are in the API?
The API contains about 220,000 railway crossing records. The count is approximate, and coverage is concentrated in Australia, which accounts for 41.6% of the records.
Which countries have the most railway crossing records?
Australia has the largest share, at 41.6%, followed by South Africa at 13.1%, Madagascar at 10.2%, and Tanzania at 9.2%. The sample records also show locations in Finland, New Zealand, Indonesia, and Argentina.
What fields does the Railway Crossing API return?
Records include latitude, longitude, OpenStreetMap properties, source dataset, settlement class, climate group, population within one kilometre, and flood zone. Land-use categories are also included when available, and are filled for 45% of records.
Can I get railway crossing data for Melbourne?
Yes. Melbourne is represented in the coverage, accounting for 24.2% of records. Victoria accounts for 31.7% of the dataset. You can narrow queries by region to focus on the locations you need.
What formats are available for railway crossing data?
The API offers JSON, GeoJSON, CSV, and Parquet. These formats support application use, geospatial workflows, and analysis of larger datasets.
Can I download the whole railway crossing dataset?
Bulk downloads are available on paid plans. For live queries, use streaming; for a complete dataset, choose a bulk download. Access requires an API key, and a free tier is available.
What is the source of the railway crossing data?
The data comes from OpenStreetMap contributors and is available under the ODbL. The properties field contains the OpenStreetMap tags associated with each mapped place.
Start building with the Railway Crossing API
Free to try. Paid plans raise limits and unlock bulk downloads.