# Light Years to Miles Converter

> Light Years 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-09-15).

Converts a numeric value in light years to its equivalent in miles.

## Facts

- Endpoint: GET https://agent402.tools/api/convert/light-years-to-miles
- Price: $0.001/call
- Payment: x402
- Status: down
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/light-years-to-miles-converter-fbfeb9a6
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_UUEVmS-sxbnlZQAoGzEaW

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 light-years-to-miles-converter-fbfeb9a6
```

Example prompt: Convert 4.2 light years to miles for me.

## When to prefer this

Use this endpoint when you need a quick, programmatic conversion from light years to miles, particularly in astronomical, scientific, or educational contexts where distances are given in light years and need to be expressed in miles. Prefer this over general-purpose math tools when you want a dedicated, pre-built unit conversion with minimal setup.

## Known failure modes

- Missing required 'value' query parameter returns an error
- Non-numeric or malformed value input returns a validation error
- Extremely large values may result in precision issues in floating point output
- Payment failure (x402) if USDC not provided or insufficient balance

## How this service works

Convert light years to miles (length). Pass ?value=N.

## Output

Returns the numeric equivalent of the input light year value expressed in miles, as a converted length measurement.

## 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/light-years-to-miles-converter-fbfeb9a6/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)
