# NexusAPI Length Unit Converter

> NexusAPI Length Unit Converter is a paid API for AI agents from nexus-api-virid.vercel.app, paid per call via x402, $0.026508/call, status unknown (last checked 2026-09-15).

Converts a length value from one unit of measurement to another (e.g. meters to feet, miles to kilometers)

## Facts

- Endpoint: POST https://nexus-api-virid.vercel.app/api/tools/convert/length
- Price: $0.026508/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/nexusapi-length-unit-converter-21c39fa1
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_y9ZZ2Ebx6Cru2p7rLUbT_

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 nexusapi-length-unit-converter-21c39fa1 -d '<json body>'
```

Example prompt: Convert 26.2 miles to kilometers for me.

## When to prefer this

Use this endpoint when an AI agent needs a quick, pay-per-call length unit conversion without setting up API keys or managing a dedicated conversion library. Best suited for one-off or infrequent conversions billed in USDC on Base, especially in x402-enabled agentic workflows.

## Known failure modes

- Unrecognized unit names return an error or empty result
- Missing value or unit in query string causes a 400-level error
- Ambiguous query strings may produce incorrect unit interpretation
- Very large or very small values may cause precision loss

## How this service works

Crypto, AI, Social Media, Finance, Weather, Tools &amp; more. Pay per call in USDC on Base. No API keys.

## Output

Returns the converted length value in the requested target unit, along with relevant metadata such as the original value, source unit, and target unit.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "query": {
   "type": "string",
   "description": "Search query or input parameter"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "object",
 "description": "API response data"
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/nexusapi-length-unit-converter-21c39fa1/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from nexus-api-virid.vercel.app](https://www.zero.xyz/host/nexus-api-virid.vercel.app/llms.txt)
