Unit Converter

Description: Tool for converting between different units of measurement.

API Response Structure:

{
  "conversion": {
    "from": {
      "value": 1,
      "unit": "kilometer",
      "system": "metric"
    },
    "to": {
      "value": 0.621371,
      "unit": "mile",
      "system": "imperial"
    }
  },
  "additionalConversions": [
    {
      "unit": "meter",
      "value": 1000
    }
  ],
  "type": "instantAnswers",
  "configType": "unitConverter"
}

Fields:

  • conversion (object): Primary conversion

    • from (object): Original measurement

      • value (number): Input value

      • unit (string): Original unit

      • system (string): Measurement system

    • to (object): Converted measurement

      • value (number): Converted value

      • unit (string): Target unit

      • system (string): Measurement system

  • additionalConversions (array): Other relevant conversions

  • type (string): Always "instantAnswers"

  • configType (string): Always "unitConverter"