Skip to main content
Version: 1.0.0

SWAT Routing API

The Route Generation API provides access to time-dependent routing and time-distance matrices. The API supports multiple routing profiles; specific routing profiles depend on the region and deployed/integrated underlying GIS providers.

SWAT routing API is based on the OSRM routing engine. A more detailed explanation of the parameters can be read on the OSRM or Mapbox websites:

https://project-osrm.org/docs/v5.10.0/api/#route-service

https://docs.mapbox.com/api/navigation/directions/

Vehicle routing profiles are configured by the SWAT team and will be shared with the integrator (in the example below, the vehicle profile is set to driving).

In some cases, due to time-dependent restrictions for certain types of vehicles, certain routes will not be available. In this case, the matrices will contain null for the relevant times/distances between the requested points.

Authentication

Security Scheme Type:

apiKey

Query parameter name:

access_token

Contact

SWAT Mobility API team: apiteam@swatmobility.com

URL: https://dev.swatmobility.com