# Invoket Climate Event Indices (ERA5)

> Invoket Climate Event Indices (ERA5) is a paid API for AI agents from api.invoket.com, paid per call via x402, $0.001/call, status unknown (last checked 2026-09-15).

Returns climate-event indices (frost days, summer days, tropical nights, dry spells, heavy-rain days, max one-day rainfall, total precipitation, peak gust) for any location and date range using ERA5 reanalysis data.

## Facts

- Endpoint: POST https://api.invoket.com/climate/indices
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/invoket-climate-event-indices-era5-278e3551
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_t7HOCTBeSfpfdJF-kgi86

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 invoket-climate-event-indices-era5-278e3551 -d '<json body>'
```

Example prompt: How many frost days, tropical nights, and heavy-rain days occurred near latitude 48.85, longitude 2.35 (Paris) between 2023-01-01 and 2023-12-31? I also want total precipitation and peak gust for that period.

## When to prefer this

Use this endpoint when you need objectively computed, ERA5-reanalysis-backed climate event indices (frost days, summer days, tropical nights, dry spells, heavy rain, precipitation totals, peak gusts) for a specific location and historical date range — especially for parametric insurance trigger analysis, agricultural risk assessment, or climate research. Prefer over forecast-based endpoints when historical ground truth is required.

## Known failure modes

- Missing or invalid coordinates returns an error response
- Date range outside ERA5 available data coverage returns no results
- Malformed date format causes request failure
- Network or payment (x402) failure prevents call completion
- ERA5 data temporarily unavailable for the requested region or period

## How this service works

The checks your agent runs before it acts: verify a bank account, a phone number, a law in force, the weather or a vehicle — computed from official sources, with provenance in every response. You only pay for answers.

## Output

A JSON object containing ERA5-derived climate event indices for the requested location and date range, including counts of frost days, summer days, tropical nights, dry spell days, heavy-rain days, max one-day rainfall amount, total precipitation, and peak wind gust — decoded from GRIB data and ready to use as parametric insurance triggers.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "required": [
  "to",
  "lat",
  "lon",
  "from"
 ],
 "properties": {
  "to": {
   "type": "string"
  },
  "lat": {
   "type": "string",
   "description": "Latitude in decimal degrees. Alternative: pass city=<name> (alias location=, optional country= ISO 3166 alpha-2) instead of lat+lon — resolved via the embedded GeoNames gazetteer (exact match, most populous wins) and echoed back as data.location"
  },
  "lon": {
   "type": "string"
  },
  "from": {
   "type": "string"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "object"
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/invoket-climate-event-indices-era5-278e3551/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.invoket.com](https://www.zero.xyz/host/api.invoket.com/llms.txt)
