Elevation API
Height above sea level, in metres, for any coordinate — one point or a whole route profile.
/api/1/elevationCurrent plan limits
Free includes Routing, Route Optimization, Geocoding (including reverse lookup and autocomplete) and Matrix APIs within plan limits. Map Matching, Isochrone, Truck Routing, Fuel Estimate and other separate APIs require a paid plan, including PAYG. API access follows the account’s effective plan; a positive balance alone does not override Free restrictions. Road Data and AI retain their separate Business requirements.
Replace YOUR_KEY with your own API key. Paid API requests consume credits; copying this example does not send a request.
Current plans and pricingOverview
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
/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" -H "Authorization: Bearer YOUR_KEY"