What is the criteria for Azure Consumption API Rate Limit

Hector Guerra 0 Reputation points
2023-03-16T07:07:37.7733333+00:00

Hi,

What is the criteria for the rate limiting for Azure Consumption REST APIs?

Is it some specific amount of APIs per time unit for example 100 API hits per minute ? Or it is like some specific number of records per time unit for example say, 50k records can be fetched per hour?

Also, How to check what API rate limit is applied, using REST API?

Thanks,

Kush

Azure Cost Management
Azure Cost Management
A Microsoft offering that enables tracking of cloud usage and expenditures for Azure and other cloud providers.
2,030 questions
{count} votes

1 answer

Sort by: Most helpful
  1. darsha-MSFT 96 Reputation points Microsoft Employee
    2023-03-16T11:08:52.5366667+00:00

    @Hector Guerra for the Azure Consumption Usage Detail API https://learn.microsoft.com/en-us/rest/api/consumption/usage-details/list?tabs=HTTP, the limits are as below:

    Subscription Scope: 10 Calls/min (At Tenant and Billing Account level)

    All Non-subscription scope: 6 calls/min (Billing Profile and Customer scope)

    Management Group scope: 2 calls/min

    Billing Account scope: 6 calls/min

    Enrollment Account Scope: 2 calls/min

    Department scope: 2 calls/min

    These limits might change and also the Consumption Usage Detail API is deprecated, and customers are advised to move to the asynchronous options available in this doc https://learn.microsoft.com/en-us/azure/cost-management-billing/automate/migrate-consumption-usage-details-api.

    0 comments No comments