Global weather forecast for latitude and longitude
Global weather forecast for latitude and longitude. Returns the forecast valid now, all available hourly forecast points, and the extended forecast in native 6-hour periods without inventing hourly precision. Data source: MET Norway Locationforecast 2.0.
1000 (raw units)
price
1
calls / 30d
1
unique payers
2026-09-17
updated
Provider
wallet-services-poc-clean.3hz-services.workers.dev · discovered, not yet claimed by its owner
Payment (x402 accepts[])
[
{
"scheme": "exact",
"network": "eip155:84532",
"payTo": "0xEb0f642c1B71Ec3b3594303de1D09EA2532B0f5e",
"asset": "0x036CbD53842c5426634e7929541eC2318f3dCF7e",
"amount": "1000",
"maxTimeoutSeconds": 60
}
]Output schema
{
"bazaar": {
"info": {
"input": {
"method": "GET",
"queryParams": {
"lat": 0,
"lon": 0
},
"type": "http"
},
"output": {
"example": {
"current_forecast": {
"apparent_temperature_c": 15.7,
"cloud_cover_pct": 49.2,
"condition": "partlycloudy_day",
"dew_point_c": 5.2,
"fog_pct": 0,
"humidity_pct": 49.3,
"precipitation_next_1h_mm": 0,
"pressure_hpa": 1019.1,
"temperature_c": 15.7,
"time": "2026-09-17T08:00:00Z",
"uv_index_clear_sky": 1.3,
"wind_direction_deg": 39.8,
"wind_speed_mps": 4.1
},
"fetched_at": "2026-09-17T09:01:24Z",
"forecast_horizon": {
"first_time": "2026-09-17T08:00:00Z",
"hourly_points_returned": 64,
"last_time": "2026-09-26T12:00:00Z",
"six_hour_periods_returned": 26
},
"hourly_forecast": [
{
"apparent_temperature_c": 17.3,
"cloud_cover_pct": 57.8,
"condition": "partlycloudy_day",
"humidity_pct": 45.4,
"precipitation_mm": 0,
"temperature_c": 17.3,
"time": "2026-09-17T09:00:00Z",
"wind_direction_deg": 42.3,
"wind_speed_mps": 3.9
}
],
"location": {
"latitude": 0,
"longitude": 0
},
"six_hour_periods": [
{
"apparent_temperature_at_start_c": 20.3,
"condition": "clearsky_night",
"end_time": "2026-09-20T06:00:00Z",
"humidity_at_start_pct": 51.5,
"precipitation_mm": 0,
"start_time": "2026-09-20T00:00:00Z",
"temperature_at_start_c": 20.3,
"temperature_max_c": 20.8,
"temperature_min_c": 17.3,
"wind_direction_at_start_deg": 137.4,
"wind_speed_at_start_mps": 3
}
],
"source": {
"attribution": "Weather forecast data from MET Norway",
"product": "Locationforecast 2.0 Complete",
"provider": "MET Norway"
},
"source_updated_at": "2026-09-17T08:18:55Z"
},
"type": "json"
}
},
"schema": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false,
"properties": {
"input": {
"additionalProperties": false,
"properties": {
"method": {
"enum": [
"GET"
],
"type": "string"
},
"queryParams": {
"additionalProperties": false,
"properties": {
"lat": {
"description": "Latitude in decimal degrees",
"maximum": 90,
"minimum": -90,
"type": "number"
},
"lon": {
"description": "Longitude in decimal degrees",
"maximum": 180,
"minimum": -180,
"type": "number"
}
},
"required": [
"lat",
"lon"
],
"type": "object"
},
"type": {
"const": "http",
"type": "string"
}
},
"required": [
"type",
"method",
"queryParams"
],
"type": "object"
},
"output": {
"additionalProperties": false,
"properties": {
"example": {
"properties": {
"current_forecast": {
"type": "object"
},
"fetched_at": {
"type": "string"
},
"forecast_horizon": {
"type": "object"
},
"hourly_forecast": {
"type": "array"
},
"location": {
"type": "object"
},
"six_hour_periods": {
"type": "array"
},
"source": {
"type": "object"
},
"source_updated_at": {
"type": [
"string",
"null"
]
}
},
"required": [
"location",
"current_forecast",
"hourly_forecast",
"six_hour_periods",
"forecast_horizon",
"source",
"source_updated_at",
"fetched_at"
],
"type": "object"
},
"type": {
"const": "json",
"type": "string"
}
},
"required": [
"type",
"example"
],
"type": "object"
}
},
"required": [
"input",
"output"
],
"type": "object"
}
}
}Use it
curl
curl "https://wallet-services-poc-clean.3hz-services.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://wallet-services-poc-clean.3hz-services.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://wallet-services-poc-clean.3hz-services.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/7127.json, and this resource appears in /discovery/resources and /discovery/search.