Places API

Railway Crossing API

The Railway Crossing API returns mapped locations and attributes for about 220,000 railway crossings worldwide. Records describe crossings where railway tracks meet roads or paths, including their coordinates and OpenStreetMap tags. Developers can use the data to map crossing locations, assess surrounding areas, and build transport or safety applications.

Australia, South Africa · 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": "railway crossing",
    "region_id": "10257",
    "limit": 50
  }'

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. 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/railway-crossing/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
NameCountryLatitudeLongitude
PorvoonkatuFinland60.4572426.21642
KaletonFinland62.2393324.8016
PäivärannantieFinland62.9555827.68978
MatkustajalaituriFinland66.4984325.69652
MatkustajalaituriFinland66.4984725.69653
Colin Jupp CrossingNew Zealand-41.11691175.32783
Public Road Rail Level CrossingAustralia-32.69345147.59507
Robert Street Rail Level CrossingAustralia-31.10762150.89917
Perlintasan Tak BerpintuIndonesia-7.57415110.76612
Camino a Archivo HistóricoArgentina-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.

  • latLatitude
  • lngLongitude
  • propertiesAll OpenStreetMap tags for the place
  • sourceSource dataset
  • settlement_classCity, town or countryside
  • climate_groupClimate group
  • ghsl_pop_1km_2020How many people live here (people)
  • flood_zoneFlood risk
  • land_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.