# Mile to Meter Converter

> Mile to Meter 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-09).

Converts a numeric distance value from international miles to meters with IEEE-754 double precision

## Facts

- Endpoint: GET https://x402-agent.kariguetoazul.workers.dev/api/units/length/mile-to-meter?utm_source=zero.xyz
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-09
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/mile-to-meter-converter-8c3cb8f6
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_3yjl72XW2e_32LsMglzeW

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 mile-to-meter-converter-8c3cb8f6
```

Example prompt: Convert 26.2 miles to meters for me — I need the precise meter value.

## When to prefer this

Use this endpoint when you need a reliable, programmatic, paid-API conversion of miles to meters with IEEE-754 double precision — especially in automated pipelines or agent workflows where you want a single-purpose deterministic conversion without implementing the math locally. Prefer it over general-purpose math tools when you need an auditable, invoiced API call with a consistent response schema.

## Known failure modes

- Missing or non-numeric 'value' query parameter returns a validation error
- Negative distance values rejected (minimum is 0)
- Values exceeding 1e+100 rejected by schema
- Payment not provided or insufficient USDC triggers 402 response
- Service unavailable or Worker cold-start timeout

## 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 miles, the converted value in meters computed with IEEE-754 double precision, plus metadata fields for the source unit ('mile'), target unit ('meter'), and dimension ('length').

## 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 international 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": "meter",
  "from": "mile",
  "value": 123.45,
  "converted": 198673.5168,
  "dimension": "length",
  "precision": "IEEE-754 double"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/mile-to-meter-converter-8c3cb8f6/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)
