cURL
curl --request GET \ --url https://safe.dfda.earth/api/v3/unitCategories \ --header 'Authorization: Bearer <token>'
[ { "name": "<string>", "id": 123, "standardUnitAbbreviatedName": "<string>" } ]
Get a list of the categories of measurement units such as ‘Distance’, ‘Duration’, ‘Energy’, ‘Frequency’, ‘Miscellany’, ‘Pressure’, ‘Proportion’, ‘Rating’, ‘Temperature’, ‘Volume’, and ‘Weight’.
Enter your bearer token in the format Bearer access_token_here
Bearer access_token_here
Successful operation
Category name
id
Base unit for in which measurements are to be converted to and stored