API Reference
Data Versions

Data Versions

GET We offer an API endpoint to help you find the latest data version. Read more about our Data Versioning concept in our guide

Request

curl --request GET \
--url https://api.climatiq.io/data/v1/data-versions \
--header "Authorization: Bearer $CLIMATIQ_API_KEY"

Response

⚠️

This response refers to our old major and minor naming in the fields latest, latest_minor and latest_major, these fields are deprecated, we recommend using only latest_release.

{
"latest_release": "19",
"latest": "19.19",
"latest_major": 19,
"latest_minor": 19
}

The latest_release field is the latest data release, you can use this as:

  • Use it directly as a data version if you want the latest fixed version.
  • Use it with a caret (^) prefix if you want the latest dynamic version.