{
  "serviceId": "routing-isochrones",
  "displayName": "Routing Isochrones",
  "description": "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.",
  "category": "research",
  "resourceUrl": "https://agent.pocket.network/v1/routing-isochrones",
  "priceUsd": "0.005000",
  "priceVersion": 1,
  "rails": [
    {
      "id": "base",
      "network": "eip155:8453",
      "chainId": 8453,
      "tokenAddress": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
      "tokenDecimals": 6,
      "payToAddress": "0xF732ea490c5766071785a2310523f7fA2CEbB829"
    }
  ],
  "paymentNetworks": [
    "eip155:8453",
    "eip155:4217"
  ],
  "paymentProtocols": [
    "x402",
    "mpp"
  ],
  "protocols": [
    "rest"
  ],
  "inputSchema": {
    "type": "object",
    "description": "The request body for POST /v1/routing.",
    "properties": {
      "place": {
        "type": "string",
        "description": "Place name to geocode (alternative to from)."
      },
      "from": {
        "description": "Start point as [lat, lon], {lat, lon} or \"lat,lon\"."
      },
      "to": {
        "description": "Optional destination, same formats as from."
      },
      "minutes": {
        "type": "number",
        "description": "Travel time in minutes, default 15."
      },
      "speed_kmh": {
        "type": "number",
        "description": "Speed in km/h, default 4.5 (walking)."
      }
    }
  },
  "outputSchema": {
    "type": "object",
    "description": "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."
  },
  "methods": {
    "GET /v1/health": "read",
    "GET /v1/version": "read",
    "POST /v1/routing": "read"
  },
  "firstParty": true,
  "networks": [
    "eip155:8453",
    "eip155:4217"
  ],
  "serving": true,
  "page": "https://agent.pocket.network/services/routing-isochrones",
  "descriptor": "https://agent.pocket.network/services/routing-isochrones/descriptor.json"
}