# Kilometers to Miles Converter

> Kilometers to Miles Converter is a paid API for AI agents from built-with-productos-xszv.vercel.app, paid per call via x402, $0.001/call, status unknown (last checked 2026-10-02).

Converts a distance value from kilometers to miles using a deterministic formula.

## Facts

- Endpoint: GET https://built-with-productos-xszv.vercel.app/v1/convert-kilometers-to-miles?utm_source=zero.xyz
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-02
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/kilometers-to-miles-converter-e87c993e
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_d-erF5ETtl8f7aWgM1s9b

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-e87c993e
```

Example prompt: How many miles is 26.2 kilometers?

## When to prefer this

Use this endpoint when you need a fast, pay-per-call, keyless kilometers-to-miles conversion without setting up any authentication. Ideal for AI agents that need deterministic unit conversion on demand, especially within pipelines already using the Global Weather & FX API suite where other distance or weather data is in metric units.

## Known failure modes

- Missing required 'kilometers' query parameter returns an error
- Non-numeric value for 'kilometers' causes a validation error
- Negative kilometer values may return unexpected results depending on server handling
- Network or Vercel cold-start latency on first call

## 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 containing the original kilometers value and the equivalent distance in miles (e.g. {"miles": 0.621371, "kilometers": 1}).

## 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-e87c993e/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from built-with-productos-xszv.vercel.app](https://www.zero.xyz/host/built-with-productos-xszv.vercel.app/llms.txt)
