# Kilometers to Miles Converter

> Kilometers to Miles Converter is a paid API for AI agents from agent-chain-kit-solana.vercel.app, paid per call via x402, $0.001/call, status unknown (last checked 2026-10-13).

Converts a distance value from kilometers to miles using deterministic arithmetic

## Facts

- Endpoint: GET https://agent-chain-kit-solana.vercel.app/v1/convert-kilometers-to-miles?utm_source=zero.xyz
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-13
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/kilometers-to-miles-converter-bd9bfbe7
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_SqJJ7j8miWbPJKqiCAEmf

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 kilometers-to-miles-converter-bd9bfbe7
```

Example prompt: Convert 26.2 kilometers to miles for me.

## When to prefer this

Use this endpoint when you need a deterministic, server-side kilometers-to-miles conversion without implementing the math locally. Ideal for AI agents operating in the x402 pay-per-call ecosystem that already handle micropayments and need a reliable, consistent unit conversion utility alongside other calls to the same host (weather, FX, EVM reads).

## Known failure modes

- Missing required 'kilometers' query parameter returns a 400 or error response
- Non-numeric value for kilometers causes a validation error
- Negative kilometer values may return a result but should be validated by the caller
- Payment not included or invalid x402/MPP payment leads to 402 Payment Required response

## How this service works

Global current weather, hourly forecasts, foreign-exchange rates, EVM reads, and deterministic utilities for AI agents. Pay per call with MPP or x402; no API key.

## Output

Returns a JSON object with the original kilometers value and the equivalent miles value (e.g. {"miles": 0.621371, "kilometers": 1}). The conversion uses the standard factor of 0.621371192237334 miles per kilometer.

## 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",
      "HEAD",
      "DELETE"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "required": [
      "kilometers"
     ],
     "properties": {
      "kilometers": {
       "type": "number"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "miles": 0.621371192237334,
  "kilometers": 1
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/kilometers-to-miles-converter-bd9bfbe7/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from agent-chain-kit-solana.vercel.app](https://www.zero.xyz/host/agent-chain-kit-solana.vercel.app/llms.txt)
