Share via

Difference between Address Search and the API 2025-01-01 Geocode to get lat/lon?

HSB 110 Reputation points
2025-07-03T11:45:09.7866667+00:00

I currently updated our Azure Maps Route Matrix to use the newest API, 2025-01-01. In that process, I saw in the API the Geocode option to get lat/lon coordinates for addresses.

We currently use the Address Search option to do this. What is the difference? Is Address Search an old version or is it going away? Normally if this is the case, there's documentation saying so and pointing you to the new way to do it. My application has both options and they both work, I just don't know why you'd choose one over the other or perhaps the geocode option is better as it's newer and may use more sources to determine the coordinates.

Address Search: https://atlas.microsoft.com/search/address/json?&subscription-key={Your-Azure-Maps-Subscription-key}&api-version=1.0&language=en-US&query=400 Broad St, Seattle, WA 98109

 

Geocode using API 2025-01-01

https://atlas.microsoft.com/geocode?api-version=2025-01-01&subscription-key={Your-Azure-Maps-Subscription-key}&query=400 Broad St, Seattle, WA 98109

Azure Maps
Azure Maps

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

0 comments No comments

Answer accepted by question author
  1. Martin Egli 460 Reputation points
    2025-07-03T12:01:13.0433333+00:00

    Hi HSB,

    Great question — here's a clear breakdown of the difference between Address Search and Geocode (2025-01-01) in Azure Maps:

    1. Address Search (Legacy API – search/address)

    URL example: https://atlas.microsoft.com/search/address/json?api-version=1.0&query=...

    Features:

    • Part of the Azure Maps Search API v1.

    Offers comprehensive search capabilities, including fuzzy matching, multiple results, POI blending, and structured address input.

    Still fully supported.

    Uses TomTom's backend search engine.

    Use cases:

    When you want flexible, fuzzy address matching.

    When searching for places or POIs alongside addresses.

    When working with structured or unstructured addresses.

    2. Geocode (New API – geocode?api-version=2025-01-01)

    URL example: https://atlas.microsoft.com/geocode?api-version=2025-01-01&query=...

    Features:

    Part of the Azure Maps v2 APIs (2025-01-01).

    Aims to be a simplified, purpose-specific endpoint focused purely on geocoding (address → lat/lon).

    Likely built for better integration with v2 APIs (e.g., new Route Matrix, Matrix Metadata).

    May evolve with more consistent behavior, optimized for enterprise use.

    Use cases:

    When all you need is direct address-to-coordinate conversion.

    When using other 2025-01-01 APIs and want consistency across your calls.

    When building modern solutions that rely on Azure Maps v2 stack.

    Key Differences:

    Feature search/address (v1) geocode (2025-01-01)
    API version 1.0 2025-01-01
    API version 1.0 2025-01-01
    Focus General address/POI search Pure geocoding (address → lat/lon)
    Result richness Full POI support, fuzzy logic Likely simpler, lat/lon focused
    Backward compatibility Existing apps use this New API model for future use
    Part of new Matrix stack No Yes
    Preferred for new projects No Yes

    Is search/address being deprecated?

    No official deprecation notice has been published yet. Both APIs are supported. However, the geocode API is clearly the direction forward for apps aligning with Azure Maps 2025-01-01.

    Recommendation:

    If you're already using the new 2025-01-01 API stack for Route Matrix or other services, it's a good idea to move to the new geocode endpoint for consistency and future-proofing.

    Keep search/address for legacy needs or broader search scenarios (POIs, fuzzy matching, etc.).


    Let me know if you'd like side-by-side JSON response comparisons for both endpoints.

    Best regards, Martin

    1 person found this answer helpful.

1 additional answer

Sort by: Most helpful
  1. rbrundritt 21,706 Reputation points Volunteer Moderator
    2026-01-15T16:31:00.0433333+00:00

    A couple of key points; V1 Search services are a pass through to the TomTom APIs. This means data passed into this API is passed on to TomTom and processed by them. Additionally, it also means that Microsoft's only way to improve the results is to report issues to TomTom. The V2 services are powered directly by Microsoft (they host and process requests within their own systems). This means any data passed into the service is only handled by Microsoft, and they have a lot more ability to improve the accuracy of the services. The v2 geocoding service in particular uses the same backend as the Bing Maps geocoder. This is to make for a smoother transition for those moving from Bing Maps to Azure Maps, with the main difference being an updated API interface that aligns with open standards.

    0 comments No comments

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.