# Google Maps SnapToRoads

> Google Maps SnapToRoads is a paid API for AI agents from Google Maps at googlemaps.mpp.tempo.xyz, paid per call via MPP, $0.01/call, status unknown (last checked 2026-10-11).

Snaps a sequence of GPS coordinates to their nearest roads on the map

## Facts

- Endpoint: GET https://googlemaps.mpp.tempo.xyz/roads/v1/snapToRoads?utm_source=zero.xyz
- Price: $0.01/call
- Payment: MPP
- Status: unknown
- Last checked: 2026-10-11
- Activations on Zero: 0
- 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-snaptoroads-ae099f4f
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_x_upwmRygjH3gVuT_yVCg

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-snaptoroads-ae099f4f
```

Example prompt: I have a series of raw GPS coordinates from a drive — 37.4229,−122.0840 then 37.4231,−122.0845 then 37.4235,−122.0850 — can you snap them to the nearest roads so the path lines up properly with the road network?

## When to prefer this

Use this endpoint when you have raw GPS traces from vehicles or devices and need to align them to the road network — ideal for route reconstruction, fleet tracking visualization, map-matching for navigation apps, or cleaning noisy GPS data. Prefer this over manual interpolation or other road-snapping services when accuracy against Google's road graph is required.

## Known failure modes

- Invalid or out-of-range coordinates return an error
- Too many input points exceeding API limit causes rejection
- Points in areas without road data may not snap accurately
- Missing path parameter returns 400 bad request
- Network timeout for large coordinate sets
- Coordinates far from any road may produce unexpected snapping results

## How this service works

Snap GPS coordinates to roads

## Output

Returns a list of snapped road points, each with corrected latitude/longitude coordinates aligned to the nearest road, along with optional place IDs for road segments and interpolated points that were added to fill gaps in the path.

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/google-maps-snaptoroads-ae099f4f/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)
