Environment
Historical climate data
Historical climate data with annual aggregates. Temperature trends and precipitation from 1950.
get/api/v1/climate/historical
Query parameters
latitudenumber nullable
Latitude in decimal degrees (-90 to 90).
Latitude in decimal degrees (-90 to 90).
longitudenumber nullable
Longitude in decimal degrees (-180 to 180).
Longitude in decimal degrees (-180 to 180).
citystring nullable
City name (alternative to lat/lon).
City name (alternative to lat/lon).
countrystring nullable
Country name or code
Country name or code
start_yearinteger
Start year (1950-2020)
Start year (1950-2020)
end_yearinteger
End year (1960-2024)
End year (1960-2024)
Response
Annual temperature and precipitation aggregates for the location since 1950.
Example response
{
"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",
"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"
]
}
}