OSRM Map Matching API
Snap noisy GPS signals to the real road network. Turn scattered tracking coordinates into clean, accurate and logical route data.
/api/v1/osrm/match/v1/{profile}/{coordinates}Current plan limits
Free includes Routing, Route Optimization, Geocoding (including reverse lookup and autocomplete) and Matrix APIs within plan limits. Map Matching, Isochrone, Truck Routing, Fuel Estimate and other separate APIs require a paid plan, including PAYG. API access follows the account’s effective plan; a positive balance alone does not override Free restrictions. Road Data and AI retain their separate Business requirements.
Replace YOUR_KEY with your own API key. Paid API requests consume credits; copying this example does not send a request.
Current plans and pricingOverview
The Map Matching API snaps noisy GPS traces to the real road network. Raw tracking coordinates drift off the road; feed the sequence to this endpoint and it returns a clean, road-aligned path with the roads actually travelled. Essential for fleet telematics, trip reconstruction and turning scattered pings into accurate, logical route data.
API reference
/api/v1/osrm/match/v1/{profile}/{coordinates}| Parameter | Type | Status |
|---|---|---|
| geometries | string | Optional |
| profile | string | Required |
| coordinates | string | Required |
| overview | string | Optional |
| timestamps | string | Optional |
| radiuses | string | Optional |
Example request
Credit cost: 1 creditcurl "https://osrmroute.com/api/v1/osrm/match/v1/driving/49.851536,40.375480;49.844011,40.379982;49.839336,40.389620;49.837774,40.389268?overview=full&geometries=geojson" -H "Authorization: Bearer YOUR_KEY"