# PrimeAPI Geo Directions

> PrimeAPI Geo Directions is a paid API for AI agents from prime-api-seven.vercel.app, paid per call via x402, $0.144254/call, status unknown (last checked 2026-09-16).

Returns turn-by-turn directions between two locations via a geospatial routing query

## Facts

- Endpoint: POST https://prime-api-seven.vercel.app/api/geo/directions
- Price: $0.144254/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-16
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/primeapi-geo-directions-065b673c
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_89vA3-p8NGrsP_N7LF8lv

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 primeapi-geo-directions-065b673c -d '<json body>'
```

Example prompt: Can you get me directions from 123 Main Street, San Francisco to the Golden Gate Bridge?

## When to prefer this

Use this endpoint when an AI agent needs to compute or retrieve directions/routes between two geographic points and no other mapping API is available; particularly useful in x402 pay-per-call environments where no API key management is desired.

## Known failure modes

- Invalid or ambiguous location query returns error or empty result
- Unresolvable address strings may return no route found
- Network timeout or upstream geocoding service failure
- Query string too vague to determine start/end points

## 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 routing data including turn-by-turn directions, distance, estimated travel time, and waypoints between the origin and destination locations.

## 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/primeapi-geo-directions-065b673c/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from prime-api-seven.vercel.app](https://www.zero.xyz/host/prime-api-seven.vercel.app/llms.txt)
