# greeneris-data Solar Irradiance & Temperature History

> greeneris-data Solar Irradiance & Temperature History is a paid API for AI agents from data.greeneris.io, paid per call via x402, $0.01/call, status unknown (last checked 2026-09-14).

Returns daily historical solar irradiance and surface temperature data for any geographic location using NASA POWER data, for a specified date range.

## Facts

- Endpoint: GET https://data.greeneris.io/v1/solar/history
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/greeneris-data-solar-irradiance-temperature-history-0f7cb83d
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_DG4FxEuzU5wCAkqDm7dcs

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 greeneris-data-solar-irradiance-temperature-history-0f7cb83d
```

Example prompt: Pull me the daily solar irradiance and surface temperature for Paris (latitude 48.85, longitude 2.35) from June 1 to June 30, 2026 — I need the ALLSKY_SFC_SW_DWN and T2M parameters from the NASA POWER dataset.

## When to prefer this

Choose this endpoint when you need historical daily solar irradiance or surface temperature data for any global coordinate, especially for renewable energy site assessment, solar panel performance analysis, or climate research. It proxies NASA POWER open data at commodity pay-per-call pricing with no account required — ideal for AI agents needing programmatic access without API key setup.

## Known failure modes

- Missing required query params (latitude, longitude, start, end) — HTTP 400
- Date range exceeds 366 days — HTTP 400 or data truncation
- Start date before 19810101 — HTTP 400 (NASA POWER coverage begins 1981)
- Invalid NASA POWER parameter code — HTTP 400 or empty data
- HTTP 402 returned if payment not included — machine-readable quote for USDC payment via x402
- Location over ocean or outside NASA coverage — fill_value -999 returned for affected dates

## How this service works

Historical daily solar irradiance and weather series from NASA POWER for any lat/lon: ALLSKY_SFC_SW_DWN (kWh/m2/day), T2M (deg C), WS10M (m/s) and other POWER codes. Query: ?latitude=48.85&longitude=2.35&start=20260601&end=20260630&parameters=ALLSKY_SFC_SW_DWN,T2M. Coverage 1981..present (few days lag), max 366 days per call, -999 marks missing days. 24h cache. Sized for PV project due diligence, agrivoltaics and off-grid design.

## Output

A JSON object containing daily values keyed by date (YYYYMMDD) for each requested NASA POWER parameter (e.g. solar irradiance in kWh/m²/day, temperature in °C), plus the latitude, longitude, date range, units, and source attribution. Missing data is represented by fill_value -999.

## 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",
     "required": [
      "latitude",
      "longitude",
      "start",
      "end"
     ],
     "properties": {
      "end": {
       "type": "string",
       "description": "End date YYYYMMDD (max 366 days after start)"
      },
      "start": {
       "type": "string",
       "description": "Start date YYYYMMDD (>= 19810101)"
      },
      "latitude": {
       "type": "number",
       "description": "Latitude, decimal degrees (-90..90)"
      },
      "longitude": {
       "type": "number",
       "description": "Longitude, decimal degrees (-180..180)"
      },
      "parameters": {
       "type": "string",
       "default": "ALLSKY_SFC_SW_DWN,T2M",
       "description": "1-6 comma-separated NASA POWER codes"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "end": "2026-06-05",
  "daily": {
   "T2M": {
    "20260601": 18.41,
    "20260602": 16.17
   },
   "ALLSKY_SFC_SW_DWN": {
    "20260601": 7.0603,
    "20260602": 4.3289
   }
  },
  "start": "2026-06-01",
  "units": {
   "T2M": "C",
   "ALLSKY_SFC_SW_DWN": "kW-hr/m^2/day"
  },
  "source": "NASA POWER (power.larc.nasa.gov), NASA open data",
  "latitude": 48.85,
  "longitude": 2.35,
  "fill_value": -999
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/greeneris-data-solar-irradiance-temperature-history-0f7cb83d/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from data.greeneris.io](https://www.zero.xyz/host/data.greeneris.io/llms.txt)
