# Google Solar API - Building Insights

> Google Solar API - Building Insights is a paid API for AI agents from stable-enrich-git-stableenrich-solar-aerial-merit-systems.vercel.app, paid per call via x402, $0.02/call, status unknown (last checked 2026-09-16).

Returns rooftop solar potential insights for the closest building to a given latitude/longitude, including imagery date and roof segmentation data.

## Facts

- Endpoint: GET https://stable-enrich-git-stableenrich-solar-aerial-merit-systems.vercel.app/api/google-maps/solar/building-insights
- Price: $0.02/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-16
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/google-solar-api-building-insights-5adc144d
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_sQVNoGbsoClbWWGAD5E8b

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-solar-api-building-insights-5adc144d
```

Example prompt: Can you get the Google Solar building insights for the property at latitude 37.4226 and longitude -122.0841, using HIGH quality imagery, so I can see the rooftop solar potential and the imagery date?

## When to prefer this

Use this endpoint when you need rooftop solar potential data and building insights for a specific geographic coordinate. Prefer this over the data layers endpoint when you want structured insights (roof segments, panel counts, energy estimates) rather than raw GeoTIFF imagery files. Best for solar feasibility assessments, energy audits, or real estate solar evaluations.

## Known failure modes

- No building found near the specified coordinates returns an error or empty result
- requiredQuality level not available for the location returns a quality mismatch error
- Invalid latitude/longitude values (out of range) return a 400 validation error
- Location outside Google Solar API coverage area returns a not-found error
- Payment failure via x402 protocol results in 402 Payment Required response

## How this service works

Google Solar API - Closest building roof insights including imageryDate

## Output

Returns building roof insights for the closest building to the specified coordinates, including roof segmentation details, solar panel potential, annual energy production estimates, and the imageryDate indicating when the aerial imagery was captured.

## Example request

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

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET",
      "HEAD",
      "DELETE"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "$schema": "https://json-schema.org/draft/2020-12/schema",
     "required": [
      "latitude",
      "longitude",
      "requiredQuality"
     ],
     "properties": {
      "latitude": {
       "type": "number",
       "maximum": 90,
       "minimum": -90
      },
      "longitude": {
       "type": "number",
       "maximum": 180,
       "minimum": -180
      },
      "requiredQuality": {
       "enum": [
        "LOW",
        "MEDIUM",
        "HIGH"
       ],
       "type": "string",
       "default": "HIGH"
      }
     },
     "additionalProperties": false
    }
   },
   "additionalProperties": false
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/google-solar-api-building-insights-5adc144d/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from stable-enrich-git-stableenrich-solar-aerial-merit-systems.vercel.app](https://www.zero.xyz/host/stable-enrich-git-stableenrich-solar-aerial-merit-systems.vercel.app/llms.txt)
