Retail prices API (prices.azure.com/api/retail/prices) not returning results for certain consumption meters

Dugan Sheehan 0 Reputation points
2025-05-07T21:51:00.06+00:00

The retail prices API is not returning a result for certain meter IDs.

Sample URL with filter: https://prices.azure.com/api/retail/prices?currencyCode='USD'&$filter=meterId%20eq%20'95c1589b-4a62-4fff-aeb0-bb17d0098c9e'%20and%20priceType%20eq%20'Consumption'

Response:

{

"BillingCurrency": "USD",

"CustomerEntityId": "Default",

"CustomerEntityType": "Retail",

"Items": [],

"NextPageLink": null,

"Count": 0

}

I also tried matching ARMsku and other properties:

Standard_DS4_v2

eastus2

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

1 answer

Sort by: Most helpful
  1. Pranay Reddy Madireddy 4,830 Reputation points Microsoft External Staff Moderator
    2025-05-08T13:44:43.1933333+00:00

    Hi Dugan Sheehan

    Please verify that the meter ID you are querying is valid and currently supported by the API. If the meter has been deprecated or is no longer available, the API will not return results for it.
    User's image

    https://learn.microsoft.com/en-us/rest/api/cost-management/retail-prices/azure-retail-prices#preview-version

    Double-check the filtering criteria you're applying especially priceType. In the latest version of the API, filtering is case-sensitive, so it’s important to use exact values.

    User's image

    https://learn.microsoft.com/en-us/rest/api/cost-management/retail-prices/azure-retail-prices#api-property-details

    It’s possible the meter you're querying falls under a different service category or pricing tier. Please ensure the meter aligns with the expected service filters being used in your request.

    Kindly let us know if the above helps or you need further assistance on this issue.

     


    Please do not forget to "Accept the answer” and upvote it wherever the information provided helps you, this can be beneficial to other community members.it would be greatly appreciated and helpful to others.

     

    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.