Elevation API
GlobalHeight above sea level, in metres, for any coordinate — one point or a whole route profile.
Overview
The Elevation API returns the height above sea level (metres) for any coordinate on Earth, using global SRTM data. Query a single point, a batch of points, or a full route/track for an elevation profile — send up to 100 points via GET or 1000 via POST. Values are bilinearly interpolated for smooth results; ocean returns 0.
API reference
GET
/api/1/elevation| Parameter | Type | Status |
|---|---|---|
| point | string | Required |
Example request
Credit cost: 1 credit / 10 pointscurl "https://osrmroute.com/api/1/elevation?point=40.4093,49.8671&point=41.30,48.50&key=YOUR_KEY"
Other services
Routing APIRoute Optimization APIGeocoding APIPlaces APIMatrix APIIsochrones APIMap Matching APINearest APITrip API (TSP)Location ClusteringDirections APIAlternative Routes APISnap to Road APIAutocomplete APIBatch Geocoding APITimezone APIBoundary Lookup APIGeofencing APIElevation Profile APISolar APIGeometry Utilities APICoordinate Conversion APICountry Info API