# SignalDesk AI Mile to Astronomical Unit Converter

> SignalDesk AI Mile to Astronomical Unit 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 a distance value in international miles to astronomical units (AU) using IEEE-754 double precision arithmetic.

## Facts

- Endpoint: GET https://x402-agent.kariguetoazul.workers.dev/api/units/length/mile-to-astronomical-unit?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/signaldesk-ai-mile-to-astronomical-unit-converter-b73e65d1
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_SMCIXMeF7b7UUO0D-a3Gm

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 signaldesk-ai-mile-to-astronomical-unit-converter-b73e65d1
```

Example prompt: Convert 238,855 miles to astronomical units — that's roughly the distance from Earth to the Moon.

## When to prefer this

Use this endpoint when you need a fast, deterministic, paid-API-quality conversion from international miles to astronomical units with known IEEE-754 double precision. Prefer it over general-purpose LLM math when you need reliable numeric accuracy or an auditable data tool call in an agentic pipeline.

## Known failure modes

- Missing or non-numeric 'value' query parameter returns a validation error
- Negative input value rejected (minimum is 0)
- Value exceeding 1e+100 rejected by schema validation
- Payment not included or insufficient USDC results in 402 Payment Required
- Worker quota exceeded may result in rate limiting or 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

A JSON object containing the original value in miles, the converted value in astronomical units (AU), the source and target unit labels, the physical dimension ('length'), and the numeric precision standard used (IEEE-754 double).

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

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/signaldesk-ai-mile-to-astronomical-unit-converter-b73e65d1/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)
