Free APIs › Weather & Geography › OSRM Routing
No keyCORS ✓B · 84

OSRM Routing

Driving, walking and cycling routes with distances and durations, worldwide.

StatusLive · verified 23 Oct 2026 · 1506 ms
AuthenticationNone — call it right now
Browser CORSYes — works from front-end code
Free limitsFree demo server, fair use
Official docs ↗ ▶ Open the playground

▶ Live playground

This runs in your browser, straight against the real API. Edit the URL and experiment — break nothing, learn everything.

Press Run to call OSRM Routing live.

📸 Real response, captured by us

Not a mockup — this is what OSRM Routing actually returned when we verified it on 23 Oct 2026 (in 1506 ms).

{
  "code": "Ok",
  "routes": [
    {
      "legs": [
        {
          "steps": [],
          "weight": 667.9,
          "summary": "",
          "duration": 667.9,
          "distance": 7675.7
        }
      ],
      "weight_name": "routability",
      "weight": 667.9,
      "duration": 667.9,
      "distance": 7675.7
    }
  ],
  "waypoints": [
    {
      "hint": "b-q5lHTquZRoAAAAWQAAAFQBAAAAAAAAbYwtQvVZE0JfGg5DAAAAAGgAAABZAAAAVAEAAAAAAAD3KAEA64JaBLEVAAKAgFoEwBUAAgwAXwsAAAAA",
      "location": [
        73.040619,
        33.559985
      ],
      "name": "",
      "distance": 57.49347987
    },
    {
      "hint": "sIOfjIyRn4wDAAAAFAAAAIMAAAAnAAAA--IvQKovWEHQD7VCFMTZQQMAAAAUAAAAgwAAA

💻 Copy-paste code

Three ways to call OSRM Routing — pick your weapon.

// OSRM Routing — no build step, no library. Just fetch.
const res = await fetch("https://router.project-osrm.org/route/v1/driving/73.04,33.56;73.09,33.59?overview=false");
const data = await res.json();
console.log(data);

🏅 Own this API?

Add the live-verified badge to your docs or repo — it only ever displays the status from our latest check.

<a href="https://freeapis.akclnt.com/api/osrm-routing/"><img src="https://freeapis.akclnt.com/badge/osrm-routing.svg" alt="OSRM Routing — live-verified free API on AKCLNT Free APIs"></a>

📜 Full check history & uptime · Status as JSON · Health score: B · 84/100

🔔 Watch this API — a quiet feed that only speaks the week its status changes (down, recovered, reclassified). How it works

Similar free APIs

Open-Meteo

No keyCORS ✓B · 84

Free weather forecast, current conditions and historical data for any coordinates. No key, no signup.

Live · verified 23 Oct 2026 · 1458 ms📁 Weather & Geography · Free for non-commercial use, ~10k calls/day

OpenWeatherMap

Free keyCORS ✓C · 55

The classic weather API — current weather, forecasts and maps for any city on Earth.

Free key required📁 Weather & Geography · Free tier: 1,000 calls/day
Done