Valhalla · Example Payload

Height

Example /height request to get elevation data along a hiking path in Yosemite Valley.

RoutingNavigationOpenStreetMapMappingGeospatialDirectionsIsochronesTravelTransportationOpen-Source

Height is an example object payload from Valhalla, with 3 top-level fields. It illustrates the shape of data this provider's APIs accept or return.

Top-level fields

descriptionrequestresponse_summary

Example Payload

Raw ↑
{
  "description": "Example /height request to get elevation data along a hiking path in Yosemite Valley.",
  "request": {
    "shape": [
      { "lat": 37.7456, "lon": -119.5936 },
      { "lat": 37.7466, "lon": -119.5870 },
      { "lat": 37.7479, "lon": -119.5808 },
      { "lat": 37.7495, "lon": -119.5748 }
    ],
    "range": true,
    "height_precision": 1,
    "resample_distance": 50
  },
  "response_summary": {
    "shape": [
      { "lat": 37.7456, "lon": -119.5936 },
      { "lat": 37.7466, "lon": -119.5870 },
      { "lat": 37.7479, "lon": -119.5808 },
      { "lat": 37.7495, "lon": -119.5748 }
    ],
    "range_height": [
      [0, 1213.4],
      [534.2, 1218.7],
      [1067.1, 1225.3],
      [1598.5, 1231.9]
    ]
  }
}

Work with this as data

Every example here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for examples

4 MCP tools reach this
  • find_examplesBrowse and filter every example in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools

Call it yourself

curl for this page
This example
curl "https://apis.io/api/v1/examples/height"
All examples
curl "https://apis.io/api/v1/examples?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no email required.

A second provider on the same verified email joins the account you already have.