Current conditions and forecast for any latitude/longitude
Current conditions and forecast for any latitude/longitude. Returns present weather plus a 1-7 day daily forecast (temp max/min, precipitation, sunrise/sunset, UV index) and an optional hourly forecast. A simple weather API on the Open-Meteo backend.
2000 (raw units)
price
1
calls / 30d
1
unique payers
2026-09-04
updated
Provider
x402.agentutility.ai · discovered, not yet claimed by its owner
Payment (x402 accepts[])
[
{
"scheme": "exact",
"network": "eip155:8453",
"payTo": "0x6c0752c09e7F6fA6526fCDf40e456a159ebB5621",
"asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
"amount": "2000",
"maxTimeoutSeconds": 300
},
{
"scheme": "exact",
"network": "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp",
"payTo": "FJqAJ4dXkFbrp3EEo8E9x98iaBGUQwaU8Srz5ePfUXLH",
"asset": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",
"amount": "2000",
"maxTimeoutSeconds": 300
}
]Output schema
{
"bazaar": {
"discoverable": true,
"info": {
"input": {
"body": {
"forecast_days": 3,
"latitude": 37.7749,
"longitude": -122.4194,
"units": "imperial"
},
"bodyType": "json",
"method": "POST",
"type": "http"
},
"output": {
"example": {
"current": {
"apparent_temperature": 60.4,
"humidity_pct": 78,
"is_day": true,
"precipitation": 0,
"temperature": 62.1,
"time": "2026-05-06T13:00",
"weather_code": 3,
"wind_direction_deg": 270,
"wind_speed": 8.2
},
"daily": [
{
"date": "2026-05-06",
"precipitation_mm": 0,
"precipitation_probability_max": 5,
"sunrise": "2026-05-06T06:08",
"sunset": "2026-05-06T20:11",
"temperature_max": 67.3,
"temperature_min": 53.1,
"uv_index_max": 7.5,
"weather_code": 3
}
],
"location": {
"elevation_m": 18,
"lat": 37.7749,
"lon": -122.4194,
"timezone": "America/Los_Angeles"
},
"source": "https://open-meteo.com",
"units": "imperial"
},
"type": "json"
}
},
"related": [
"/weather-localize-pack",
"/travel-brief"
],
"schema": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"input": {
"additionalProperties": false,
"properties": {
"body": {
"properties": {
"forecast_days": {
"description": "Number of forecast days, 1-7. Default 3.",
"type": "number"
},
"hourly": {
"description": "If true, include hourly temperature, precipitation, and weather code arrays. Default false.",
"type": "boolean"
},
"latitude": {
"description": "Decimal degrees, range [-90, 90]. Positive north.",
"type": "number"
},
"longitude": {
"description": "Decimal degrees, range [-180, 180]. Positive east.",
"type": "number"
},
"units": {
"description": "'metric' (°C, km/h, mm) or 'imperial' (°F, mph, inch). Default 'metric'.",
"enum": [
"metric",
"imperial"
],
"type": "string"
}
},
"required": [
"latitude",
"longitude"
]
},
"bodyType": {
"enum": [
"json",
"form-data",
"text"
],
"type": "string"
},
"method": {
"enum": [
"POST"
],
"type": "string"
},
"type": {
"const": "http",
"type": "string"
}
},
"required": [
"type",
"method",
"bodyType",
"body"
],
"type": "object"
},
"output": {
"properties": {
"example": {
"properties": {
"current": {
"properties": {
"apparent_temperature": {
"type": "number"
},
"humidity_pct": {
"type": "integer"
},
"is_day": {
"type": "boolean"
},
"precipitation": {
"type": "integer"
},
"temperature": {
"type": "number"
},
"time": {
"type": "string"
},
"weather_code": {
"type": "integer"
},
"wind_direction_deg": {
"type": "integer"
},
"wind_speed": {
"type": "number"
}
},
"type": "object"
},
"daily": {
"items": {
"properties": {
"date": {
"type": "string"
},
"precipitation_mm": {
"type": "integer"
},
"precipitation_probability_max": {
"type": "integer"
},
"sunrise": {
"type": "string"
},
"sunset": {
"type": "string"
},
"temperature_max": {
"type": "number"
},
"temperature_min": {
"type": "number"
},
"uv_index_max": {
"type": "number"
},
"weather_code": {
"type": "integer"
}
},
"type": "object"
},
"type": "array"
},
"location": {
"properties": {
"elevation_m": {
"type": "integer"
},
"lat": {
"type": "number"
},
"lon": {
"type": "number"
},
"timezone": {
"type": "string"
}
},
"type": "object"
},
"source": {
"type": "string"
},
"units": {
"type": "string"
}
},
"type": "object"
},
"type": {
"type": "string"
}
},
"required": [
"type"
],
"type": "object"
}
},
"required": [
"input"
],
"type": "object"
}
},
"builder-code": {
"info": {
"a": "bc_awpbwsy3"
},
"schema": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false,
"properties": {
"a": {
"description": "App builder code",
"pattern": "^[a-z0-9_]{1,32}$",
"type": "string"
},
"s": {
"description": "Service builder codes",
"items": {
"pattern": "^[a-z0-9_]{1,32}$",
"type": "string"
},
"type": "array"
},
"w": {
"description": "Wallet builder code",
"pattern": "^[a-z0-9_]{1,32}$",
"type": "string"
}
},
"type": "object"
}
}
}Use it
curl
curl "https://x402.agentutility.ai/weather" # -> 402 Payment Required, accepts[] lists how to pay # retry with a PAYMENT-SIGNATURE (or PAYMENT header) once paid
JavaScript
const res = await fetch("https://x402.agentutility.ai/weather");
if (res.status === 402) {
const { accepts } = await res.json();
// pay one of accepts[] via an x402 client, then retry with the payment header
}Python
import httpx
res = httpx.get("https://x402.agentutility.ai/weather")
if res.status_code == 402:
accepts = res.json()["accepts"]
# pay one of accepts[] via an x402 client, then retry with the payment headerMachine-readable
Everything on this page is also available as clean JSON at /resources/5225.json, and this resource appears in /discovery/resources and /discovery/search.