# Ziplore Distance Between ZIP Codes

> Ziplore Distance Between ZIP Codes is a paid API for AI agents from ziplore.cybermax-tools.workers.dev, paid per call via x402, $0.002/call, status unknown (last checked 2026-10-20).

Calculates the distance between two US ZIP codes

## Facts

- Endpoint: GET https://ziplore.cybermax-tools.workers.dev/x402/api/distance?utm_source=zero.xyz
- Price: $0.002/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-20
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/ziplore-distance-between-zip-codes-a651b2a8
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_uFP0Cea8Q4FnXSNHO-_yS

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-distance-between-zip-codes-a651b2a8
```

Example prompt: What's the distance between ZIP code 90210 and ZIP code 10001?

## When to prefer this

Choose this endpoint when you need a quick, cheap ($0.002 per call) distance calculation between two US ZIP codes without needing a full geocoding or mapping API. It is ideal for eligibility checks, delivery radius validation, or rough geographic proximity estimates using ZIP codes as inputs, without requiring lat/lng coordinates.

## Known failure modes

- Invalid or non-existent ZIP code returns an error
- Missing 'from' or 'to' query parameter returns a 400 error
- Non-US ZIP codes are not supported
- Payment failure (402) if x402 micropayment is not properly handled

## 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 (as-the-crow-flies) distance in miles or kilometers based on the geographic centers of each ZIP code.

## 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-distance-between-zip-codes-a651b2a8/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from ziplore.cybermax-tools.workers.dev](https://www.zero.xyz/host/ziplore.cybermax-tools.workers.dev/llms.txt)
