API Reference
Data Versions

Data Versions Endpoint version: V1V1

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": "20",
"latest": "20.20",
"latest_major": 20,
"latest_minor": 20
}

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.