Routing
Compute a route between two locations
Generate routes, ETAs, and turn-by-turn directions between locations. Live traffic is post-route ETA enrichment and does not change the returned path; truck traffic adjustments are slowdown-only. Supports auto / truck / bicycle / pedestrian / motorcycle, with hazmat + dimension + toll avoidance for commercial routing. Costs 1 quota unit per call.
post/v1/directions
Request
- Base URL: https://geo.thinair.co
- URL: https://geo.thinair.co/v1/directions
- Auth: HTTP bearer
Request body
Example request
{
"origin": "Houston, TX",
"destination": "Houston, TX",
"via": [
"Houston, TX"
],
"costing": "auto",
"preset": "truck_53",
"vehicle_profile": "DRY_VAN_53",
"truck_height": 4.11,
"truck_weight": 36.3,
"units": "miles"
}Response
Successful route. See geojson for FeatureCollection geometry.
Changes
No recorded changes to this operation across all 1 revision of this API.