Azure Maps: Route
Azure Maps Route REST APIs
Fork copies the collection into your workspace, without the publisher's secrets, so you can add your own key and send requests. Star saves it to your starred APIs (Account › Marketplace) and helps others find it.
Overview
Azure Maps Route REST APIs
Endpoints 10
- POSTUse to get the best route between an origin and destination for automobile,
commercial trucks and walking routes.
/route/directions?api-version=stringThe Route Directions API is an HTTP POST request that returns the ideal route between an origin and destination for automobile (driving), commercial trucks… - POSTUse to send a batch of queries to the [Route
Directions](/rest/api/maps/route/post-route-directions?view=rest-maps-2025-01-01)
API in a single synchronous request.
/route/directions:batch?api-version=stringThe Route Directions Batch API is an HTTP POST request that sends batches of up to 100 queries in a single call to the Route Directions API. Submit… - POSTRoute_PostRouteMatrix
/route/matrix?api-version=stringThe Route Matrix API is an HTTP POST request that allows calculation of a matrix of route summaries for a set of routes defined by origin and destination… - POSTRoute_PostRouteMatrixAsync
/route/matrix:async?api-version=stringThe Route Matrix Async API is an HTTP POST request that allows calculation of a matrix of route summaries for a set of routes defined by origin and… - GETRoute_GetRouteOperationsStatus
/route/operations/:id?api-version=stringGet the status of an asynchronous operation by its operation ID. - GETRoute_GetRouteOperationsResult
/route/operations/:id/result?api-version=stringGet the result of an asynchronous operation by its operation ID. - POSTRoute_PostRouteRange
/route/range?api-version=stringThe Route Range API creates a polygon that depicts the area reachable from a given location within a certain threshold based on the specified time or distance… - POSTRoute_PostRouteRangeBatch
/route/range:batch?api-version=stringThe Route Range Batch API sends batches of up to 100 queries as a single call to the Route Range API. This API enables efficient processing of multiple… - POSTRoute_PostSnapToRoads
/route/snapToRoads?api-version=stringThe Snap to Roads API accepts GPS point data, represented as longitude and latitude coordinates, and generates points that aligns with existing roadways on a… - POSTRoute_PostSnapToRoadsBatch
/route/snapToRoads:batch?api-version=stringThe Snap To Roads Batch API sends batches of up to 100 queries as a single call to the Snap To Roads API. This API enables efficient processing of multiple…
API details
- Authentication
- OAuth 2.0 (implicit flow) with 1 scope
An API key in the subscription-key header
An API key in the SAS Token header - Operations
- 10 operations on 10 pathsPOST 8GET 2
- Response formats
application/json- Description format
- Swagger 2.0, API version
2025-01-01 - Links
- OpenAPI document
How to test the Azure Maps: Route in Swastik Codes
- Open the APISelect “Fork & run in Swastik Codes” on this page. Sign in or create a free account if asked.
- Fork it into your workspaceChoose a workspace. You get your own copy of the Azure Maps: Route collection, without the publisher's secrets.
- Add your credentialsThis API uses OAuth 2.0 (implicit flow) with 1 scope. Add yours in the collection's variables or an environment; the requests already reference it.
- Send a requestPick an endpoint, for example “Use to get the best route between an origin and destination for automobile, commercial trucks and walking routes.” (POST /route/directions?api-version=string), and press Send. Check the response, add tests and run the whole collection with the runner.
Frequently asked questions
What is the Azure Maps: Route?
Azure Maps Route REST APIs It is listed under Maps & location and has 10 endpoints.
Who publishes the Azure Maps: Route?
It is listed from Microsoft Azure's public API description (an OpenAPI document), not published by Microsoft Azure on Swastik Codes. Anyone who controls azure.com can claim the profile by adding a DNS TXT record.
How do I authenticate with the Azure Maps: Route?
It accepts 3 methods: OAuth 2.0 (implicit flow) with 1 scope; an API key in the subscription-key header; an API key in the SAS Token header.
How many endpoints does the Azure Maps: Route have?
10 operations on 10 paths (8 POST, 2 GET).
Is forking the Azure Maps: Route free?
Yes. Forking copies the collection into your workspace for free. It has been starred 0 times and forked 0 times.