# PrimeAPI Geo Routing

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

Determines optimal network or geographic routing paths based on a location or geo-related query

## Facts

- Endpoint: POST https://prime-api-seven.vercel.app/api/geo/routing?utm_source=zero.xyz
- Price: $0.191683/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-23
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/primeapi-geo-routing-eb1230ef
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_NhsqYRJuSKOXdcsnLwqXg

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-routing-eb1230ef -d '<json body>'
```

Example prompt: What's the optimal geo routing for traffic coming from the New York region — can you look that up and tell me which route or path applies?

## When to prefer this

Use this endpoint when you need to resolve geographic routing decisions, determine which network path or region applies to a location, or look up routing metadata tied to a geo query. Prefer this over general geolocation endpoints when routing logic (not just coordinates) is the primary need.

## Known failure modes

- Missing or empty query parameter returns validation error
- Unrecognized location string may return empty or null routing result
- Payment failure (402) if USDC not provided correctly
- Service timeout if routing resolution takes too long
- Malformed request body returns 400 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 geo routing data including routing paths, geographic region assignments, or network routing decisions relevant to the queried location or search term.

## 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-routing-eb1230ef/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)
