How to fix Azure pricing data issue

Hasrat Ali 20 Reputation points

I am getting zero items from azure pricing API when i calling 10 API at same time with diffrent query parameter. See below for details,


Next API URL:$skip=1000

Next API URL:$skip=2000

I am getting below response some time from above API for any random API,



So can you please check at your end and prrovide me the solution. Also if possible then is there any diffrents in middle and last API call (Some header parameter that refere that its last API for get retail data. So we can diffrentiat both API and implement retry function for middle API only not for last API).

Please let me know if you have any solution.


Hasrat Malik

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

1 answer

Sort by: Most helpful
  1. SwathiDhanwada-MSFT 17,236 Reputation points

    Hasrat Ali There was some changes introduced to the Azure Retail API recently to increase the number of items returned per page. We observed some throttling causing this issue - occasionally API returns empty items when the throttling happening. We have taken the counter steps to overcome the throttling and it should not be an issue anymore.

    If in case the throttling happens in future, you will be notified 429 status with a re-try time instead of giving empty response.

    0 comments No comments