The Open Elevation API provides elevation profile information such as elevation and distance given a lat/lng pair in JSON or XML formats. Here Distance refers to the accumulated distance along the path specified by the lat/lng collection. Each elevation/distance pair in response is then mapped to the corresponding lat/lng in the request. This data is provided by OpenStreetMap.
The Elevation Chart allow you to take raw elevation data from the Elevation Profile and create a visual chart showing elevation changes along a route.
The Elevation Profile returns raw elevation data along a route, which can be combined with the Elevation Chart to visualize changes in elevation along a route.
OpenStreetMap data is licensed under the Open Data Commons Open Database License (ODbL).