# Ziplore ZIP Distance

> Ziplore ZIP Distance is a paid API for AI agents from ziplore.cybermaxtools.com, paid per call via x402, $0.002/call, status unknown (last checked 2026-10-17).

Calculates the distance between two US ZIP codes

## Facts

- Endpoint: GET https://ziplore.cybermaxtools.com/x402/api/distance?utm_source=zero.xyz
- Price: $0.002/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-17
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/ziplore-zip-distance-03a4bfe5
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_b6ZT7oH0R6iq9rxohGAPD

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 ziplore-zip-distance-03a4bfe5
```

Example prompt: What's the distance between ZIP code 10001 (New York) and 90210 (Beverly Hills)? I need to know how far apart those two ZIP codes are.

## When to prefer this

Use this endpoint when you need a quick, low-cost ($0.002 USDC) distance calculation between two specific US ZIP codes without needing a full mapping or routing API. Ideal for eligibility checks, delivery radius validation, or any agent workflow that needs ZIP-to-ZIP proximity without full geocoding overhead.

## Known failure modes

- Invalid or non-existent ZIP code returns an error or empty result
- Non-US ZIP codes are not supported
- Missing required 'from' or 'to' query parameters results in a 400 error
- Payment failure or insufficient USDC balance returns 402 Payment Required

## How this service works

US ZIP codes to county, time zone and demographics. ZIP code facts, radius search and Census demographics in one call Try it free in one click, no sign-up.

## Output

Returns the computed distance between two US ZIP codes, likely including straight-line (crow-flies) mileage or kilometers and possibly driving distance, helping agents determine geographic proximity between postal areas.

## 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": [
      "from",
      "to"
     ],
     "properties": {
      "to": {
       "type": "string",
       "description": "Second ZIP"
      },
      "from": {
       "type": "string",
       "description": "First ZIP"
      }
     }
    }
   }
  },
  "output": {
   "type": "object",
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {}
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/ziplore-zip-distance-03a4bfe5/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from ziplore.cybermaxtools.com](https://www.zero.xyz/host/ziplore.cybermaxtools.com/llms.txt)
