Unit Types
GET Get all available unit types and their respective supported units.
https://beta4.api.climatiq.io/unit-types
Request
curl --request GET \ --url 'https://beta4.api.climatiq.io/unit-types' \ --header 'Authorization: Bearer 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://beta4.api.climatiq.io/unit-types' \ --header 'Authorization: Bearer API_KEY' \