# Astronomical Units to Miles Converter

> Astronomical Units to Miles Converter is a paid API for AI agents from agent402.tools, paid per call via x402, $0.001/call, status down (last checked 2026-10-21).

Converts a numeric value in astronomical units (AU) to miles via a simple GET request.

## Facts

- Endpoint: GET https://agent402.tools/api/convert/astronomical-units-to-miles?utm_source=zero.xyz
- Price: $0.001/call
- Payment: x402
- Status: down
- Last checked: 2026-10-21
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/astronomical-units-to-miles-converter-82ecf0cc
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap__8S8dn4pwFrVp-AlTpe55

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-units-to-miles-converter-82ecf0cc
```

Example prompt: How many miles is 2.7 astronomical units? Can you convert that for me?

## When to prefer this

Use this endpoint when you need to convert a specific numeric distance value from astronomical units (AU) to miles — for example, when working with planetary distances, orbital radii, or any space measurement expressed in AU and needing a familiar terrestrial unit.

## Known failure modes

- Missing required 'value' query parameter returns an error
- Non-numeric value passed causes a bad request or parsing error
- Very large or very small numbers may cause precision issues
- Service unavailable or payment not processed returns a 402 or 5xx error

## How this service works

Convert astronomical units to miles (length). Pass ?value=N.

## Output

Returns the input value expressed in miles, converted from astronomical units (AU), as a numeric result.

## 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"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "required": [
      "value"
     ],
     "properties": {
      "value": {
       "type": "string",
       "description": "Numeric value to convert"
      }
     }
    }
   },
   "additionalProperties": false
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/astronomical-units-to-miles-converter-82ecf0cc/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from agent402.tools](https://www.zero.xyz/host/agent402.tools/llms.txt)
