Retail prices API - incorrect results - locaiton+armRegionName parameter does not work

abimsft 1 Reputation point Microsoft Employee
2022-03-30T12:50:02.123+00:00

Trying to lookup spot prices for EU West. The result contains records from all over the world.

https://prices.azure.com/api/retail/prices?serviceName='Virtual Machines' and meterName eq 'Spot' and armRegionName eq 'westeurope'
188406-apiretailpricesresponse.txt
https://prices.azure.com/api/retail/prices?serviceName='Virtual Machines' and meterName eq 'Spot' and location eq 'EU West'

Azure Virtual Machines
Azure Virtual Machines
An Azure service that is used to provision Windows and Linux virtual machines.
7,513 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. KarishmaTiwari-MSFT 18,847 Reputation points Microsoft Employee
    2022-04-12T01:28:00.753+00:00

    Issue summary:
    API to get pricing for Azure Spot VMs.

    Solution:
    Product team has confirmed that API to check Spot VM pricing is in the roadmap and will be rolled out soon.
    The API that you shared above covers all other types of Azure VMs but not Spot VMs.

    0 comments No comments