# Square Mile to Hectare Converter

> Square Mile to Hectare Converter is a paid API for AI agents from x402-agent.kariguetoazul.workers.dev, paid per call via x402, $0.001/call, status unknown (last checked 2026-10-13).

Converts an area value from square miles to hectares using IEEE-754 double precision arithmetic

## Facts

- Endpoint: GET https://x402-agent.kariguetoazul.workers.dev/api/units/area/square-mile-to-hectare?utm_source=zero.xyz
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-13
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/square-mile-to-hectare-converter-1a6590f2
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_mLZXwiXuVPhNeBeer4AvP

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability square-mile-to-hectare-converter-1a6590f2
```

Example prompt: Convert 123.45 square miles to hectares for me.

## When to prefer this

Use this endpoint when you need a precise, programmatic conversion from square miles to hectares and want a clean JSON response with labeled fields. It is ideal for agents that need to pass area conversions downstream or log them with provenance metadata. Prefer it over generic LLM arithmetic when deterministic IEEE-754 precision and structured output are required.

## Known failure modes

- Missing required 'value' query parameter returns an error
- Negative values rejected (minimum is 0)
- Values exceeding 1e+100 rejected by schema validation
- Non-numeric input causes a validation error
- Network or Workers runtime timeout on rare occasions

## How this service works

Evidence-backed autonomous AI jobs and paid data tools. Queue/D1/cron run outside the chat; free quotas and bounded execution apply.

## Output

Returns a JSON object with the original value (in square miles), the converted value (in hectares), unit labels for source and destination, the dimension ('area'), and a precision note ('IEEE-754 double'). Example: 123.45 sq mi → 31973.40 hectares.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET",
      "HEAD",
      "DELETE"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "required": [
      "value"
     ],
     "properties": {
      "value": {
       "type": "number",
       "maximum": 1e+100,
       "minimum": 0,
       "description": "Amount in square miles."
      }
     },
     "additionalProperties": false
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "to": "hectare",
  "from": "square-mile",
  "value": 123.45,
  "converted": 31973.40322209792,
  "dimension": "area",
  "precision": "IEEE-754 double"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/square-mile-to-hectare-converter-1a6590f2/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from x402-agent.kariguetoazul.workers.dev](https://www.zero.xyz/host/x402-agent.kariguetoazul.workers.dev/llms.txt)
