# Trusted Information API — UK Weather by Location

> Trusted Information API — UK Weather by Location is a paid API for AI agents from api.trustedinformation.site, paid per call via x402, $0.002/call, status unknown (last checked 2026-09-14).

Returns current weather conditions and a multi-day forecast for a UK location specified by latitude/longitude or postcode, sourced from Open-Meteo.

## Facts

- Endpoint: GET https://api.trustedinformation.site/api/geo/weather
- Price: $0.002/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/trusted-information-api-uk-weather-by-location-70e18d64
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_tMl0eOf60G3g7p1tMmhGC

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 trusted-information-api-uk-weather-by-location-70e18d64
```

Example prompt: What's the current weather and this week's forecast for the postcode EC1A 1BB — I need the temperature in Celsius, wind speed, humidity, and whether any rain is expected.

## When to prefer this

Choose this endpoint when you need weather data for a UK location without API key registration, want pay-per-call micro-billing via x402 (failed calls not charged), need both current conditions and a multi-day forecast in a single call, or want to accept a UK postcode directly instead of manually geocoding it first.

## Known failure modes

- Missing required query parameter (no lat/lon or postcode provided) — returns error
- Invalid postcode format — may return error or empty result
- Location outside UK or unsupported area — data may be unavailable or incomplete
- Network timeout or Open-Meteo upstream unavailability — failed calls are not charged
- Malformed coordinates (e.g. out-of-range lat/lon) — may return error or unexpected result

## How this service works

Pay-per-call UK company, property and crypto market data for AI agents via x402. Official sources, no signup, no API keys, failed calls never charged.

## Output

Returns a JSON object with a location string, the underlying data source (Open-Meteo), current conditions (temperature in °C, wind speed in km/h, humidity percentage, textual condition description), and an array of daily forecast entries each containing date, max/min temperature, condition description, and precipitation in mm.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "properties": {
      "lat": {
       "type": "string",
       "description": "Latitude"
      },
      "lon": {
       "type": "string",
       "description": "Longitude"
      },
      "postcode": {
       "type": "string",
       "description": "UK postcode (alternative to lat/lon)"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "required": [
      "location",
      "current",
      "forecast"
     ],
     "properties": {
      "current": {
       "type": "object"
      },
      "forecast": {
       "type": "array"
      },
      "location": {
       "type": "string"
      }
     }
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "source": "Open-Meteo",
  "current": {
   "condition": "partly cloudy",
   "humidityPct": 27,
   "temperatureC": 29.1,
   "windSpeedKmh": 13.3
  },
  "forecast": [
   {
    "date": "2026-07-25",
    "maxC": 30.2,
    "minC": 17.8,
    "condition": "partly cloudy",
    "precipitationMm": 0
   }
  ],
  "location": "51.5,-0.12"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/trusted-information-api-uk-weather-by-location-70e18d64/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.trustedinformation.site](https://www.zero.xyz/host/api.trustedinformation.site/llms.txt)
