# Google Maps Solar API – BuildingInsights:FindClosest

> Google Maps Solar API – BuildingInsights:FindClosest 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).

Returns solar energy potential and rooftop insights for the building closest to a given lat/lng coordinate

## Facts

- Endpoint: GET https://googlemaps.mpp.tempo.xyz/solar/v1/buildingInsights:findClosest?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-buildinginsights-findclosest-3440de2d
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_hSRMG_blLHgAjqOvTOlPW

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-buildinginsights-findclosest-3440de2d
```

Example prompt: Can you pull up the solar energy potential for the building at coordinates 37.4450° N, 122.1390° W — I want to know the roof segments, annual sunshine hours, and estimated solar panel output capacity?

## When to prefer this

Use this endpoint when you need detailed solar energy analysis for a specific building or property, including rooftop segment geometry, sunshine hours, and energy production estimates. Prefer this over generic geocoding endpoints when the goal is solar feasibility assessment or renewable energy planning for a structure at a known location.

## Known failure modes

- No building found near the provided coordinates — returns NOT_FOUND error
- Coordinates fall outside supported coverage area — returns RESOURCE_EXHAUSTED or NOT_FOUND
- Invalid or missing lat/lng parameters — returns INVALID_ARGUMENT
- API key missing or unauthorized — returns PERMISSION_DENIED
- Rate limit exceeded — returns RESOURCE_EXHAUSTED with retry hint

## How this service works

Get building solar insights

## Output

Returns a BuildingInsights object containing the closest building's solar data: roof segment analysis with area and pitch, max sunshine hours per year, carbon offset estimates, solar panel configurations with energy output and cost savings, and building location metadata.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "required": [
  "location",
  "size",
  "heading",
  "pitch"
 ],
 "properties": {
  "size": {
   "type": "string"
  },
  "pitch": {
   "type": "string"
  },
  "heading": {
   "type": "string"
  },
  "location": {
   "type": "string"
  }
 }
}
```

## More

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