API → Unit → Convert area units
Parameters
Name
Type
Req.
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>
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>
Returns
- 200 OK
successful operation
Name
Type
Req.
body
objectoptionalObject Properties
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>
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>
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.
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-12-19T17:50:06.199Z",
"created_at": "2024-12-19T17:50:06.199Z",
"error": "BbpC0B9OYAsOoTmslI8",
"id": "79bfe29c-85e3-42f4-8fc0-6e209649d8c1",
"input": 24,
"input_unit": "mm2",
"output": 15,
"output_unit": "yd2",
"started_at": "2024-12-19T17:50:06.199Z",
"status": "queued",
"updated_at": "2024-12-19T17:50:06.199Z",
"user_id": "b0ff6236-f9a6-4c09-b83d-56c152442408"
}