# OSRM Driving Distance & Travel Time

> OSRM Driving Distance & Travel Time is a paid API for AI agents from clonecho.builda.company, paid per call via x402, $0.02/call, status unknown (last checked 2026-09-14).

Returns driving distance and travel time between two geographic coordinates using OSRM routing.

## Facts

- Endpoint: POST https://clonecho.builda.company/x402/route-distance
- Price: $0.02/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/osrm-driving-distance-travel-time-50f29d7c
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_oNAdzQhHDcbBtovXxB_Me

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 osrm-driving-distance-travel-time-50f29d7c -d '<json body>'
```

Example prompt: What's the driving distance and estimated travel time between longitude -73.9857, latitude 40.7484 (Midtown Manhattan) and longitude -73.9442, latitude 40.6501 (Flatbush, Brooklyn)?

## When to prefer this

Use this endpoint when you need driving-specific distance and travel time between two precise GPS coordinate pairs. Prefer this over straight-line distance calculations when road routing matters, and over full navigation APIs when you only need the summary metrics (distance + time) rather than turn-by-turn directions.

## Known failure modes

- Invalid or malformed coordinates return an error
- Coordinates over water or unreachable by road may fail or return no route
- Missing 'from' or 'to' parameter causes a bad request
- Coordinates outside supported OSRM map coverage may return no result
- Payment failure or expired x402 token blocks access

## How this service works

TRANSPORT: driving distance + travel time between two points (?from=lon,lat&to=lon,lat) via OSRM. Returns JSON.

## Output

A JSON object containing the driving distance (likely in meters or miles) and estimated travel time (in seconds or minutes) between the two provided coordinate pairs, computed via OSRM road network routing.

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/osrm-driving-distance-travel-time-50f29d7c/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from clonecho.builda.company](https://www.zero.xyz/host/clonecho.builda.company/llms.txt)
