Routing
Routing consists of the following service: Calculate Route Calculates a route between an origin and a destination, passing through waypoints (if specified).…
Maps & location#openapi#location
Fork copies the collection into your workspace, without the publisher's secrets, so you can add your own key and send requests. Star saves it to your starred APIs (Account › Marketplace) and helps others find it.
Overview
Routing consists of the following service:
Calculate Route
Calculates a route between an origin and a destination, passing through waypoints (if specified). Additional routing parameters like traffic, avoidance conditions, departure/arrival time etc. can be taken into account.
Calculate Reachable Range
Calculates a set of locations that can be reached from the origin point, subject to the available fuel or energy budget that is specified in the request.
Endpoints 4
Routing
- GETReachable Range
/routing/:versionNumber/calculateReachableRange/:origin/:contentType?fuelBudgetInLiters=0.0&energyBudgetInkWh=43&timeBudgetInSec=0.0&callback=callback&report=effectiveSettings&departAt=now&arriveAt=string&routeType=fastest&traffic=true&avoid=unpavedRoads&travelMode=car&hilliness=normal&windingness=normal&vehicleMaxSpeed=0&vehicleWeight=0&vehicleAxleWeight=0&vehicleLength=0&vehicleWidth=0&vehicleHeight=0&vehicleCommercial=false&vehicleLoadType=string&constantSpeedConsumptionInLitersPerHundredkm=string¤tFuelInLiters=0.0&auxiliaryPowerInLitersPerHour=0.0&fuelEnergyDensityInMJoulesPerLiter=0.0&accelerationEfficiency=0.0&decelerationEfficiency=0.0&uphillEfficiency=0.0&downhillEfficiency=0.0&vehicleEngineType=electric&constantSpeedConsumptionInkWhPerHundredkm=50,8.2:130,21.3Calculates a set of locations that can be reached from the origin point. - POSTReachable Range
/routing/:versionNumber/calculateReachableRange/:origin/:contentType?fuelBudgetInLiters=0.0&energyBudgetInkWh=43&timeBudgetInSec=0.0&callback=callback&report=effectiveSettings&departAt=now&arriveAt=string&routeType=fastest&traffic=true&avoid=unpavedRoads&travelMode=car&hilliness=normal&windingness=normal&vehicleMaxSpeed=0&vehicleWeight=0&vehicleAxleWeight=0&vehicleLength=0&vehicleWidth=0&vehicleHeight=0&vehicleCommercial=false&vehicleLoadType=string&constantSpeedConsumptionInLitersPerHundredkm=string¤tFuelInLiters=0.0&auxiliaryPowerInLitersPerHour=0.0&fuelEnergyDensityInMJoulesPerLiter=0.0&accelerationEfficiency=0.0&decelerationEfficiency=0.0&uphillEfficiency=0.0&downhillEfficiency=0.0&vehicleEngineType=electric&constantSpeedConsumptionInkWhPerHundredkm=50,8.2:130,21.3Calculates a set of locations that can be reached from the origin point. POST method handles additionally parameters: <em>supportingPoints</em>,… - GETCalculate Route
/routing/:versionNumber/calculateRoute/:locations/:contentType?maxAlternatives=0&alternativeType=anyRoute&minDeviationDistance=0&minDeviationTime=0&instructionsType=coded&language=en-GB&computeBestOrder=false&routeRepresentation=polyline&computeTravelTimeFor=none&vehicleHeading=0§ionType=travelMode&callback=callback&report=effectiveSettings&departAt=now&arriveAt=string&routeType=fastest&traffic=true&avoid=unpavedRoads&travelMode=car&hilliness=normal&windingness=normal&vehicleMaxSpeed=0&vehicleWeight=0&vehicleAxleWeight=0&vehicleLength=0&vehicleWidth=0&vehicleHeight=0&vehicleCommercial=false&vehicleLoadType=string&vehicleEngineType=combustion&constantSpeedConsumptionInLitersPerHundredkm=string¤tFuelInLiters=0.0&auxiliaryPowerInLitersPerHour=0.0&fuelEnergyDensityInMJoulesPerLiter=0.0&accelerationEfficiency=0.0&decelerationEfficiency=0.0&uphillEfficiency=0.0&downhillEfficiency=0.0&constantSpeedConsumptionInkWhPerHundredkm=stringCalculates a route between an origin and a destination. - POSTCalculate Route
/routing/:versionNumber/calculateRoute/:locations/:contentType?maxAlternatives=0&alternativeType=anyRoute&minDeviationDistance=0&minDeviationTime=0&instructionsType=coded&language=en-GB&computeBestOrder=false&routeRepresentation=polyline&computeTravelTimeFor=none&vehicleHeading=0§ionType=travelMode&callback=callback&report=effectiveSettings&departAt=now&arriveAt=string&routeType=fastest&traffic=true&avoid=unpavedRoads&travelMode=car&hilliness=normal&windingness=normal&vehicleMaxSpeed=0&vehicleWeight=0&vehicleAxleWeight=0&vehicleLength=0&vehicleWidth=0&vehicleHeight=0&vehicleCommercial=false&vehicleLoadType=string&vehicleEngineType=combustion&constantSpeedConsumptionInLitersPerHundredkm=string¤tFuelInLiters=0.0&auxiliaryPowerInLitersPerHour=0.0&fuelEnergyDensityInMJoulesPerLiter=0.0&accelerationEfficiency=0.0&decelerationEfficiency=0.0&uphillEfficiency=0.0&downhillEfficiency=0.0&constantSpeedConsumptionInkWhPerHundredkm=stringCalculates a route between an origin and a destination. POST method handles additionally parameters: <em>supportingPoints</em>, <em>allowVignette</em>,…
API details
- Base URL
https://api.tomtom.com- Authentication
- An API key in the key query parameter
- Operations
- 4 operations on 2 pathsGET 2POST 2
- Main resources
- Routing 4
- Description format
- OpenAPI 3.0.0, API version
1.0.0 - Links
- OpenAPI document · Support
- Listed from
- APIs.guru OpenAPI Directory (CC0-1.0)
Source updated
How to test the Routing in Swastik Codes
- Open the APISelect “Fork & run in Swastik Codes” on this page. Sign in or create a free account if asked.
- Fork it into your workspaceChoose a workspace. You get your own copy of the Routing collection, without the publisher's secrets.
- Add your credentialsThis API uses an API key in the key query parameter. Add yours in the collection's variables or an environment; the requests already reference it.
- Send a requestPick an endpoint, for example “Reachable Range” (GET /routing/:versionNumber/calculateReachableRange/:origin/:contentType?fuelBudgetInLiters=0.0&energyBudgetInkWh=43&timeBudgetInSec=0.0&callback=callback&report=effectiveSettings&departAt=now&arriveAt=string&routeType=fastest&traffic=true&avoid=unpavedRoads&travelMode=car&hilliness=normal&windingness=normal&vehicleMaxSpeed=0&vehicleWeight=0&vehicleAxleWeight=0&vehicleLength=0&vehicleWidth=0&vehicleHeight=0&vehicleCommercial=false&vehicleLoadType=string&constantSpeedConsumptionInLitersPerHundredkm=string¤tFuelInLiters=0.0&auxiliaryPowerInLitersPerHour=0.0&fuelEnergyDensityInMJoulesPerLiter=0.0&accelerationEfficiency=0.0&decelerationEfficiency=0.0&uphillEfficiency=0.0&downhillEfficiency=0.0&vehicleEngineType=electric&constantSpeedConsumptionInkWhPerHundredkm=50,8.2:130,21.3), and press Send. Check the response, add tests and run the whole collection with the runner.
Frequently asked questions
What is the Routing?
Routing consists of the following service: Calculate Route Calculates a route between an origin and a destination, passing through waypoints (if specified).… It is listed under Maps & location and has 4 endpoints.
Who publishes the Routing?
It is listed from Tomtom's public API description (an OpenAPI document), not published by Tomtom on Swastik Codes. Anyone who controls tomtom.com can claim the profile by adding a DNS TXT record.
What is the base URL of the Routing?
Requests go to https://api.tomtom.com. Endpoint paths are added to this base URL.
How do I authenticate with the Routing?
With an API key in the key query parameter.
How many endpoints does the Routing have?
4 operations on 2 paths (2 GET, 2 POST). The largest groups are Routing.
Is forking the Routing free?
Yes. Forking copies the collection into your workspace for free. It has been starred 0 times and forked 0 times.