API Almanac
API reference › Units

Every unit the converter knows, grouped by category

GET/v1/units

GET/v1/units

Every unit the converter knows, grouped by category

PARAMETERS
categoryquery · enum
Only this category
one of: length, mass, temperature, volume, area, speed, time, data, energy, pressure, power
In the full reference
REQUEST
curl "https://api.apialmanac.com/v1/units" \
  -H "X-API-Key: YOUR_KEY"
RESPONSE
200OK
{
  "categories": [
    {
      "category": "temperature",
      "base": "c",
      "units": [
        {
          "id": "c",
          "label": "degree Celsius",
          "aliases": [
            "°c",
            "celsius",
            "centigrade",
            "degc"
          ]
        },
        {
          "id": "f",
          "label": "degree Fahrenheit",
          "aliases": [
            "°f",
            "fahrenheit",
            "degf"
          ]
        },
        {
          "id": "k",
          "label": "kelvin",
          "aliases": [
            "kelvin",
            "kelvins"
          ]
        }
      ]
    }
  ]
}
Try it — sign in first
Runs on a sandbox key: 200 requests a month. Your real key is for production.