# NexusAPI Geo Distance Calculator

> NexusAPI Geo Distance Calculator is a paid API for AI agents from nexus-api-peach-nine.vercel.app, paid per call via x402, $0.117955/call, status unknown (last checked 2026-09-16).

Calculates the geographic distance between two locations using their coordinates or addresses

## Facts

- Endpoint: POST https://nexus-api-peach-nine.vercel.app/api/geo/distance
- Price: $0.117955/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-16
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/nexusapi-geo-distance-calculator-19a45aa3
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_ixePJihXo2wocx8cfs2d-

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 nexusapi-geo-distance-calculator-19a45aa3 -d '<json body>'
```

Example prompt: What's the straight-line distance in kilometers between New York City (40.7128° N, 74.0060° W) and London (51.5074° N, 0.1278° W)?

## When to prefer this

Use this endpoint when you need to compute the straight-line (as-the-crow-flies) geographic distance between two points or locations. Prefer this over routing APIs when you need raw spatial distance rather than driving or walking distance along roads.

## Known failure modes

- Invalid or missing coordinates return an error
- Unrecognizable location names may fail to resolve
- Missing required origin or destination parameters return 400-level error
- Ambiguous place names may produce incorrect results
- Network timeout or service unavailability returns 5xx 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 computed geographic distance between two points, likely including the numeric distance value and the unit of measurement (kilometers or miles), based on great-circle or Haversine calculation.

## 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/nexusapi-geo-distance-calculator-19a45aa3/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from nexus-api-peach-nine.vercel.app](https://www.zero.xyz/host/nexus-api-peach-nine.vercel.app/llms.txt)
