# Invoket Climate Aggregate (ERA5 Period Summary)

> Invoket Climate Aggregate (ERA5 Period Summary) 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 mean/min/max temperature, total precipitation, and mean wind speed for any GPS coordinate over a specified date range using ERA5 reanalysis data.

## Facts

- Endpoint: POST https://api.invoket.com/climate/aggregate
- 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-aggregate-era5-period-summary-9a1e0b1f
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_T9DirtcBDqeIhbe4_dYjX

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-aggregate-era5-period-summary-9a1e0b1f -d '<json body>'
```

Example prompt: Can you pull the ERA5 climate summary for coordinates 48.8566°N, 2.3522°E from January 1 2023 to March 31 2023 — I need the mean, min, and max temperature, total precipitation, and mean wind speed for that period?

## When to prefer this

Use this endpoint when you need historical climate statistics (not forecasts) for any arbitrary GPS location over a custom date range, without needing an account or API key. It is ideal for one-off or programmatic queries where ERA5 reanalysis accuracy is required and you want pay-per-call pricing. Prefer it over weather forecast APIs when the date range is in the past, and over bulk dataset downloads when you only need aggregate statistics for a single point.

## Known failure modes

- Invalid or out-of-range GPS coordinates return an error
- Date range outside ERA5 available data coverage returns an error
- Missing required query parameters (lat, lon, start date, end date) return a 400-level error
- x402 payment not completed or insufficient funds causes request to fail with 402 Payment Required
- Extremely long date ranges may time out or incur higher latency

## 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

Returns aggregated climate statistics for the specified GPS point and date range derived from ERA5 reanalysis GRIB data: mean temperature, minimum temperature, maximum temperature, total precipitation, and mean wind speed over the requested period.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "required": [
  "to",
  "from",
  "country",
  "location"
 ],
 "properties": {
  "to": {
   "type": "string"
  },
  "from": {
   "type": "string"
  },
  "country": {
   "type": "string",
   "description": "Optional ISO 3166 alpha-2 country code narrowing the place-name lookup (e.g. country=CH keeps only Swiss matches); only meaningful together with location=/city="
  },
  "location": {
   "type": "string",
   "description": "City or place name, resolved against the embedded GeoNames cities500 gazetteer: exact name match (case- and accent-insensitive, no fuzzy matching), ties broken by population (most populous wins). Alias: city. Alternative: pass lat + lon directly instead. The resolved place is echoed back as data.location."
  }
 }
}
```

## Response schema (JSON Schema)

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

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/invoket-climate-aggregate-era5-period-summary-9a1e0b1f/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)
