An Azure service that provides geospatial APIs to add maps, spatial analytics, and mobility solutions to apps.
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