API Reference
Data Versions

Data Versions

GET We offer an API endpoint to help you find the latest major and minor data versions. Read more about Data Versioning concept here

Request

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

Response

{
"latest": "11.11",
"latest_major": 11,
"latest_minor": 11
}

Using this response, you can:

  • Use the value of latest_major with a caret (^) in front of it if you want the latest major-compatible version.
  • Use the value of latest if you want the latest major-minor data version.
  • Use the latest_minor to get updates for a previous major version you are using.