# Astronomical Unit to Millimeter Converter

> Astronomical Unit to Millimeter 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-12).

Converts a numeric value in astronomical units (AU) to millimeters using IEEE-754 double precision arithmetic.

## Facts

- Endpoint: GET https://x402-agent.kariguetoazul.workers.dev/api/units/length/astronomical-unit-to-millimeter?utm_source=zero.xyz
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-12
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/astronomical-unit-to-millimeter-converter-98ab92ca
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_1fKxFwvFj5hOGdk4WsUhB

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 astronomical-unit-to-millimeter-converter-98ab92ca
```

Example prompt: Can you convert 2.5 astronomical units to millimeters for me?

## When to prefer this

Use this endpoint when you need a quick, API-accessible conversion of astronomical unit distances to millimeters without running local math, particularly in automated pipelines or agents that need on-demand unit conversion with a known precision guarantee (IEEE-754 double).

## Known failure modes

- Missing or non-numeric 'value' query parameter returns a validation error
- Value below 0 or above 1e+100 is rejected as out of range
- Payment of 0.001 USDC not provided or declined results in 402 Payment Required
- Network or worker timeout returns 5xx error

## 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 astronomical units, the converted result in millimeters as a float (IEEE-754 double precision), the source and target unit labels, and the dimension type ('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 astronomical units."
      }
     },
     "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": "millimeter",
  "from": "astronomical-unit",
  "value": 123.45,
  "converted": 18467857137915000,
  "dimension": "length",
  "precision": "IEEE-754 double"
 }
}
```

## More

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