TomTom · Example Payload

Tomtom Calculate Route Example

MapsTrafficTransportationNavigationLocationGeospatialRoutingGeocoding

Tomtom Calculate Route Example is an example object payload from TomTom, with 2 top-level fields. It illustrates the shape of data this provider's APIs accept or return.

Top-level fields

requestresponse

Example Payload

Raw ↑
{
  "request": {
    "method": "GET",
    "url": "https://api.tomtom.com/routing/1/calculateRoute/52.50931,13.42936:52.50274,13.43872/json",
    "queryParameters": {
      "key": "{api_key}",
      "routeType": "fastest",
      "traffic": "true",
      "travelMode": "car"
    }
  },
  "response": {
    "status": 200,
    "headers": {
      "Content-Type": "application/json"
    },
    "body": {
      "formatVersion": "0.0.12",
      "routes": [
        {
          "summary": {
            "lengthInMeters": 1641,
            "travelTimeInSeconds": 355,
            "trafficDelayInSeconds": 0,
            "trafficLengthInMeters": 0,
            "departureTime": "2026-05-03T10:00:00+02:00",
            "arrivalTime": "2026-05-03T10:05:55+02:00",
            "noTrafficTravelTimeInSeconds": 278,
            "historicTrafficTravelTimeInSeconds": 278,
            "liveTrafficIncidentsTravelTimeInSeconds": 278
          },
          "legs": [
            {
              "summary": {
                "lengthInMeters": 1641,
                "travelTimeInSeconds": 355,
                "departureTime": "2026-05-03T10:00:00+02:00",
                "arrivalTime": "2026-05-03T10:05:55+02:00"
              },
              "points": [
                { "latitude": 52.50931, "longitude": 13.42936 },
                { "latitude": 52.50897, "longitude": 13.42965 },
                { "latitude": 52.50274, "longitude": 13.43872 }
              ]
            }
          ]
        }
      ]
    }
  }
}

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/tomtom-calculate-route-example"
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.