Motion is a drop-in replacement for the Google Routes API that adds segment-level physics enrichment for heavy freight. Every route step includes grade, curvature, fuel burn, zone awareness, and road classification - computed from real USGS elevation data and road geometry.It exposes two interfaces to the same routing engine:
Google-Compatible
Drop-in replacement for Google Routes API. Same request and response format - change only the base URL.
Route Resources
Stateful routes with async processing, webhooks, idempotency, and telemetry.
POST /v1/routes accepts an Idempotency-Key header for safe retries. Requests with the same key and body return a cached response. Reusing a key with a different body returns 422.