Real-time current weather conditions for a city or location, including temperature, humidi
Real-time current weather conditions for a city or location, including temperature, humidity, precipitation, wind, and a human-readable condition.
1000 (raw units)
price
19
calls / 30d
5
unique payers
2026-09-09
updated
Provider
wallets-demo-seller-server.calebgcarithers.workers.dev · discovered, not yet claimed by its owner
Payment (x402 accepts[])
[
{
"scheme": "exact",
"network": "eip155:84532",
"payTo": "0xCBd4E4218B2Cd8300f1bd07b9B4B720fAb6B51B3",
"asset": "0x036CbD53842c5426634e7929541eC2318f3dCF7e",
"amount": "1000",
"maxTimeoutSeconds": 300
}
]Output schema
{
"bazaar": {
"info": {
"input": {
"method": "GET",
"queryParams": {
"location": "San Francisco"
},
"type": "http"
},
"output": {
"example": {
"current": {
"apparentTemperatureC": 17.4,
"condition": "partly cloudy",
"precipitationMm": 0,
"relativeHumidity": 72,
"temperatureC": 18.2,
"time": "2026-06-29T10:45",
"weatherCode": 2,
"windDirectionDegrees": 260,
"windSpeedKmh": 13.1
},
"fetchedAt": "2026-06-29T18:02:00.000Z",
"location": {
"admin1": "California",
"country": "United States",
"countryCode": "US",
"latitude": 37.77493,
"longitude": -122.41942,
"name": "San Francisco",
"timezone": "America/Los_Angeles"
},
"source": "open-meteo"
},
"type": "json"
}
},
"schema": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"input": {
"additionalProperties": false,
"properties": {
"method": {
"enum": [
"GET"
],
"type": "string"
},
"queryParams": {
"additionalProperties": false,
"properties": {
"location": {
"description": "City, postal code, or location name to geocode before fetching weather. Examples: San Francisco, Berlin, Tokyo.",
"minLength": 2,
"type": "string"
}
},
"required": [
"location"
],
"type": "object"
},
"type": {
"const": "http",
"type": "string"
}
},
"required": [
"type",
"method"
],
"type": "object"
},
"output": {
"properties": {
"example": {
"properties": {
"current": {
"type": "object"
},
"fetchedAt": {
"format": "date-time",
"type": "string"
},
"location": {
"type": "object"
},
"source": {
"type": "string"
}
},
"required": [
"location",
"current",
"source",
"fetchedAt"
],
"type": "object"
},
"type": {
"type": "string"
}
},
"required": [
"type"
],
"type": "object"
}
},
"required": [
"input"
],
"type": "object"
}
}
}Use it
curl
curl "https://wallets-demo-seller-server.calebgcarithers.workers.dev/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://wallets-demo-seller-server.calebgcarithers.workers.dev/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://wallets-demo-seller-server.calebgcarithers.workers.dev/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/2532.json, and this resource appears in /discovery/resources and /discovery/search.