This quarter, Simple Routing donated to the OpenStreetMap Foundation and the Nature Conservancy. Learn more about our give back program and values.

Free Maplines API

Get the actual road-following route geometry between any set of waypoints in a single API call

Powered by OSRM and OpenStreetMap.

βœ… No credit card required πŸ‡ͺπŸ‡Ί Hosted in the EU

Get Free API Key

What Is a Maplines API?

A maplines API returns the actual road-following geometry of a route β€” a sequence of coordinates that traces the real road network between your waypoints. Instead of drawing a straight line between A and B, you get the path a driver would actually take, ready to render on any map.

πŸ—ΊοΈ Route Visualization

Draw accurate driving routes on your map. Show customers or drivers exactly where the vehicle will travel, not just a crow-flies line.

πŸ“¦ Delivery Tracking

Animate a delivery vehicle along the real road path. Feed route geometry into your frontend map to show live or planned progress.

🧭 Navigation Apps

Embed turn-by-turn ready route data in your app. The response includes distance, duration, and step-by-step maneuver instructions.

Live Demo

3 NYC landmarks. Click Run Demo to fetch the real road route from the API.

# Route geometry: Times Square β†’ Central Park β†’ Brooklyn Bridge
curl "https://api.simplerouting.io/osrm/route/v1/driving/-73.9855,40.7580;-73.9718,40.7678;-73.9969,40.7061?overview=full&geometries=geojson" \
  -H "Authorization: Bearer 988b35cc-6183-4922-bbc0-857e1a1d318d"
Response

            

This is a live demo with a real API key (feel free to steal it).

Quick Start

Sign up for a free key, then drop it into this curl command:

# Times Square β†’ Central Park β†’ Brooklyn Bridge
curl "https://api.simplerouting.io/osrm/route/v1/driving/-73.9855,40.7580;-73.9718,40.7678;-73.9969,40.7061?overview=full&geometries=geojson" \
  -H "Authorization: Bearer YOUR_API_KEY"

Coordinates are longitude,latitude pairs separated by semicolons. Add ?overview=full&geometries=geojson to get the full route geometry as a GeoJSON LineString you can pass directly to Leaflet, Mapbox, or any mapping library.

Get Free API Key

Pricing

Free
$0/forever
  • 100 requests/dayiMax 5 req/s
  • Distance matrix APIiOSRM API
    • 100Γ—100 matrix size
  • Fleet optimization APIiVROOM API
    • 10 vehicles / 100 jobs
  • Car routing profile
  • North America & Europe coverage
  • No credit card required
Get Free API Key
Scale
$100/month
  • 200,000 requests/dayiMax 20 req/s
  • Distance matrix APIiOSRM API
    • 500Γ—500 matrix size
  • Fleet optimization APIiVROOM API
    • 50 vehicles / 1,000 jobs
  • Car routing profile iBiking and walking profiles coming soon
  • North America & Europe coverage iMore coverage coming soon
  • Cancel anytime
Get Started

Hitting the limits, want more countries, or need a bespoke solution? Email [email protected] β€” we'll figure it out.

πŸŽ“
Education, non-profit, or open source? We offer discounted rates β€” email [email protected] to connect.

Global Stats

3.5M+
Requests served
99.99%
Uptime
195+
Developers building on the platform

FAQ

What does the response look like?

The API returns a JSON object with a routes array. Each route has a geometry (GeoJSON LineString or encoded polyline), distance (meters), duration (seconds), and a legs array with per-segment steps and maneuver details.

How do I draw the route on a map?

Request with geometries=geojson and pass routes[0].geometry directly to L.geoJSON() in Leaflet, or map.addSource() in Mapbox GL JS. No coordinate decoding needed.

Is this compatible with the standard OSRM /route API?

Yes. The endpoint follows the standard OSRM Route Service specification. If you are already using a self-hosted OSRM instance, switching is a one-line URL change plus an Authorization header.

What geographic coverage is available?

The free tier covers North America and Europe. Need more regions? Email [email protected] β€” coverage is added based on demand.

Ready to start?

Get your free API key β€” no credit card required.

Get Free API Key