Hourly and daily weather forecast (up to 16 days, worldwide)
Changed onSugra Weather forecast for any coordinate or city worldwide: hourly steps and daily aggregates up to 16 days ahead (and up to 92 past days for context), covering temperature, feels-like, humidity, dew point, precipitation with probability, rain, showers, snowfall, snow depth, WMO weather code, pressure, cloud cover by level, visibility, wind with gusts, UV index, daylight, sunshine, solar radiation, and reference evapotranspiration. National high-resolution weather models are blended into a global best match for every location. Units, timezone, and time format are configurable. Resolve any plain city name, narrowed by the separate country parameter if given; an unresolvable location is 422, never 404.
Request
- Base URL: https://sugra.ai
- URL: https://sugra.ai/api/v2/weather/forecast
- Auth: API key in header x-api-key
Query parameters
Latitude (-90 to 90).
Longitude (-180 to 180).
Latitude alias (same as latitude).
Longitude alias (same as longitude).
Plain city name (alternative to lat/lon), resolved globally. The country goes in the separate country parameter, never combined into this field. An unresolvable location is 422, never 404.
Country name or ISO-2 code (narrows the city match). Always a separate parameter from city.
Forecast horizon in days (1-16).
Also include this many past days (0-92).
Temperature unit: celsius | fahrenheit.
Wind speed unit: kmh | ms | mph | kn.
Precipitation unit: mm | inch.
IANA timezone for timestamps (e.g. 'Asia/Tokyo'), or 'auto' to resolve from the location.
Timestamp format: iso8601 | unixtime.
Locale for the human condition text (13 supported).
Response
Hourly and daily forecast with per-variable units and provenance.
Example response
{
"data": {
"timezone": "Asia/Jakarta",
"timezone_abbreviation": "WIB",
"resolved_location": {
"name": "Jakarta",
"country": "Indonesia",
"country_code": "ID",
"admin1": "Jakarta",
"timezone": "Asia/Jakarta"
},
"hourly": [
{
"condition_icon": "cloud-sun"
}
],
"daily": [
{
"condition_icon": "cloud-rain"
}
],
"provenance": {
"source": "openmeteo",
"product": "Sugra Weather forecast",
"models": "best_match",
"licence": "CC-BY-4.0",
"attribution": "Weather data by Open-Meteo.com"
}
},
"meta": {
"endpoint": "/api/v1/fred/us/cpi",
"data_time": "2026-04-16T14:30:00Z",
"response_time": "2026-04-16T14:30:12Z",
"provider": "Sugra API v1.0.1",
"data_age_days": 8.532,
"source": "sugra_crypto",
"attribution": "Short interest and Reg SHO daily short volume data is owned by and sourced from FINRA (Financial Industry Regulatory Authority).",
"fallback_chain": [
"sugra_crypto",
"sugra_finance"
],
"stale_since": "2026-09-08T12:00:00Z",
"period": "2026-Q1",
"notes": "the UKMTO report behind these counts is dated 2026-08-21 and is 11 days old"
}
}Changes
- info
added the non-success response with the status
- info
- info
added the optional property
/to the response with the status
- info