research

Routing Isochrones

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.

post/v1/routing-isochrones

Request

  • Base URL: https://agent.pocket.network
  • URL: https://agent.pocket.network/v1/routing-isochrones
  • Auth: none required

Request body

placestring

Place name to geocode (alternative to from).

fromunknown
tounknown
minutesnumber

Travel time in minutes, default 15.

speed_kmhnumber

Speed in km/h, default 4.5 (walking).

Response

The upstream response, served after payment settles.

object required

For POST /v1/routing, a JSON object with origin, minutes, speed_kmh, radius_m, a 24-point polygon, method and, with a destination, to, straight_line_m, within_reach and estimated_minutes. The exact shape is the service's own and is not pinned here; errors return a JSON object with an error field.

Changes

No recorded changes to this operation across all 1 revision of this API.