# Agent Data Tools – Weather & Forecast

> Agent Data Tools – Weather & Forecast is a paid API for AI agents from agent-data-tools.revmesh2074.workers.dev, paid per call via x402, $0.002/call, status unknown (last checked 2026-10-14).

Returns current weather conditions and hourly forecast for a given latitude/longitude using MET Norway data

## Facts

- Endpoint: GET https://agent-data-tools.revmesh2074.workers.dev/weather?utm_source=zero.xyz
- Price: $0.002/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/agent-data-tools-weather-forecast-af29e529
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_LluFCTuevlmVhwJAfw7zq

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 agent-data-tools-weather-forecast-af29e529
```

Example prompt: What's the current weather and next 12 hours of forecast at latitude 59.33, longitude 18.07?

## When to prefer this

Choose this endpoint when you need real-time weather and short-term hourly forecasts by geographic coordinates without setting up an account or API key, and you want to pay only per call in USDC. It is ideal for AI agents that need on-demand weather enrichment at arbitrary GPS coordinates, especially when integrated into workflows that already use x402/Base payments. Prefer alternatives if you need daily forecasts beyond 48 hours, named city lookup without coordinates, or weather alerts.

## Known failure modes

- Missing required lat or lon parameters returns an error
- Latitude out of range (-90 to 90) or longitude out of range (-180 to 180) returns a validation error
- Hours parameter outside 1-48 range may return an error or be clamped
- Payment not provided or insufficient USDC results in HTTP 402 response
- MET Norway upstream outage may cause delayed or failed response
- Coordinates in oceans or extremely remote areas may have limited or no forecast data

## How this service works

Read public static documentation as text or Markdown with code, tables, headings and links for $0.002 USDC on Base via x402. Inspect real cached examples and an unsigned quote, then buy with a capped Node CLI. No account or API key. No JavaScript rendering, authenticated or paywalled access. Other paid utilities remain available.

## Output

A JSON object containing the data source attribution (MET Norway), current conditions (temperature in Celsius, humidity, wind speed and direction, pressure, precipitation, cloud cover, conditions label, timestamp), and an array of hourly forecast entries with the same fields, plus metadata including latitude, longitude, elevation in meters, and timestamps for when data was checked and when the forecast was last updated by MET Norway.

## 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",
     "required": [
      "lat",
      "lon"
     ],
     "properties": {
      "lat": {
       "type": "number",
       "description": "Latitude in decimal degrees, -90 to 90"
      },
      "lon": {
       "type": "number",
       "description": "Longitude in decimal degrees, -180 to 180"
      },
      "hours": {
       "type": "integer",
       "description": "Hours of hourly forecast to return, 1-48 (default 12)"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "source": "MET Norway (api.met.no), licensed CC BY 4.0",
  "current": {
   "time": "2026-10-13T09:00:00Z",
   "conditions": "cloudy",
   "pressureHpa": 1024.2,
   "windSpeedMs": 1.1,
   "temperatureC": 7.5,
   "humidityPercent": 85.9,
   "precipitationMm": 0,
   "windFromDegrees": 317,
   "cloudCoverPercent": 94.6
  },
  "forecast": [
   {
    "time": "2026-10-13T10:00:00Z",
    "conditions": "partlycloudy_day",
    "pressureHpa": 1023.8,
    "windSpeedMs": 1.2,
    "temperatureC": 8.5,
    "humidityPercent": 83.9,
    "precipitationMm": 0,
    "windFromDegrees": 335,
    "cloudCoverPercent": 73
   }
  ],
  "latitude": 59.33,
  "checkedAt": "2026-10-13T09:12:00.000Z",
  "longitude": 18.07,
  "elevationM": 23,
  "forecastUpdatedAt": "2026-10-13T08:30:57Z"
 }
}
```

## More

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