Home / Data & Enrichment / Driving Route & Street Distance Matrix API
Driving Route & Street Distance Matrix API logo

Driving Route & Street Distance Matrix API

Published by @mdforge · Verified
99.98% uptime ~140ms avg AI Score 94/100

Calculate real road driving, walking, or cycling distance (km/miles), travel time, route polyline, and multi-point travel matrices via OSRM.

Try it live
https://api.indieapis.com/v1/street-routing-matrix/route
Compute road distance, driving/walking/cycling duration, and route geometry between two coordinates.
Response Press Run to call the live API
{
  "ok": true
}

            

Overview

Calculate real road driving, walking, or cycling distance (km/miles), travel time, route polyline, and multi-point travel matrices via OSRM.

Self-hosted production API with hard monthly spend caps ($0 surprise overages) and native Streamable HTTP MCP support.

Gateway Headers & Hard Caps

Every response includes X-Quota-Limit, X-Quota-Used, X-Quota-Remaining, and X-Quota-Reset. When your monthly quota is reached, the gateway returns 429 QUOTA_EXCEEDED so you are never billed surprise overages.

2 endpoints

Base URL
https://api.indieapis.com/v1/street-routing-matrix
MCP
https://indieapis.com/mcp/street-routing-matrix
Method Path Parameters Description
GET /route from*, to*, profile Compute road distance, driving/walking/cycling duration, and route geometry between two coordinates.
GET /matrix origins*, destinations*, profile Compute road distance and duration matrix across pipe-separated origin and destination coordinates.