# Google Maps Directions API

> Google Maps Directions API is a paid API for AI agents from Google Maps at googlemaps.mpp.tempo.xyz, paid per call via MPP, $0.005/call, status unknown (last checked 2026-10-12, last successful call 2026-07-19).

Returns step-by-step directions between two or more locations including route, distance, duration, and travel mode options

## Facts

- Endpoint: GET https://googlemaps.mpp.tempo.xyz/maps/directions/json?utm_source=zero.xyz
- Price: $0.005/call
- Payment: MPP
- Status: unknown
- Last checked: 2026-10-12
- Last successful call: 2026-07-19
- Success rate: 100% of calls made through Zero
- Activations on Zero: 2
- Provider: Google Maps
- Docs: https://developers.google.com/maps
- Website: https://developers.google.com/maps
- Tags: maps, google, geocoding, directions, places, routes, tiles, weather, air-quality, solar, roads, pollen, geolocation, aerial, validation, data
- Canonical page: https://www.zero.xyz/c/google-maps-json-0f4b14fe
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_lyeeYrjxZHiCNTYi3yPD8

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability google-maps-json-0f4b14fe
```

Example prompt: What's the best driving route from the Eiffel Tower in Paris to the Palace of Versailles, and how long will it take if I leave tomorrow morning at 9am?

## When to prefer this

Use this endpoint when you need full step-by-step turn-by-turn directions with route geometry, instructions, and travel breakdown. Prefer this over the Distance Matrix endpoint when you need the actual route path and instructions, not just aggregate travel time/distance. Ideal for navigation apps, trip planning, and any use case requiring detailed waypoint-level routing information.

## Known failure modes

- Origin or destination not found — returns ZERO_RESULTS status
- No route available between locations — returns ZERO_RESULTS
- Invalid travel mode specified — returns INVALID_REQUEST
- Ambiguous address input — returns multiple geocode candidates requiring disambiguation
- API key missing or invalid — returns REQUEST_DENIED
- Rate limit exceeded — returns OVER_DAILY_LIMIT or OVER_QUERY_LIMIT
- Network timeout or service unavailability — returns UNKNOWN_ERROR

## How this service works

Get directions between locations

## Output

Returns a structured JSON object containing one or more routes, each with legs broken into steps that include turn-by-turn instructions, distance and duration for each step, encoded polyline geometry, start and end addresses, total distance and travel time for the full journey, and travel mode details.

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/google-maps-json-0f4b14fe/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from googlemaps.mpp.tempo.xyz](https://www.zero.xyz/host/googlemaps.mpp.tempo.xyz/llms.txt)
