Open Topo Data — Batch Elevation Query
opentopodata.elevation.batchGet land surface elevation for up to 100 lat/lon coordinates in one request, all on a single dataset. Use it for route elevation profiling, contour computation, or bulk terrain analysis.
Instructions
Get land surface elevation for up to 100 lat/lon coordinates in a single request. All points share the same dataset (srtm90m default, srtm30m, or aster30m). Returns an array of results, each with elevation_m, lat, lon, and dataset. Ideal for elevation profiling along a route, contour-line computation, or bulk terrain analysis. MIT licence, no auth, no upstream cost.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dataset | No | Elevation dataset applied to all locations: srtm90m (default), srtm30m, aster30m | |
| locations | Yes | Array of lat/lon objects to query (1–100 locations per request) | |
| interpolation | No | Interpolation method: bilinear (default) or nearest |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| error | No | Present only when the call failed. Includes error code, message, request_id, and any provider-specific extras. | |
| result | No | Tool response payload. Shape varies per tool — consult the tool description and inputSchema. May be an object, array, string, or number depending on the upstream provider response. |