Places API

Derail API

The Derail API returns about 18,659 OpenStreetMap records representing trains leaving their tracks, including tilted or overturned rail cars and displaced wheels. Records include coordinates, OpenStreetMap tags and geographic context such as settlement class, climate group, population, flood risk and land use. Data is available in JSON, GeoJSON, CSV and Parquet.

Germany, Poland · 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": "derail",
    "region_id": "170057",
    "limit": 50
  }'

Key facts

  • The Derail API contains about 18,659 mapped records.
  • Germany accounts for 44.2% of records, and Poland accounts for 36.2%.
  • The Czech Republic accounts for 13.5% of records.
  • Berlin is among the listed cities, with 1.2% of records.
  • The dataset is available in JSON, GeoJSON, CSV and Parquet.

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 Berlin).

Bulk download

GET https://api.outerview.ai/api/v1/beacon/derail/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
NameCountryCityLatitudeLongitude
Granica utrzymania przez PKPPoland—50.4574718.87683
St2099NetherlandsHaarlemmermeer52.286334.68647
GleissperreGermanySchillsdorf54.0986410.11327
GleissperreGermanyLübeck53.8810710.67076
Wk101Poland—52.2291916.36642
Wk2Poland—52.2309916.36387
Wk1Poland—52.2304516.36434
Wk1Poland—52.2304416.3643
Wk5Poland—52.2345516.36078
Wk5Poland—52.2345616.36081

Overview

The Derail API provides mapped OpenStreetMap records for derail-related rail features. Developers and data buyers can use the records to build geographic datasets, map rail locations or combine them with contextual information about nearby areas.

The data comes from OpenStreetMap contributors and is available under the ODbL. Sample records include named features and coordinates in countries such as Poland, Germany and the Netherlands.

Coverage

The dataset contains about 18,659 records. Germany accounts for 44.2% and Poland for 36.2%, followed by the Czech Republic at 13.5%. Other listed coverage includes Belgium, the Netherlands, Austria, Denmark and Spain.

Recorded locations include North Rhine-Westphalia, Silesian Voivodeship and Lower Saxony. Cities represented include Berlin, Dortmund, Hamburg, Bremen and Leipzig.

Fields

Each record includes latitude and longitude, OpenStreetMap properties, source dataset, settlement class and climate group. The population field, ghsl_pop_1km_2020, describes the number of people living in the surrounding area; flood_zone describes flood risk.

Records can also include land_use_categories. The listed fields are filled for all records except land_use_categories, which is filled for 95%. Sample records show names and, where available, city and country alongside coordinates.

  • 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

Queries

Narrow queries by region, radius, date or requested fields, and use streaming for live queries. The listed fields describe location and geographic context; the available facts do not specify a date field or query parameter names.

For a whole-dataset workflow, use bulk downloads. Available formats are JSON, GeoJSON, CSV and Parquet.

Use cases

Build maps of mapped derail-related rail features across Germany, Poland and nearby countries. Compare record locations with settlement class, population or land use to support geographic analysis.

Use flood-zone and climate-group context when assessing mapped locations. Create regional extracts for transport or mapping research, or combine OpenStreetMap properties and coordinates with other datasets for analysis and visualization.

Pricing

Data is available in JSON, GeoJSON, CSV and Parquet, and API access requires an API key. A free tier is available; paid plans provide higher limits and bulk downloads. No prices are stated here.

Frequently asked questions

Is there an API for derail data in Germany?

Yes. The Derail API provides mapped derail-related OpenStreetMap records, and Germany accounts for 44.2% of its approximately 18,659 records. Coverage also includes Poland, the Czech Republic and other listed European countries.

How many records does the Derail API contain?

The dataset contains about 18,659 records. This is an approximate total; the available facts also note that 4,000 rows were sampled.

What fields does the Derail API return?

The listed fields include latitude, longitude, OpenStreetMap properties, source, settlement class, climate group, population, flood zone and land-use categories. Land-use categories are filled for 95% of records; the other listed fields are filled for all records.

Can I filter derail records by location?

Queries can be narrowed by region or radius. The API data includes latitude and longitude, and the coverage facts identify countries, states and cities represented in the dataset.

Can I filter Derail API data by date?

Date filtering is part of the stated query options, but the available field list does not identify a date field. Check the API’s current field and query documentation before relying on date-based filtering.

How often is the derail data updated?

The available facts do not specify an update schedule. The records are sourced from OpenStreetMap contributors, so consult current API documentation for update timing and data freshness.

What formats are available for derail data?

The Derail API supports JSON, GeoJSON, CSV and Parquet. These formats provide options for application use, geospatial workflows, tabular analysis and bulk data processing.

Can I download the whole Derail dataset?

Yes. Bulk downloads are available on paid plans, which also provide higher limits. The dataset is offered in JSON, GeoJSON, CSV and Parquet.

Start building with the Derail API

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