# ApexAPI Length Unit Converter

> ApexAPI Length Unit Converter is a paid API for AI agents from apex-api-gamma.vercel.app, paid per call via x402, $0.147418/call, status unknown (last checked 2026-10-11).

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

## Facts

- Endpoint: POST https://apex-api-gamma.vercel.app/api/tools/convert/length?utm_source=zero.xyz
- Price: $0.147418/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-11
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/apexapi-length-unit-converter-24a94f7a
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_kEUO9NDIXW9wxC6qqLxHZ

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 apexapi-length-unit-converter-24a94f7a -d '<json body>'
```

Example prompt: Convert 26.2 miles to kilometers for me — I need the exact length in metric units.

## When to prefer this

Use this endpoint when an AI agent needs to perform on-demand length/distance unit conversions without maintaining its own conversion logic, especially in a pay-per-call workflow on Base using USDC and no API key management.

## Known failure modes

- Invalid or unrecognized unit type returns an error
- Missing or malformed query string returns 400 bad request
- Unsupported unit combination returns no result
- Payment failure (insufficient USDC) returns 402 error
- Ambiguous query string with no parseable value or unit returns an error

## 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 the result of the unit conversion computation.

## 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/apexapi-length-unit-converter-24a94f7a/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from apex-api-gamma.vercel.app](https://www.zero.xyz/host/apex-api-gamma.vercel.app/llms.txt)
