# Google Solar API - Building Roof Insights

> Google Solar API - Building Roof Insights is a paid API for AI agents from stableenrich.dev, paid per call via x402, $0.02/call, status unknown (last checked 2026-09-13).

Returns solar potential and roof insights for the closest building at a given latitude/longitude, including imagery date and quality metadata

## Facts

- Endpoint: GET https://stableenrich.dev/api/google-maps/solar/building-insights
- Price: $0.02/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-13
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/stableenrich-dev-a1595a17
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_8_olYF4j7E2JCaQmfH0HB

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 stableenrich-dev-a1595a17
```

Example prompt: Can you look up the solar roof insights for the building at coordinates 37.4226711, -122.0849872 using HIGH quality imagery — I want to know the solar potential and when the imagery was taken?

## When to prefer this

Use this endpoint when you need structured solar potential data and roof insights for a specific building location, especially when imagery recency (imageryDate) matters. Prefer over raw GeoTIFF layer downloads when you need processed building-level insights rather than raster imagery data.

## Known failure modes

- No building found at given coordinates — returns empty or null result
- requiredQuality level not available for location — may return error or lower quality fallback
- Coordinates out of range (latitude > 90 or < -90, longitude > 180 or < -180) — validation error
- Location not covered by Google Solar imagery — no data available
- Invalid requiredQuality enum value — schema validation error

## How this service works

Google Solar API - Closest building roof insights including imageryDate

## Output

Returns building roof insights from Google Solar API including roof segment data, annual solar potential, panel capacity estimates, imagery date, and data quality indicators for the closest building to the provided coordinates.

## Example request

```json
{
 "input": {
  "type": "http",
  "method": "GET",
  "queryParams": {
   "latitude": 37.4226711,
   "longitude": -122.0849872,
   "requiredQuality": "HIGH"
  }
 }
}
```

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "required": {
   "type": "string"
  },
  "properties": {
   "type": "string"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/stableenrich-dev-a1595a17/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from stableenrich.dev](https://www.zero.xyz/host/stableenrich.dev/llms.txt)
