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-04-26T17:03:29.172Z",
  "created_at": "2024-04-26T17:03:29.172Z",
  "error": "PqQmcJ",
  "id": "d694b3dd-8537-40f7-87dc-8b49071cfbb7",
  "input": 9,
  "input_unit": "in2",
  "output": 29,
  "output_unit": "yd2",
  "started_at": "2024-04-26T17:03:29.172Z",
  "status": "queued",
  "updated_at": "2024-04-26T17:03:29.172Z",
  "user_id": "a96e0340-efc6-481a-8bc4-37911506d91e"
}