API Reference
Libraries
API Overview
Elements
Query features by bounding box or H3 cell
GET/api/v1/features
Get feature by type and ID
GET/api/v1/features/{type}/{id}
Fetch multiple features by type and ID
POST/api/v1/features/batch
Find features near a geographic point
GET/api/v1/features/nearby
Datasets
List all datasets
GET/api/v1/datasets
Create a new dataset (admin only)
POST/api/v1/datasets
Get dataset by ID
GET/api/v1/datasets/{id}
Delete a dataset
DELETE/api/v1/datasets/{id}
Query features in a dataset
GET/api/v1/datasets/{id}/features
Geocode
Forward geocode an address
GET/api/v1/geocode
Reverse geocode a coordinate
GET/api/v1/geocode/reverse
Autocomplete a partial address
GET/api/v1/geocode/autocomplete
Batch geocode multiple addresses
POST/api/v1/geocode/batch
Search
Search OSM features by name
GET/api/v1/search
Routing
Calculate a route between two points
POST/api/v1/route
Snap a coordinate to the nearest road
GET/api/v1/nearest
Calculate an isochrone from a point
GET/api/v1/isochrone
Calculate a distance matrix between points
POST/api/v1/matrix
Elevation
Look up elevation at one or more points
GET/api/v1/elevation
Look up elevation for multiple coordinates
POST/api/v1/elevation/batch
Elevation profile along coordinates
POST/api/v1/elevation/profile
Map Match
Match GPS coordinates to the road network
POST/api/v1/map-match
Optimize
Optimize route through waypoints
POST/api/v1/optimize
Get async optimization result
GET/api/v1/optimize/{job_id}
Query
Execute an Overpass QL query
POST/api/v1/overpass
Execute a SPARQL query
POST/api/v1/sparql
Tiles
Get a Mapbox Vector Tile
GET/api/v1/tiles/{z}/{x}/{y}