You cannot do this using the HERE API, which I see, but you can get this information from the Google Elevation API.
By making a GET call and passing in latitude and longitude in the request, you can return the height from sea level in meters:
https://maps.googleapis.com/maps/api/elevation/json?locations=40.714728,-73.998672
This will return a json object as follows:
{ "results" : [ { "elevation" : 8.883694648742676, "location" : { "lat" : 40.714728, "lng" : -73.998672 }, "resolution" : 76.35161590576172 } ], "status" : "OK" }
Additional information: https://developers.google.com/maps/documentation/elevation/intro
Joseph Erickson
source share