# agent402.tools Yards to Light Years Converter

> agent402.tools Yards to Light Years Converter is a paid API for AI agents from agent402.tools, paid per call via x402, $0.001/call, status unknown (last checked 2026-09-14).

Converts a numeric length value from yards to light years via a simple GET request.

## Facts

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

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 agent402-tools-yards-to-light-years-converter-d3bc8877
```

Example prompt: How many light years is 5280 yards? Can you convert that for me?

## When to prefer this

Use this endpoint when you need to convert a specific length value from yards to light years, especially in contexts involving astronomical scale comparisons or educational unit conversion tasks. Prefer this over general-purpose unit converters when you want a lightweight, pay-per-call API with no setup.

## Known failure modes

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

## How this service works

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

## Output

Returns the converted numeric value representing the input yard quantity expressed in light years, a unit of astronomical distance.

## 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/agent402-tools-yards-to-light-years-converter-d3bc8877/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)
