# UK Weather Forecast API (property.payapi.market)

> UK Weather Forecast API (property.payapi.market) is a paid API for AI agents from property.payapi.market, paid per call via x402, $0.001/call, status unknown (last checked 2026-10-17).

Returns a multi-day weather forecast (temperature, precipitation, weather code) for a given UK or global city name.

## Facts

- Endpoint: POST https://property.payapi.market/weather-forecast?utm_source=zero.xyz
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-17
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/uk-weather-forecast-api-property-payapi-market-0f738534
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_Fs_sBYnftFjrjO1CrurWm

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 uk-weather-forecast-api-property-payapi-market-0f738534 -d '<json body>'
```

Example prompt: Can you pull me a 7-day weather forecast for Manchester, showing daily highs, lows, and precipitation?

## When to prefer this

Choose this endpoint when you need a structured daily weather forecast for a named city and want to pay per-call via the x402 micropayment protocol without a subscription. It is suitable for lightweight, one-off agent queries needing temperature and precipitation data for up to 16 days. It is less suitable for real-time hourly data, historical weather, or weather alerts.

## Known failure modes

- Unknown or misspelled location name returns an error or empty result
- Requested days value exceeds maximum of 16, causing a validation error
- Network or upstream weather provider outage returns a 5xx error
- Payment via x402 protocol fails or is rejected, blocking the request
- Days parameter below minimum of 1 returns a validation error

## How this service works

Production API for UK sold prices, rental yields, and stamp duty. Paid via x402 protocol. Designed for AI agent consumption.

## Output

Returns a JSON object containing an array of daily forecast entries (each with date, max/min temperature in Celsius, precipitation in mm, and a weather code), plus a location block confirming the matched place name, country, latitude, and longitude.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "days": {
   "type": "integer",
   "maximum": 16,
   "minimum": 1,
   "description": "Forecast horizon in days. Defaults to 7."
  },
  "location": {
   "type": "string",
   "description": "City or place name."
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "forecast": [
   {
    "date": "2025-05-01",
    "temp_max_c": 15.2,
    "temp_min_c": 8.1,
    "weather_code": 61,
    "precipitation_mm": 1.4
   },
   {
    "date": "2025-05-02",
    "temp_max_c": 14.8,
    "temp_min_c": 7.6,
    "weather_code": 3,
    "precipitation_mm": 0.2
   }
  ],
  "location": {
   "name": "Manchester",
   "country": "United Kingdom",
   "latitude": 53.4808,
   "longitude": -2.2426
  }
 }
}
```

## More

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