x402AgentTools

🗺️Area Converter

Convert area units: square millimeters, centimeters, meters and kilometers, hectares, acres, square feet and square miles.

Worked examples

1 Square kilometers in Hectares

GET /api/v1/converters/area-converter?value=1&from=km2&to=ha

Result: 100 ha

100 Square kilometers in Hectares

GET /api/v1/converters/area-converter?value=100&from=km2&to=ha

Result: 10,000 ha

5 Hectares in Square kilometers

GET /api/v1/converters/area-converter?value=5&from=ha&to=km2

Result: 0.05 km²

2 Square kilometers in Acres

GET /api/v1/converters/area-converter?value=2&from=km2&to=acre

Result: 494.21 ac

Machine API (x402)

$0.001 / call

This tool is also a JSON API for AI agents. Requests without payment receive 402 Payment Required plus instructions; agents pay USDC on Base via the x402 protocol — no accounts, no API keys.

GET /api/v1/converters/area-converter?value=1&from=km2&to=ha HTTP/1.1
Host: agenttools-hub.vercel.app

→ 402 (payment required, instructions in headers)
→ 200 (after X-PAYMENT header; JSON body below)

{
  "tool": "converters/area-converter",
  "input": {"value":1,"from":"km2","to":"ha"},
  "result": { "value": 100, "answer": "100 ha" }
}

Agent docs: /llms.txt · OpenAPI spec · integration guide

About this tool

Convert land and property areas between metric and imperial units — square meters and kilometers, hectares, acres, square feet and square miles — using exact survey definitions.

value × km²factor ÷ target factor (all units relate to the m² base)

Frequently asked questions

How big is one acre?

One acre is 4,046.8564224 m², about 4,047 m² — roughly 40% of a hectare or a football pitch without the ends.

How many square feet in a square meter?

One square meter is 10.7639 square feet.

Hectare vs acre — which is bigger?

A hectare (10,000 m²) is about 2.471 acres.

Popular conversions & variations

Related tools