Map Background Visual

What is Elevation API?

This service was created to meet the need for an elevation API that is both easy to use and simple to set up. While there are some alternatives on the market, many of them rely on outdated datasets and can present accessibility issues.

Haritaevi Elevation API offers a straightforward setup along with ready-to-use scripts for easy data acquisition. With our public API, we provide global coverage for elevation data.

Our data sources are based on a hybrid model combining open datasets with Haritaevi’s own field measurements. By incorporating our on-site measurements, we aim to deliver higher-resolution and more accurate elevation data.

Public API : Haritaevi Elevation API is free for up to 100 requests per month. For higher usage limits, please refer to our pricing plans.

What is Elevation API?

The Elevation API provides elevation data for one or more geographic coordinates. It supports GET and POST requests and returns elevation in meters using elevation models such as SRTM.

How to Use

Send coordinates using the "locations" parameter (lat,lng), separated by a pipe (|). You can include your API key either directly in the request or in the Authorization Header as a Bearer token. The "country_code" parameter is optional, include it for faster and more localized results.

Example Request (GET)

https://elevation.haritaevi.com/api/get_elevation?locations=40.8785,29.2905|25.276987,51.520008|40.114978,32.992147&apiKey=YOUR-API-KEY
Copy
https://elevation.haritaevi.com/api/get_elevation?country_code=TR|QA&locations=40.8785,29.2905|25.276987,51.520008|40.114978,32.992147&apiKey=YOUR-API-KEY
Copy

Example Request (POST)

curl -Method POST "https://elevation.haritaevi.com/api/get_elevation" -Headers @{"Content-Type"="application/json"} -Body '{"apiKey":"YOUR-API-KEY","locations":[{"lat":40.123063,"lng":32.99872},{"lat":25.276987,"lng":51.520008}]}'
Copy
curl -Method POST "https://elevation.haritaevi.com/api/get_elevation" -Headers @{"Content-Type"="application/json";"Authorization"="Bearer YOUR-API-KEY"} -Body '{"countryCode":"TR|QA","locations":[{"lat":40.123063,"lng":32.99872},{"lat":25.276987,"lng":51.520008}]}'
Copy

Example Response

Pricing

PlanMonthly RequestPriceActions
FreeUp to 100$0
ProfessionalUp to 100,000$50/month

Data Sources

DatasetResolutionSource
Haritaevi DatasetVery High ResolutionAerial Photogrammetry
Haritaevi DatasetVery High ResolutionSatellite Photogrammetry
Haritaevi DatasetVery High ResolutionLIDAR
SRTM30 mNASA & NGA
NASADEM30 mNASA
Euromap DTM30 mOpenGeoHUB
Aster GDEM30 mNASA & METI
USGS DEM-1~30 mUSGS
USGS DEM-1/3~10 mUSGS
GTOPO30~1 kmUSGS EROS