What does the elevation API return?
The height of the ground above sea level, in metres, for each point you send. Either for a list of points of your own, or for evenly spaced samples along a route you send as one encoded polyline. Each answer carries the point's coordinates and its elevation, in the order you asked.
What is it for?
Climb profiles under a planned route, total ascent for a ride or a hike, gradient colouring on a map, the steepest kilometre of a course, sorting routes by how hard they are, and any feature where 'how high is this' or 'how much climbing is that' is the question.
How much does it cost?
One unit per request, whether it carries one point, five hundred points or a whole route. Units come from the same monthly pool as maps, geocoding and routing.
How do I get a profile for a whole ride?
Send the route's geometry as one encoded polyline, the same shape the directions API returns, and say how many samples you want: 256 by default, up to a thousand. The API spaces them evenly along the line and returns one height per sample, so a ten thousand point GPS track never has to be sent point by point.
How accurate is it?
Heights are sampled from a worldwide terrain model on a grid of about 30 metres, interpolated between grid points. Over a ride the total ascent is a solid number; the three rides on this page came out within a few percent of their published climbs. A single point on a steep slope can be off by a few metres, and a short ramp narrower than the grid is smoothed.
Where is it weakest?
Hairpins and cuttings. With samples 30 to 50 metres apart, a road that switchbacks up a slope can produce a steeper apparent grade between two neighbouring samples than the road ever has, because the straight line between them crosses the slope. Use ascent and the profile shape, and treat any single-segment grade with suspicion. There is also no finer national data yet and no depth for water.
Does it return ascent, descent or grade?
No, only heights. Ascent is the sum of the positive differences between neighbouring samples, grade is a difference divided by a distance, and both are three lines of code on your side, which also lets you choose your own smoothing.
What happens over the sea?
Where there is no ground the elevation is null rather than zero, so an offshore point never silently reads as sea level. Coastlines and lakes have heights like any other land.
Is there a free tier?
Yes. The free plan includes 10,000 units a month with no card and no sales call, which is 10,000 profiles if that is all you spend them on. It is a hard cap, so a runaway loop cannot produce a bill.
Where are my requests processed?
In the European Union, end to end. No part of the request path touches a US-controlled provider, which is what makes the GDPR and data-residency conversation short. We publish a DPA and a full sub-processor list.