{"schemaVersion":1,"id":"osrm","name":"OSRM","locale":"en","canonicalUrl":"https://base.akulich.dev/en/library/osrm/","officialUrl":"https://project-osrm.org/","isCatalog":false,"description":"A high-performance C++ routing engine based on OpenStreetMap: HTTP APIs for routes, nearest points, and distance matrices in your own geospatial apps.","tasks":["Retrieve routes and distance matrices","Prepare the graph and perform route and table requests for several coordinates"],"categoryIds":["backend"],"subcategoryIds":["backend.geospatial"],"tags":["OSRM","Geospatial application component"],"aliases":[],"platforms":[],"stack":[],"compatibility":null,"pricing":"freemium","freeUsage":"The open source component used locally or self-hosted for the stated workflow, within its license terms.","paidUsage":"Your own server, external APIs, and compute; managed cloud hosting, support, and additional commercial features if selected.","license":"BSD-2-Clause","selectionGuide":{"purpose":"Retrieve routes and distance matrices","chooseWhen":["Retrieve routes and distance matrices","Prepare the graph and perform route and table requests for several coordinates"],"considerInstead":[],"requirements":["The Docker quickstart requires OSM data and preprocessing: extract → partition → customize for MLD; CH uses contract and the corresponding routed algorithm."],"limitations":["Costs and limits of free use: Your own server, external APIs, and computing resources; managed cloud hosting, support, and additional commercial features if selected.","Terms of use: BSD-2-Clause","Trip uses a greedy traveling-salesperson heuristic. Node/Python bindings provide read-only access to the routing engine."],"faq":[{"question":"What can you use for free in OSRM?","answer":"The openly available portion, used locally or self-hosted for the stated use case within its license terms."},{"question":"What additional costs might arise with OSRM?","answer":"Your own server, external APIs, and computing resources; managed cloud hosting, support, and additional commercial features if selected."},{"question":"What terms of use matter for OSRM?","answer":"BSD-2-Clause"},{"question":"How do you get started with OSRM?","answer":"Set up OSRM to test: OSM data for the required region and a travel profile. Prepare the graph and perform route and table requests for several coordinates. Integrate the checked version into your project; document its configuration, limitations, and recovery method."},{"question":"What does OSRM handle besides a single route?","answer":"The HTTP API, C++ interface, and Node bindings provide Nearest for snapping coordinates to the street network, Route for the fastest route, Table for time/distance matrices, Match for GPS traces, Trip for visit order, and Tile for routing metadata. For a self-hosted server, an OSM extract is first processed with a profile, then prepared through the chosen pipeline."}],"related":[],"sources":["https://project-osrm.org/","https://raw.githubusercontent.com/Project-OSRM/osrm-backend/master/README.md","https://github.com/Project-OSRM/osrm-backend","https://raw.githubusercontent.com/Project-OSRM/osrm-backend/master/LICENSE.TXT","https://raw.githubusercontent.com/Project-OSRM/osrm-backend/HEAD/README.md","https://raw.githubusercontent.com/Project-OSRM/osrm-backend/HEAD/LICENSE.TXT"]},"selectionCheckedAt":null,"applicationGuide":{"goal":"Retrieve routes and distance matrices","inputs":["OSM data for the required region and a travel profile.","A test project and completion criteria for the task: Retrieve routes and distance matrices."],"steps":["Set up OSRM to test: OSM data for the required region and a travel profile.","Prepare the graph and perform route and table requests for several coordinates.","Integrate the checked version into your project; document its configuration, limitations, and recovery method."],"checks":["Coordinates belong to the chosen graph; check the matrix and route with reference pairs.","Check the result against a reference example; separately confirm the terms of any assets and external services used."]},"sources":["https://project-osrm.org/","https://raw.githubusercontent.com/Project-OSRM/osrm-backend/master/README.md","https://github.com/Project-OSRM/osrm-backend","https://raw.githubusercontent.com/Project-OSRM/osrm-backend/master/LICENSE.TXT","https://raw.githubusercontent.com/Project-OSRM/osrm-backend/HEAD/README.md","https://raw.githubusercontent.com/Project-OSRM/osrm-backend/HEAD/LICENSE.TXT"],"checkedAt":"2026-10-06","reviewScope":"Purpose and published conditions were reviewed against primary sources on 06.10.2026. The software was not installed, and quality and performance in a specific environment were not tested.","relatedIds":[],"dataVersion":"cbbe7123b47a5ae80983","type":"Geospatial app component","kind":"tool","pricingNote":"Code licensing and hosting costs are separate matters. Check the conditions for the specific version and edition.","notes":null,"labeledSources":[{"url":"https://project-osrm.org/","label":"Official website"},{"url":"https://raw.githubusercontent.com/Project-OSRM/osrm-backend/master/README.md","label":"Project documentation"},{"url":"https://github.com/Project-OSRM/osrm-backend","label":"Source code"},{"url":"https://raw.githubusercontent.com/Project-OSRM/osrm-backend/master/LICENSE.TXT","label":"Current product terms"},{"url":"https://raw.githubusercontent.com/Project-OSRM/osrm-backend/HEAD/README.md","label":"Official source"},{"url":"https://raw.githubusercontent.com/Project-OSRM/osrm-backend/HEAD/LICENSE.TXT","label":"Official source"}],"licenseGuides":[{"id":"bsd-2","title":"BSD2-Clause — free use with notices","scope":null,"summary":"Use, modification, and distribution of source code and binaries are permitted. Retain the copyright, conditions, and warranty disclaimer in source code; reproduce them in documentation or accompanying materials for a binary release. This license does not determine a separate service's pricing or support.","url":"https://opensource.org/license/bsd-2-clause"}],"entryIds":[],"composition":null}