API → UnitConvert area units

Parameters

Name

Type

Req.

  • input_unit

    string
    required
    Possible values
    • cm2:  Square centimeters <https://en.wikipedia.org/wiki/Square_centimeter>
    • dm2:  Square decimeters <https://en.wikipedia.org/wiki/Square_decimeter>
    • ft2:  Square feet <https://en.wikipedia.org/wiki/Square_foot>
    • in2:  Square inches <https://en.wikipedia.org/wiki/Square_inch>
    • km2:  Square kilometers <https://en.wikipedia.org/wiki/Square_kilometer>
    • m2:  Square meters <https://en.wikipedia.org/wiki/Square_meter>
    • mm2:  Square millimeters <https://en.wikipedia.org/wiki/Square_millimeter>
    • yd2:  Square yards <https://en.wikipedia.org/wiki/Square_mile>
  • output_unit

    string
    required
    Possible values
    • cm2:  Square centimeters <https://en.wikipedia.org/wiki/Square_centimeter>
    • dm2:  Square decimeters <https://en.wikipedia.org/wiki/Square_decimeter>
    • ft2:  Square feet <https://en.wikipedia.org/wiki/Square_foot>
    • in2:  Square inches <https://en.wikipedia.org/wiki/Square_inch>
    • km2:  Square kilometers <https://en.wikipedia.org/wiki/Square_kilometer>
    • m2:  Square meters <https://en.wikipedia.org/wiki/Square_meter>
    • mm2:  Square millimeters <https://en.wikipedia.org/wiki/Square_millimeter>
    • yd2:  Square yards <https://en.wikipedia.org/wiki/Square_mile>
  • value

    number
    required

Returns

  • 200 OK

    successful operation

    Name

    Type

    Req.

    body

    object
    optional
    Object Properties
    • completed_at

      string / ISO-8601
      optional
    • created_at

      string / ISO-8601
      optional
    • error

      string
      optional
    • id

      string / UUID
      optional
    • input

      number
      optional
    • input_unit

      string
      optional
      Possible values
      • cm2:  Square centimeters <https://en.wikipedia.org/wiki/Square_centimeter>
      • dm2:  Square decimeters <https://en.wikipedia.org/wiki/Square_decimeter>
      • ft2:  Square feet <https://en.wikipedia.org/wiki/Square_foot>
      • in2:  Square inches <https://en.wikipedia.org/wiki/Square_inch>
      • km2:  Square kilometers <https://en.wikipedia.org/wiki/Square_kilometer>
      • m2:  Square meters <https://en.wikipedia.org/wiki/Square_meter>
      • mm2:  Square millimeters <https://en.wikipedia.org/wiki/Square_millimeter>
      • yd2:  Square yards <https://en.wikipedia.org/wiki/Square_mile>
    • output

      number
      optional
    • output_unit

      string
      optional
      Possible values
      • cm2:  Square centimeters <https://en.wikipedia.org/wiki/Square_centimeter>
      • dm2:  Square decimeters <https://en.wikipedia.org/wiki/Square_decimeter>
      • ft2:  Square feet <https://en.wikipedia.org/wiki/Square_foot>
      • in2:  Square inches <https://en.wikipedia.org/wiki/Square_inch>
      • km2:  Square kilometers <https://en.wikipedia.org/wiki/Square_kilometer>
      • m2:  Square meters <https://en.wikipedia.org/wiki/Square_meter>
      • mm2:  Square millimeters <https://en.wikipedia.org/wiki/Square_millimeter>
      • yd2:  Square yards <https://en.wikipedia.org/wiki/Square_mile>
    • started_at

      string / ISO-8601
      optional
    • status

      string
      optional
      Possible values
      • queued:  The async API call is queued.
      • uploaded:  The async API call was uploaded to be converted.
      • in_progress:  The async API call is in progress.
      • completed:  The async API call has completed.
      • failed:  The async API call has failed.
    • updated_at

      string / ISO-8601
      optional
    • user_id

      string / UUID
      optional
get
/unit/conversion/area/{input_unit}/{output_unit}
$ curl "https://api.zoo.dev/unit/conversion/area/{input_unit}/{output_unit}" \
	--header "Authorization: Bearer $TOKEN"
200 OK
Response
{
  "completed_at": "2024-07-27T01:16:17.126Z",
  "created_at": "2024-07-27T01:16:17.126Z",
  "error": "dCeNmth610GNMrC2JlPG6Z1NuS0nxg",
  "id": "35d4c605-47b5-4b79-9ce1-60d5b1430ccd",
  "input": 6,
  "input_unit": "mm2",
  "output": 27,
  "output_unit": "mm2",
  "started_at": "2024-07-27T01:16:17.126Z",
  "status": "uploaded",
  "updated_at": "2024-07-27T01:16:17.126Z",
  "user_id": "0feeacdf-175b-41c4-8924-ef520fbf773d"
}