Units & Conversions

Units & Conversions

The G17Eco API supports a comprehensive set of measurement units for tracking sustainability metrics. This page documents all available unit types, their options, and conversion factors.

Supported Unit Types

The API supports the following categories of measurement units through the unitType field:

Unit TypeEnum ValuePurposeDefault Unit
AreaareaLand use, facility sizekm2
LengthlengthDistance measurementskm
MassmassWeight and material quantitiesmt (metric tons)
VolumevolumeLiquid and gas quantitiesm3
TimetimeDuration trackingh (hours)
EnergyenergyPower consumption and generationMWh
CO2 Emissionsco2EmissionsGreenhouse gas emissionstons/CO2e
Parts PerpartsPerConcentration measurementsppm
Number ScalenumberScaleLarge number representationmillions

Interactive Unit Converter

Unit Converter

=

Understanding Unit Configuration

Universal Trackers have predefined unit configurations that determine how values should be submitted. When you retrieve a Universal Tracker through the API, it includes:

{
  "universalTracker": {
    "_id": "507f1f77bcf86cd799439011",
    "name": "Annual Energy Consumption",
    "valueType": "number",
    "unitType": "energy",
    "unit": "MWh",
    "numberScale": "thousands",
    "valueValidation": {
      "min": 0,
      "max": 999999,
      "decimal": 2
    }
  }
}

This configuration tells you:

  • Values should be submitted in Megawatt hours (MWh)
  • Numbers are in thousands (e.g., submitting 1.5 = 1,500 MWh)
  • Maximum 2 decimal places allowed
  • Valid range: 0 to 999,999,000 MWh (after scale conversion)