x402
Weather Lookup (x402)
Get current weather and 7-day forecast for any location. Uses Open-Meteo API. Search by city name or coordinates.
get/x402/v2/weather-lookup
Request
- Base URL: https://api.strale.io
- URL: https://api.strale.io/x402/v2/weather-lookup
- Auth: none required
Query parameters
citystring
latitudenumber
longitudenumber
Response
Success
Example response
{
"current": {
"condition": "Overcast",
"feels_like_c": 31.9,
"temperature_c": 27.2,
"wind_speed_kmh": 11.1,
"humidity_percent": 84,
"precipitation_mm": 0,
"wind_direction_deg": 234
},
"location": "-1, -1",
"timezone": "Etc/GMT",
"coordinates": {
"latitude": -1,
"longitude": -1
},
"forecast_7day": [
{
"date": "2026-04-03",
"low_c": 27.1,
"high_c": 28.5,
"condition": "Thunderstorm",
"precipitation_mm": 15.8
},
{
"date": "2026-04-04",
"low_c": 27.8,
"high_c": 28.7,
"condition": "Slight rain showers",
"precipitation_mm": 1.7
},
{
"date": "2026-04-05",
"low_c": 27.8,
"high_c": 28.4,
"condition": "Slight rain showers",
"precipitation_mm": 5.3
},
{
"date": "2026-04-06",
"low_c": 28.4,
"high_c": 29.2,
"condition": "Overcast",
"precipitation_mm": 0.3
},
{
"date": "2026-04-07",
"low_c": 28.4,
"high_c": 29.1,
"condition": "Overcast",
"precipitation_mm": 1.2
},
{
"date": "2026-04-08",
"low_c": 28,
"high_c": 29,
"condition": "Slight rain showers",
"precipitation_mm": 2.8
},
{
"date": "2026-04-09",
"low_c": 27.9,
"high_c": 28.6,
"condition": "Thunderstorm",
"precipitation_mm": 5.5
}
]
}Changes
No recorded changes to this operation across all 1 revision of this API.