Share via

Unable to retrieve road speed limit data using Azure Maps API

ohad as 0 Reputation points
2026-02-08T18:35:18.5366667+00:00

Title: Unable to retrieve road speed limit data using Azure Maps API

Details: Hi, I am using Azure Maps for a mobile application. My goal is to get the speed limit (speedLimit) for the road the user is currently driving on based on their GPS coordinates.

I have already created the Maps resource and have the necessary API key.

I attempted to use the Search Address Reverse endpoint to get this data, but it is not returning the speedLimit in the response.

Could you please clarify which API endpoint I should be using to retrieve the speed limit, and if there are specific parameters I am missing?

Thank you.

Azure Maps
Azure Maps

An Azure service that provides geospatial APIs to add maps, spatial analytics, and mobility solutions to apps.

{count} votes

2 answers

Sort by: Most helpful
  1. ohad as 0 Reputation points
    2026-02-12T14:10:42.0533333+00:00

    What should I write at the top of the title?

    0 comments No comments

  2. rbrundritt 21,781 Reputation points
    2026-02-08T22:23:22.9366667+00:00

    I'm assuming you are using version 1 of the search service. If you are, but sure to add the returnSpeedLimit parameter to the query as per the documentation: https://learn.microsoft.com/en-us/rest/api/maps/search/get-search-address-reverse?view=rest-maps-1.0&tabs=HTTP However, this is an old service and likely better not to start building something new with it. The newer reverse geocoding service that uses a date as a version number doesn't currently have speed limit data.

    The Azure Maps team released a snap to road API in the past year which does allow retrieving speed limit data. This would likely be the best current option: https://learn.microsoft.com/en-us/rest/api/maps/route/post-snap-to-roads?view=rest-maps-2025-01-01&tabs=HTTP


Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.