# Google Maps NearestRoads

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

Finds the nearest road segments to one or more geographic coordinates using the Google Maps Roads API

## Facts

- Endpoint: GET https://googlemaps.mpp.tempo.xyz/roads/v1/nearestRoads?utm_source=zero.xyz
- Price: $0.017/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-nearestroads-ba63848c
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_9w_zURUt3RDAT3QZdbk_s

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-nearestroads-ba63848c
```

Example prompt: What are the nearest roads to the GPS coordinates 37.7749, -122.4194 in San Francisco?

## When to prefer this

Use this endpoint when you need to snap GPS or sensor coordinates to the actual road network, identify which road a point is nearest to, or enrich raw location data with road metadata. Prefer this over geocoding endpoints when your input is raw coordinates rather than an address, and your goal is road-level snapping rather than address resolution.

## Known failure modes

- Invalid or missing coordinates return a 400 error
- Coordinates in remote areas with no road data may return empty results
- Coordinates outside supported geographic regions may not return results
- Rate limit exceeded returns 429 error
- Invalid API key or unauthorized access returns 401/403

## How this service works

Find nearest roads to coordinates

## Output

Returns a list of road segments nearest to the provided coordinates, including snapped latitude/longitude positions, place IDs for each road, and road names where available.

## More

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