Skip to content
onelayer.
All tools

Tool detail

Google Maps · Compute routes between locations

Computes one or more routes between an origin and destination with distance and duration, via Google's newer Routes API (POST).

Categories: Maps places

Use when

  • get an up-to-date route with distance and duration between two points
  • compare a few alternative routes for one trip

Not for

  • not the classic GET directions endpoint's response format
  • not many-to-many travel times (use compute route matrix)

Inputs

inputs undocumented

Inputs undocumented: mpp.dev lists no input schema; see the provider's API reference

Endpoint

Method
POST
URL
https://googlemaps.mpp.tempo.xyz/routes/directions/v2:computeRoutes

Payment

Protocol
MPP
Listed price
0.005 units per call on tempo:mainnet (asset 0x20c0...8b50)
Payment method
tempo
Network
tempo:mainnet
Asset
0x20c000000000000000000000b9537d11c60e8b50

Listed terms are catalog metadata. The caller supplies inputs and calls the tool outside Onelayer. If payment is required, the caller uses a compatible wallet to pay.

Source

Directory
MPP directory
Record
googlemaps POST /routes/directions/v2:computeRoutes
Retrieved
2026-09-30T20:37:07.382Z
Catalog file SHA-256
6837ccddf886f0007cf3727ea9d27faaa5047b51b4f425345c554ce1c271a524
Catalog built
2026-09-30T22:31:58.034Z