Elevation API - Get Altitude for Any Coordinates
Returns the elevation above sea level in meters for a given latitude and longitude. Supports single-point lookups and batch queries via the locations array parameter. Useful for terrain analysis, hiking apps, and flood risk assessment.
Code examples
curl -X POST https://api.botoi.com/v1/elevation/lookup \
-H "Content-Type: application/json" \
-d '{"lat":27.9881,"lng":86.925}'When to use this API
Hiking and trail planning apps
Plot elevation profiles along a hiking route by querying multiple waypoints. Show total elevation gain and loss for a trail, and flag steep sections where the grade exceeds a configurable threshold.
Flood risk assessment
Compare the elevation of a property against nearby waterway elevations. Properties below a certain threshold relative to the nearest river or coast can be flagged as higher flood risk in insurance underwriting or real estate analysis.
Drone flight planning
Calculate terrain elevation along a drone flight path to maintain safe altitude above ground level. Combine with on-water detection to identify bodies of water that require different minimum altitudes.
Frequently asked questions
How accurate is the elevation data?
Can I look up multiple points at once?
What unit is the elevation returned in?
Does this work for ocean locations?
What is the maximum batch size?
Get your API key
Free tier includes 5 requests per minute with no credit card required. Upgrade for higher limits.