For AI agents: a documentation index is available at /llms.txt. Markdown versions of all pages are available by appending .md to any URL.
Elevation API
The MapTiler Elevation API makes it possible to get accurate altitude above mean sea level for any place on Earth. See the intro to elevation to learn how it works and what you can use it for.
How to use the API
- Directly from your web or backend applications.
- Via the Elevation API client library, which wraps the API calls in ready-made functions for easier use in JavaScript. This is the best option if you don’t need a map.
- With our complete map SDK for JavaScript. It provides an elevation profile module to add a control to your map which draws the elevation profile for a specified route.
Key
You need a MapTiler API key to use this service. Get it here and learn how to secure it.
You can get elevation for a single point or multiple points at once by providing their coordinates. Note that each pair of coordinates counts separately towards your API quota.
Elevation API reference
Configure your environment settings below to update code samples and live API tests:
- Server – select where your requests go. Keep the default
api.maptiler.comor use the EU-based endpoint. - Authentication – enter your API key. It will automatically populate code snippets and test requests (otherwise, placeholders are shown).
- Client Libraries – select your preferred programming language of the code examples.