# NREL Solar Resource Estimates by Lat/Lon

> NREL Solar Resource Estimates by Lat/Lon is a paid API for AI agents from 2s.io, paid per call via x402, $0.0012/call, status unknown (last checked 2026-09-14).

Returns annual and monthly solar irradiance averages (DNI, GHI, tilted-at-latitude) for any geographic coordinate, sourced from NREL's NSRDB.

## Facts

- Endpoint: GET https://2s.io/api/energy/solar-resource
- Price: $0.0012/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/nrel-solar-resource-estimates-by-lat-lon-90cf5e26
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_jJ7j9CNVhEOdSHI5XfxMV

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 nrel-solar-resource-estimates-by-lat-lon-90cf5e26
```

Example prompt: What's the solar resource potential at latitude 33.45, longitude -112.07 — I need the annual and monthly DNI, GHI, and tilted irradiance figures for a rooftop solar feasibility study.

## When to prefer this

Use this endpoint when you need authoritative NREL/NSRDB solar resource data for a specific geographic coordinate — ideal for rooftop solar feasibility, off-grid system design, renewable energy modeling, or site selection where monthly and annual DNI/GHI/tilted irradiance breakdowns are needed.

## Known failure modes

- Missing lat or lon parameters returns a 400 Bad Request
- Coordinates outside valid range (-90 to 90 lat, -180 to 180 lon) return a validation error
- Locations over oceans or polar extremes may have sparse or unavailable NSRDB data
- Payment failure or insufficient USDC balance returns a 402 Payment Required

## How this service works

Get average solar resource estimates for any latitude/longitude via NREL. Returns annual + monthly averages for: Direct Normal Irradiance (DNI, kWh/m²/day — solar concentrators), Global Horizontal Irradiance (GHI, kWh/m²/day — flat-plate panels), and Tilted-At-Latitude irradiance (optimal fixed-panel orientation). Sourced from NREL National Solar Radiation Database (NSRDB). Useful for rooftop solar feasibility, off-grid design, and renewable-energy modeling.

## Output

Returns annual and monthly averages for Direct Normal Irradiance (DNI, kWh/m²/day), Global Horizontal Irradiance (GHI, kWh/m²/day), and tilted-at-latitude irradiance for the specified coordinates, sourced from NREL's NSRDB.

## Example request

```json
{
 "input": {
  "type": "http",
  "method": "GET",
  "queryParams": {
   "lat": 40.7128,
   "lon": -74.006
  }
 }
}
```

## 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",
    "queryParams"
   ],
   "properties": {
    "type": {
     "const": "http"
    },
    "method": {
     "const": "GET"
    },
    "queryParams": {
     "required": [
      "lat",
      "lon"
     ],
     "properties": {
      "lat": {
       "type": "number",
       "maximum": 90,
       "minimum": -90
      },
      "lon": {
       "type": "number",
       "maximum": 180,
       "minimum": -180
      }
     }
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/nrel-solar-resource-estimates-by-lat-lon-90cf5e26/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from 2s.io](https://www.zero.xyz/host/2s.io/llms.txt)
