How can we get help to track down Azure Maps API usage

Lu 40 Reputation points
2026-06-12T15:46:27.8166667+00:00

We are seeing huge increases in our Azure Maps API usage. Growth is ramping up seemingly exponential and we're stuck trying to track down where the requests originate. We can't find much in terms of analytics on Azure Maps to help us track down the origin of the requests and there doesn't appear to be ways to put any usage caps in place to stop the bleeding. Any attempts to get help from MS are ending in support menu hell. I would appreciate any help how we limit the damage and find out what is going on.

Azure Maps
Azure Maps

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


Answer accepted by question author

AI answer

2026-06-12T15:46:43.48+00:00

To investigate and limit unexpected Azure Maps API usage, use a combination of Azure Maps metrics and Azure support channels.

  1. Use Azure Maps metrics to understand usage patterns
    1. Sign in to the Azure portal and open the Azure Maps account.
    2. On the Overview page, review the snapshot metrics (Total Requests, Total Errors, Availability) over different time ranges to confirm when the spike started.
    3. Go to Metrics in the left menu.
    4. In the Metrics pane, select:
      • Metric = Usage to see the usage count over time.
      • Metric = Availability to confirm whether the spike is associated with errors or valid traffic.
    5. Adjust the Time range and Time granularity to zoom in on the period where usage ramps up. Metrics are stored for 93 days, but only 30 days can be queried at a time. If charts appear blank or partial, ensure the selected interval is ≤ 30 days.
    6. Use Filters and Apply splitting on the metric properties (for example, API name where available) to break down usage by property values. This helps identify which Azure Maps service or API (for example, Search, Route, tiles via Web SDK) is driving the spike.
    7. Use Add metric to overlay multiple metrics (for example, Usage and Availability) to correlate spikes with failures or specific operations.
    Once the high-usage API(s) are identified, inspect the corresponding applications or services (web apps, backend services, batch jobs) that call those endpoints and add logging, throttling, or authentication checks there.
  2. Understand which services are likely generating billable transactions Use the transaction rules to narrow down the culprit:
    • Route: 1 request = 1 transaction; Route Matrix bills every four cells (Ceiling(0.25 * origins * destinations)); batch routing bills per query; Snap to Roads bills 1 transaction per request (up to 100 points).
    • Search: 1 request = 1 transaction; batch search bills per location; geocode autocomplete bills 1 transaction per 10 autocomplete requests.
    • Web control (SDK): 1 transaction per 15 map tiles loaded (512×512 tiles), typically ~1 or fewer transactions per map load.
    If the spike is in routing, look for new or expanded routing features (for example, matrix or batch). If it is in search, look for heavy autocomplete or batch geocoding. If it is in tiles, look for pages with embedded maps being hit more often (for example, bots, crawlers, or a popular page).
  3. Use Azure Monitor / Log Analytics (if enabled) to analyze broader usage If Azure Monitor is collecting logs for the applications that call Azure Maps, use Log Analytics to:
    • Identify which components or hosts are sending the most requests.
    • Correlate time windows of high Azure Maps usage with spikes in application logs.
    • Detect unexpected patterns (for example, a single client IP or tenant generating most of the traffic).
    The Azure Monitor cost/usage analysis guidance can also help detect unexpected increases in data volume, which often correlate with increased API usage.
  4. Put controls and mitigations in the calling applications Azure Maps itself does not expose hard usage caps in the portal, so limiting damage is typically done in the client or gateway layer:
    • Implement rate limiting or quotas in the application or API gateway that fronts Azure Maps.
    • Cache responses where possible (for example, tile caching, search result caching) to reduce repeated calls.
    • Ensure keys are not exposed in public repos or client-side code without safeguards; rotate keys if key leakage is suspected.
  5. Engage Microsoft support for deeper investigation For platform-level help (for example, suspected abuse, unclear metrics, or missing analytics details):
    • Use Azure’s Help + support in the portal and create a Technical support request for Azure Maps.
    • For technical questions on Azure Maps features and behavior, use the Azure Maps developer forums.
    For data or address issues (if the spike is related to specific locations or data anomalies), use the Azure Maps feedback site as described in the documentation.
  6. Ongoing monitoring
    • Keep the Metrics charts pinned to a dashboard for continuous monitoring of Usage and Availability.
    • Regularly review transaction patterns by service (Route, Search, tiles) using the transaction rules to anticipate cost and detect anomalies early.

References:

AI-generated content may be incorrect. Read our transparency notes for more information.

Was this answer helpful?

3 people found this answer helpful.
Answer accepted by question author
Anshika Varshney 15,625 Reputation points Microsoft External Staff Moderator
2026-06-12T20:26:59.3733333+00:00

Hello @Lu

I understand how frustrating this can be when usage suddenly increases without clear visibility.

A good starting point is to check Metrics in your Azure Maps account from the Azure portal. This will help you identify when the spike started and look for patterns by applying filters or splitting the data (for example, by API type or request characteristics). This often gives clues about what is driving the traffic.

Also, if your API key is used in client-side apps (browser/mobile), consider whether it might be exposed or reused elsewhere, which can sometimes lead to unexpected usage.

If the source is still unclear after checking metrics, you can try rotating your key and monitoring if the usage pattern changes.

Reference list

Hope this helps!

Thankyou!

Was this answer helpful?

1 person found this answer helpful.
0 comments No comments

0 additional answers

Sort by: Newest

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.