Data
Multi-day weather forecast (normalized) API
Multi-day daily + hourly weather forecast for a city or coordinates from Open-Meteo, normalized from parallel arrays into a clean per-day/per-hour schema with WMO weather-code words, precipitation probability, wind, sunrise and sunset. Answers 'what's the 7-day forecast for Tokyo', 'will it rain tomorrow at these coordinates', 'hourly temperature forecast', 'forecast high and low for the next week'.
Price$0.01per request
MethodPOST
Route/v1/data/weather-forecast
StatusLive
MIME typeapplication/json
Rate limit60/minute
Cache3600s public
dataweatherforecastopen-meteodailyhourlyprecipitationmeteorology
API URL
Integration docshttps://x402.hexl.dev/v1/data/weather-forecastExample request
{
"city": "Tokyo",
"days": 3
}Example response
{
"location": "Tokyo, Japan",
"latitude": 35.6895,
"longitude": 139.6917,
"timezone": "Asia/Tokyo",
"days": 3,
"daily": [
{
"date": "2026-06-03",
"weatherCode": 61,
"conditions": "Slight rain",
"tempMaxC": 24.1,
"tempMinC": 18.2,
"precipitationMm": 5.3,
"precipitationProbabilityPct": 80,
"windspeedMaxKmh": 22,
"sunrise": "2026-06-03T04:25",
"sunset": "2026-06-03T18:51"
}
],
"hourly": [
{
"time": "2026-06-03T00:00",
"temperatureC": 19.4,
"weatherCode": 2,
"conditions": "Partly cloudy",
"precipitationProbabilityPct": 20
}
]
}Input schema
{
"type": "object",
"required": [],
"properties": {
"city": {
"type": "string",
"examples": [
"Tokyo"
]
},
"latitude": {
"type": "number",
"examples": [
35.6895
]
},
"longitude": {
"type": "number",
"examples": [
139.6917
]
},
"days": {
"type": "number",
"examples": [
7
]
}
}
}Output schema
{
"type": "object",
"additionalProperties": true
}