The climate endpoint returns two time series for a geographic location: a historical monthly record spanning the years you specify, and a CMIP6 climate projection under a chosen emissions scenario. Both series include temperature, precipitation, and soil moisture for each month. You can use this data to analyse long-term climate trends, calibrate crop models, or compare a baseline period against projected future conditions.Documentation Index
Fetch the complete documentation index at: https://docs.climatifai.com/llms.txt
Use this file to discover all available pages before exploring further.
Endpoint
Parameters
Latitude of the location in decimal degrees, WGS 84.
Longitude of the location in decimal degrees, WGS 84.
Start year (inclusive) for the historical data series. Combined with
to, this defines the historical baseline period.End year (inclusive) for the historical data series.
CMIP6 emissions scenario to use for the projected series. Example values:
SSP1-2.6, SSP2-4.5, SSP3-7.0, SSP5-8.5.Optional ISO 3166-1 alpha-2 country code for the location being queried. Must be a LATAM country code, excluding Brazil (
BR). Examples: PE, MX, CO. Safe to omit for standard use.Response
Latitude echoed from the request.
Longitude echoed from the request.
CMIP6 scenario used for the projected series, echoed from the request.
Monthly climate observations for the requested historical period. Each element is a
ClimateMonth object.Monthly climate values from the CMIP6 projection. Shares the same
ClimateMonth structure as historical.Cache freshness metadata for both the historical and projected datasets.
Contains upstream error information if any part of the data could not be fetched live and a stale or fallback result was served instead.
Error codes
| Code | Description |
|---|---|
502 | Upstream error from Open-Meteo. The detail field contains the original message. |
503 | Open-Meteo rate limit exceeded. Retry after a short back-off. |