# weather.payapi.market Forecast

> weather.payapi.market Forecast is a paid API for AI agents from weather.payapi.market, paid per call via x402, $0.001/call, status down (last checked 2026-09-16).

Returns a multi-day weather forecast (1–16 days) for any global location, including daily min/max temperatures, precipitation, wind, weather codes, sunrise, and sunset.

## Facts

- Endpoint: POST https://weather.payapi.market/forecast
- Price: $0.001/call
- Payment: x402
- Status: down
- Last checked: 2026-09-16
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/weather-payapi-market-forecast-5a02557f
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_iE3ZdRWY-SMLAG8REKJ7-

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 weather-payapi-market-forecast-5a02557f -d '<json body>'
```

Example prompt: Can you pull the 10-day weather forecast for Barcelona, showing daily highs, lows, precipitation, and wind?

## When to prefer this

Choose this endpoint when you need a structured multi-day (up to 16 days) daily weather forecast for any global city or location, especially when you need precipitation, wind, and astronomical data (sunrise/sunset) alongside temperature. Prefer it over the sibling current-conditions endpoint when planning future activities rather than checking right-now conditions.

## Known failure modes

- Unrecognized or ambiguous location name returns an error or empty result
- Requested days value outside 1–16 range is rejected by schema validation
- Typos in city names may resolve to wrong location or fail entirely
- Payment failure (x402) if USDC balance is insufficient
- Temporary upstream weather data provider outage returns a 5xx error

## How this service works

Multi-day weather forecast (1-16 days) for any global location — daily min/max temperatures, precipitation, wind, weather codes, sunrise and sunset.

## Output

A daily weather forecast array covering 1–16 days for the requested location, with each day including minimum and maximum temperatures, precipitation amount, wind speed and direction, a weather condition code, and local sunrise/sunset times.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "days": {
   "type": "integer",
   "maximum": 16,
   "minimum": 1,
   "description": "Number of forecast days to return (1-16). Defaults to 7."
  },
  "location": {
   "type": "string",
   "description": "City or place name to forecast weather for."
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/weather-payapi-market-forecast-5a02557f/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from weather.payapi.market](https://www.zero.xyz/host/weather.payapi.market/llms.txt)
