# NexusAPI Geo Distance Calculator

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

Calculates the geographic distance between two locations using coordinates or place names

## Facts

- Endpoint: POST https://nexus-api-virid.vercel.app/api/geo/distance
- Price: $0.077813/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/nexusapi-geo-distance-calculator-2fe322ef
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_CFbBddWPJW3S81H7io4tx

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-2fe322ef -d '<json body>'
```

Example prompt: What is the straight-line geographic distance between New York City and London in kilometers?

## When to prefer this

Choose this endpoint when you need a quick, pay-per-call geographic distance calculation without managing API keys or subscriptions. Useful for agents that occasionally need distance data without integrating a full mapping SDK. Best for simple point-to-point distance lookups rather than complex routing or turn-by-turn directions.

## Known failure modes

- Ambiguous or unrecognized location names may return errors or incorrect results
- Missing or malformed coordinates may cause computation failure
- Generic input schema may not expose explicit coordinate fields, leading to parsing ambiguity
- Network or service availability issues on the Vercel deployment could cause timeouts

## 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 a computed geographic distance between two input locations, likely including the numeric distance value and unit of measurement (e.g. kilometers or miles), based on straight-line or haversine calculation between coordinates or named places.

## 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-2fe322ef/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from nexus-api-virid.vercel.app](https://www.zero.xyz/host/nexus-api-virid.vercel.app/llms.txt)
