API Reference
Unit Types

Unit Types

GET Get all available unit types and their respective supported units.

https://api.climatiq.io/data/v1/unit-types

Request

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

Response

The response includes a list of emission factors filtered by the request parameters above.

Response parameters
    • unit_typesarray

      A list of available unit types.


      unit_types[x].unit_typestring

      The unit type name.


      unit_types[x].unitsstring

      The units that are available in this unit type.

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