An Azure service that provides geospatial APIs to add maps, spatial analytics, and mobility solutions to apps.
What should I write at the top of the title?
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
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.
An Azure service that provides geospatial APIs to add maps, spatial analytics, and mobility solutions to apps.
What should I write at the top of the title?
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