# VerifyOracle Weather Forecast API

> VerifyOracle Weather Forecast API is a paid API for AI agents from verify-oracle.run402.com, paid per call via x402, $0.001/call, status unknown (last checked 2026-10-22).

Returns live current temperature (Fahrenheit and Celsius), precipitation, wind speed, and humidity for a given location using Open-Meteo and NWS data sources.

## Facts

- Endpoint: GET https://verify-oracle.run402.com/api/weather?utm_source=zero.xyz
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-22
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/verifyoracle-weather-forecast-api-688452ed
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_unUmB481iKFnTVEGrbsjt

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 verifyoracle-weather-forecast-api-688452ed
```

Example prompt: What's the current temperature and weather conditions in Austin, Texas — give me both Fahrenheit and Celsius, plus wind speed and precipitation?

## When to prefer this

Choose this endpoint when you need real-time weather conditions including temperature in both Fahrenheit and Celsius, wind speed, humidity, and precipitation for any city or lat/lon coordinate. It is backed by Open-Meteo and NWS, making it suitable for current conditions rather than long-range multi-day forecasts. Prefer this over general-purpose weather APIs when you need a low-cost, pay-per-call option with structured JSON output and no API key setup.

## Known failure modes

- Unknown or unresolvable location name returns an error or defaults to New York
- Network timeout from Open-Meteo or NWS upstream causes delayed or failed response
- Invalid latitude/longitude values outside valid ranges return an error
- Missing required query parameters default to New York (lat 40.7128, lon -74.0060) rather than failing

## How this service works

Live weather forecast and current temperature in Fahrenheit and Celsius with precipitation and wind from Open-Meteo and NWS (default New York).

## Output

A JSON object containing current temperature in both Fahrenheit and Celsius, wind speed in MPH, humidity percentage, precipitation in inches, the data source (open-meteo or NWS), resolved latitude/longitude, location name, and a UTC timestamp of the observation.

## 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": {
      "q": {
       "type": "string",
       "description": "Alias for location"
      },
      "lat": {
       "type": "number",
       "description": "Optional latitude (default 40.7128)"
      },
      "lon": {
       "type": "number",
       "description": "Optional longitude (default -74.0060)"
      },
      "city": {
       "type": "string",
       "description": "Alias for location"
      },
      "location": {
       "type": "string",
       "description": "City or location name (default New York)"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "temp": 65.1,
  "unit": "fahrenheit",
  "value": 65.1,
  "source": "open-meteo-primary",
  "latitude": 40.7128,
  "location": "New York",
  "longitude": -74.006,
  "timestamp": "2026-10-21T18:00:00.000Z",
  "windSpeedMph": 7.2,
  "humidityPercent": 55,
  "precipitationInch": 0,
  "temperatureCelsius": 18.4,
  "temperatureFahrenheit": 65.1
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/verifyoracle-weather-forecast-api-688452ed/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from verify-oracle.run402.com](https://www.zero.xyz/host/verify-oracle.run402.com/llms.txt)
