Overpass API guide

overpass-api.de

Use Overpass to find OpenStreetMap features near a place or between two locations and export the results as GeoJSON.

Actions and inputs

near

Find mapped features of a chosen type within a radius of a place.

Inputs Place, feature type, radius

route

Find mapped features within a corridor between two locations.

Inputs Start place, end place, feature type, corridor width

types

See which OpenStreetMap tags match each supported feature type.

Inputs Optional feature group

geojson

Export nearby map features as GeoJSON.

Inputs Place, feature type, radius, output file

Saved Overpass feature search in Smith

Create

Save an Overpass feature search in Smith.

Inputs Search name, place, feature type, radius

Read

View the place, feature type, and radius of a saved search in Smith.

Inputs Saved search ID

Update

Change the place, feature type, or radius of the saved search in Smith.

Inputs Saved search ID, revised place, type, or radius

Delete

Remove the saved feature search from Smith.

Inputs Saved search ID