Azure Retail Prices API missing prices

Arushi Gaur 0 Reputation points
2024-02-07T17:39:49.81+00:00

Hey,
I am trying to query preview version of Azure retail prices API (https://prices.azure.com/api/retail/prices?api-version=2023-01-01-preview&$filter=serviceName eq 'Virtual Machines' and armSkuName eq 'Standard_HX176rs' and armRegionName eq 'westus3') and it is returning empty list of items.
Response:**
{**"BillingCurrency": "USD","CustomerEntityId": "Default","CustomerEntityType": "Retail","Items": [],"NextPageLink": null,"Count": **0}
**
Also, when I am trying to for some other machines(example : Standard_B16ls_v2), the response is missing prices that were present earlier.

I just wanted to confirm if my query is correct or if there has been some change in the API.

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

1 answer

Sort by: Most helpful
  1. SadiqhAhmed-MSFT 48,456 Reputation points Microsoft Employee
    2024-02-09T05:49:43.49+00:00

    Hello @Arushi Gaur Thank you for reaching out to us on Microsoft Q&A platform. Happy to help!

    Based on the details provided in the original post, I see that you are unable to retrieve the pricing for HX-series VM using Azure Retail Prices API. This is because, https://learn.microsoft.com/en-us/answers/questions/1526983/azure-retail-prices-api-missing-prices - HX-series VM is not available in West US 3 region. Same can be verified in the VM pricing page https://azure.microsoft.com/en-in/pricing/details/virtual-machines/windows/#pricing:

    User's image

    Hence, even via the Retail Price API, the response will be empty. 

    Also B16lsv2 is available in west us 3 region and we are getting the response while calling the Retail Price API:  https://prices.azure.com/api/retail/prices?api-version=2023-01-01-preview&$filter=serviceName eq 'Virtual Machines' and armSkuName eq 'Standard_B16ls_v2' and armRegionName eq 'westus3'

    User's image

    Hope this clarifies. Do let us know if you have any questions in this matter!


    If the response helped, do "Accept Answer" and up-vote it

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.