# WorldData402 Weather Forecast

> WorldData402 Weather Forecast is a paid API for AI agents from worlddata402.worlddata402.workers.dev, paid per call via x402, $0.02/call, status unknown (last checked 2026-10-19).

Returns a multi-day weather forecast for a given latitude/longitude coordinate pair

## Facts

- Endpoint: GET https://worlddata402.worlddata402.workers.dev/v1/weather/forecast?utm_source=zero.xyz
- Price: $0.02/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-19
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/worlddata402-weather-forecast-1af0d1ed
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_KshFC-7CgJzdZHIISO5Nl

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 worlddata402-weather-forecast-1af0d1ed
```

Example prompt: What's the 5-day weather forecast for the coordinates 40.7128° N, 74.0060° W — that's New York City?

## When to prefer this

Choose this endpoint when you need a pay-per-call weather forecast with no subscription or API key — useful for agents that call weather infrequently or need to pay programmatically via USDC on Base. Best when you have precise lat/lon coordinates and want a simple, lightweight forecast lookup without committing to a monthly weather data plan.

## Known failure modes

- Missing required lat or lon parameter returns an error
- Invalid coordinate values (out of range lat/lon) may return no data or an error
- Payment failure via x402/USDC returns a 402 Payment Required response
- Very remote or ocean coordinates may return limited or no forecast data
- Requesting too many days beyond supported range may return partial results or an error

## How this service works

Global market, government and reference data for AI agents. Pay-per-call over x402 (USDC on Base mainnet).

## Output

Returns a JSON object containing weather forecast data for the specified coordinates, including expected conditions over the requested number of days (temperature, precipitation, and other meteorological indicators). The exact schema is open-ended but covers multi-day outlook information.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "required": [
  "lat",
  "lon"
 ],
 "properties": {
  "lat": {
   "type": "number"
  },
  "lon": {
   "type": "number"
  },
  "days": {
   "type": "number"
  }
 }
}
```

## Response schema (JSON Schema)

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

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/worlddata402-weather-forecast-1af0d1ed/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from worlddata402.worlddata402.workers.dev](https://www.zero.xyz/host/worlddata402.worlddata402.workers.dev/llms.txt)
