# Pocket Network Straight-Line Routing & Walking Radius

> Pocket Network Straight-Line Routing & Walking Radius is a paid API for AI agents from agent.pocket.network, paid per call via x402, $0.005/call, status unknown (last checked 2026-10-01).

Computes a straight-line walking-radius circle (isochrone approximation) around a point or geocoded place, and optionally estimates straight-line distance, travel time, and reachability to a destination.

## Facts

- Endpoint: POST https://agent.pocket.network/v1/routing-isochrones?utm_source=zero.xyz
- Price: $0.005/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-01
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/pocket-network-straight-line-routing-walking-radius-9a586095
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_TDsQY5F8ZNEixGHdyK4se

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 pocket-network-straight-line-routing-walking-radius-9a586095 -d '<json body>'
```

Example prompt: How far can I walk from the Eiffel Tower in 15 minutes, and is the Louvre within reach on foot?

## When to prefer this

Choose this endpoint when you need a fast, lightweight proximity check or walking-radius circle based on straight-line geometry — not road-based routing. It is ideal for quick reachability checks, isochrone visualizations, or geocoding-powered proximity queries where true road routing is unnecessary or overkill. Prefer alternatives when you need turn-by-turn directions, road-network-aware isochrones, or multi-modal transit routing.

## Known failure modes

- Place name cannot be geocoded by Nominatim — returns geocoding error or empty result
- Invalid coordinate format — malformed lat/lon input returns a validation error
- Missing both 'from' and 'place' fields — request rejected for missing start point
- Payment not provided or insufficient USDC — returns 402 Payment Required
- Nominatim rate-limit or downtime — geocoding step fails intermittently

## How this service works

Straight-line geometry, not road routing: a walking-radius circle (speed x time) around a point or geocoded place and, with a destination, the straight-line distance, estimated minutes and whether it is within reach. POST /v1/routing with {from or place, minutes, to}. Places are geocoded with OpenStreetMap Nominatim. Pay per request in USDC; no account, no API key.

## Output

Returns a circular walking-radius geometry (straight-line, not road-routed) centered on the start point, plus optionally the straight-line distance to the destination in kilometers, estimated travel time in minutes at the given speed, and a boolean indicating whether the destination falls within the computed radius.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "to": {
   "description": "Optional destination, same formats as from."
  },
  "from": {
   "description": "Start point as [lat, lon], {lat, lon} or \"lat,lon\"."
  },
  "place": {
   "type": "string",
   "description": "Place name to geocode (alternative to from)."
  },
  "minutes": {
   "type": "number",
   "description": "Travel time in minutes, default 15."
  },
  "speed_kmh": {
   "type": "number",
   "description": "Speed in km/h, default 4.5 (walking)."
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/pocket-network-straight-line-routing-walking-radius-9a586095/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from agent.pocket.network](https://www.zero.xyz/host/agent.pocket.network/llms.txt)
