Open Topo Data
APIFree elevation and ocean depth API for latitude/longitude coordinates
Overview
Open Topo Data offers RESTful endpoints to retrieve elevation (land) and ocean depth values for given geographic coordinates. Key endpoints like `/v1/{dataset}` (e.g., `/v1/srtm90m` or `/v1/etopo1`) accept GET requests with lat/lon parameters. Responses are in JSON format, including the queried value, dataset metadata, and coordinate details. Use cases include integrating terrain data into hiking apps, GIS mapping projects, environmental impact assessments, marine navigation tools, and outdoor activity planning.
Example Integration (JavaScript)
fetch('https://www.opentopodata.org')
.then(res => res.json())
.then(data => console.log(data))
.catch(err => console.error(err)); Key Features
- RESTful API
- JSON response format
- Multiple datasets (SRTM, ETOPO1, etc.)
- No authentication required
- Global coverage for elevation and ocean depth
Frequently Asked Questions
? Is Open Topo Data free to use?
Yes, the public instance of Open Topo Data is completely free to use without any cost or subscription fees.
? Does it require an API Key?
No, the public API does not require an API key for access. However, rate limits are enforced to ensure fair usage for all users.
? What is the response format?
The API returns responses in JSON format, which includes the elevation/depth value, dataset used, and the original query coordinates.
Top Alternatives
People Also Ask about Open Topo Data
Tool Info
Pros
- ⊕ Free public access
- ⊕ Easy integration with apps
- ⊕ Multiple high-quality datasets
- ⊕ Global coverage
- ⊕ Fast response times
Cons
- ⊖ Rate limits apply to public instance
- ⊖ No SLA for uptime
- ⊖ Public instance limited to point queries (no bulk/polygon support)