Elevation API

Global elevation data for web applications

Register for free

Source data

NASADEM is a global, high-quality digital elevation model, produced by NASA. Unlike many other elevation datasets, it does not have regions where data is missing, spurious bumps or artifacts.

There is more information about the source data at the official NASA website.

nasadem.XYZ is a reprocessed version of the NASADEM dataset that enables it to be easily included in web applications. The dataset has been carved up into XYZ tiles in the PNG format, which means they can be easily read by browsers, and integrated with existing mapping libraries.

The tiles can be seen in action in the demo below:

Available APIs

All API endpoints require an API key, which can be passed either as a GET parameter:

?key=API_KEY or as a header: Authorization: API_KEY

Get started

The map tiles can be fetched from the following endpoint:


The API returns a PNG image, where each pixel encodes the height at that point. The formula to convert into meters is:

let h = 256 * r + g - 32768;

where r is the pixel value in the red channel, and g that of the green channel

To convert from world coordinates (latitude and longitude) into x, y and z a number of libraries can be used.


We have pricing plans to suit all purposes. Usage will depend on your application, but as a guide the above demo has used 0 requests.

Plan Requests Cost
Free 20 thousand Free (non-commercial)
Blanc 100 thousand €19/month
Whitney 1 million €99/month
Everest 10 million €799/month
Login with No credit card required