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.
Attribute |
---|
unit_types array A list of available unit types. |
Every unit type returned in the list is formed by the following properties:
Attribute |
---|
unit_type string The unit type name. |
units string 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" \