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.
by x402.agentutility.ai · discovered, not yet claimed by its owner · updated 2026-10-13
Mirrored from Coinbase's public x402 Bazaar. The description is the provider's own text and has not been reviewed here; the payment requirements are copied as published.
What it does
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.
Tags: locale · weather · bazaar · builder-code
Call contract
- Method
- POST
- Input
- json
- Output
- json
- Last paid call
- 2026-10-13
{
"forecast_days": 3,
"latitude": 37.7749,
"longitude": -122.4194,
"units": "imperial"
}{
"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"
}Use with an agent
- Discover. Agents find this listing with
GET https://bazaar.saylorinnovations.com/discovery/search?query=…, the MCP toolsearch_resources, or/discovery/resources. - Inspect. Fetch
/resources/30909.jsonfor the price and payment options. - Pay. Call
GET https://x402.agentutility.ai/weather. The provider answers402with its payment requirements. An x402 client signs one of the options below and retries withPAYMENT-SIGNATURE. - Execute. The provider returns
200with the data. Agent Bazaar is not in the request path and never sees your payment.
For humans
You don't need an account or an API key; you need a wallet holding a small amount of USDC on Base, Solana, and an x402-capable client (see the examples below). Call the endpoint unpaid first to see exactly what it asks for.
Pricing & payment
- Price
- $0.002 / request
- Protocol
- x402 v2
- Auth
- No account or API key. Pay per request.
- Networks
- Base, Solana
- Demand
- 4 calls · 4 unique payers in 30d (public x402 Bazaar data)
x402 payment requirements
| Scheme | Network | Asset | Amount | Pay to | Timeout |
|---|---|---|---|---|---|
| exact | Base eip155:8453 | USDC | $0.002 | 0x6c0752c09e7F6fA6526fCDf40e456a159ebB5621 | 300s |
| exact | Solana solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp | USDC | $0.002 | FJqAJ4dXkFbrp3EEo8E9x98iaBGUQwaU8Srz5ePfUXLH | 300s |
accepts[] (raw JSON)
[
{
"scheme": "exact",
"network": "eip155:8453",
"payTo": "0x6c0752c09e7F6fA6526fCDf40e456a159ebB5621",
"asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
"amount": "2000",
"amountUsd": 0.002,
"maxTimeoutSeconds": 300
},
{
"scheme": "exact",
"network": "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp",
"payTo": "FJqAJ4dXkFbrp3EEo8E9x98iaBGUQwaU8Srz5ePfUXLH",
"asset": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",
"amount": "2000",
"amountUsd": 0.002,
"maxTimeoutSeconds": 300
}
]Schemas
Output schema (JSON Schema)
{
"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"
}Example shape — generated from the schema, not a captured live response
{
"example": {
"current": {
"apparent_temperature": 0,
"humidity_pct": 0,
"is_day": true,
"precipitation": 0,
"temperature": 0,
"time": "string",
"weather_code": 0,
"wind_direction_deg": 0,
"wind_speed": 0
},
"daily": [
{
"date": "string",
"precipitation_mm": 0,
"precipitation_probability_max": 0,
"sunrise": "string",
"sunset": "string",
"temperature_max": 0,
"temperature_min": 0,
"uv_index_max": 0,
"weather_code": 0
}
],
"location": {
"elevation_m": 0,
"lat": 0,
"lon": 0,
"timezone": "string"
},
"source": "string",
"units": "string"
},
"type": "string"
}Examples
curl "https://x402.agentutility.ai/weather"
# -> 402 Payment Required, accepts[] lists how to pay
# retry with a PAYMENT-SIGNATURE (or PAYMENT header) once paidconst 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
}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 headerDetails
- Provider
- x402.agentutility.ai
- Endpoint
- https://x402.agentutility.ai/weather
- Machine-readable
/resources/30909.json