# Suverse OSRM Driving Route

> Suverse OSRM Driving Route is a paid API for AI agents from proxy.suverse.io, paid per call via x402, $0.002/call, status unknown (last checked 2026-09-15).

Computes the driving route between two lon/lat coordinate pairs using public OSRM (OpenStreetMap), returning distance in meters, duration in seconds, and per-leg waypoint details.

## Facts

- Endpoint: POST https://proxy.suverse.io/v1/data/suverse-geo-osrm-route
- Price: $0.002/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/suverse-osrm-driving-route-05ec6b24
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_B0CogMNKMrDjr-3GzvOGv

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 suverse-osrm-driving-route-05ec6b24 -d '<json body>'
```

Example prompt: What's the driving distance and estimated travel time between coordinates -73.9857, 40.7484 (Manhattan) and -74.0445, 40.6892 (Red Hook, Brooklyn)? Give me the full route breakdown including each leg.

## When to prefer this

Choose this endpoint when you need keyless, OpenStreetMap-based driving route computation without requiring an API key. It is ideal for agents performing logistics, real-estate, or travel-time calculations where cost per call matters and you need raw distance/duration data with leg-level detail. Prefer over Google Maps Directions API or HERE Routing when avoiding key management overhead or when open-data provenance is required.

## Known failure modes

- Coordinates that fall in water or off the road network may fail to snap to a valid route
- Invalid or out-of-range coordinate values return an error
- Unreachable destination (e.g., islands without road access) returns no route
- Network timeout if OSRM public server is temporarily unavailable
- Missing required body fields return a 400-level validation error

## How this service works

Driving route between lon,lat coordinates via public OSRM. Returns distance (m), duration (s), and per-leg legs/waypoints. Keyless OpenStreetMap routing for agents computing travel time and distance.

## Output

Returns a JSON object containing total route distance in meters, total duration in seconds, an array of route legs each with their own distance/duration, and waypoints corresponding to the snapped start and end coordinates on the road network.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method",
    "bodyType",
    "body"
   ],
   "properties": {
    "body": {
     "properties": {}
    },
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "POST",
      "PUT",
      "PATCH"
     ],
     "type": "string"
    },
    "bodyType": {
     "enum": [
      "json",
      "form-data",
      "text"
     ],
     "type": "string"
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/suverse-osrm-driving-route-05ec6b24/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from proxy.suverse.io](https://www.zero.xyz/host/proxy.suverse.io/llms.txt)
