# agent402.tools Nanometers to Light Years Converter

> agent402.tools Nanometers to Light Years 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 nanometers to its equivalent in light years via a simple GET request.

## Facts

- Endpoint: GET https://agent402.tools/api/convert/nanometers-to-light-years
- 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/agent402-tools-nanometers-to-light-years-converter-5206d2cd
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_Y-_t8nICOmIFE0BXIWiVY

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-nanometers-to-light-years-converter-5206d2cd
```

Example prompt: Can you convert 500000000 nanometers to light years for me?

## When to prefer this

Use this endpoint when you need a quick, programmatic conversion from nanometers to light years without setting up your own unit conversion logic. Ideal for physics, astronomy, or scientific computing contexts where bridging nano-scale and cosmic-scale lengths is needed.

## Known failure modes

- Missing required 'value' query parameter returns an error
- Non-numeric value passed returns a parsing or validation error
- Extremely large or small values may cause precision issues
- Payment not processed results in 402 Payment Required response

## How this service works

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

## Output

Returns the numeric equivalent of the input value in light years, derived from converting the provided nanometer quantity.

## 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-nanometers-to-light-years-converter-5206d2cd/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)
