How to upgrade from Bing Maps REST API to Azure Maps API for addres validation

Jovial Andree 1 Reputation point
2021-04-19T09:42:05.627+00:00

We are validating the US postal code,city and state combination using the Bing Maps Rest API. Link as below
http://dev.virtualearth.net/REST/v1/Locations/US/ny/10007/new%20york/291%20broadway?output=xml&key=yourBingMapsKey

Is there an option in Azure Maps to get the desired behavior.
Answers were mostly Welcome. TIA

Azure Maps
Azure Maps
An Azure service that provides geospatial APIs to add maps, spatial analytics, and mobility solutions to apps.
666 questions
C#
C#
An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.
10,671 questions
{count} votes

1 answer

Sort by: Most helpful
  1. rbrundritt 16,636 Reputation points Microsoft Employee
    2021-04-20T16:40:13.033+00:00

    It looks like your address is already parsed into it's parts, so Azure Maps structured address search service would be the equivalent service to the Bing Maps service you are using: https://learn.microsoft.com/en-us/rest/api/maps/search/getsearchaddressstructured