---
title: "Point-elevation endpoint (see module docs)."
method: POST
path: "/elevation"
tags: ["elevation"]
---

# Point-elevation endpoint (see module docs).

`POST /elevation`

## Request

- Base URL: `https://api.mapmap.ai`
- URL: `https://api.mapmap.ai/elevation`
- Auth: one of:
  - HTTP bearer
  - API key in query parameter `api_key`

## Request body

- object

## Response `200`

`{"results": [{"lat", "lon", "elevation_m", "source", "resolution_m"}, …]}`, one entry per input point in order; `elevation_m`/`source`/`resolution_m` are `null` together wherever the engine has no DEM coverage

- object

## Other responses

- `400`: Invalid request
- `401`: Missing or invalid API key
- `429`: Quota or rate limit exceeded
- `501`: Elevation not enabled on this deployment (SN_ELEVATION_ENABLED unset; the hosted gateway sets it true; this is a self-hosting gate for a Valhalla with no DEM tiles staged)
- `502`: Upstream routing engine failed

---

[API](https://skmtc.dev/mapmap/apis/sn-gateway.md) · [All operations](https://skmtc.dev/mapmap/apis/sn-gateway/llms.txt) · [OpenAPI document](https://skmtc.dev/mapmap/apis/sn-gateway/revisions/2293be8b4c38?raw)
