Azure Cost Management Price Sheet API

The PriceSheet API from Azure Cost Management — 1 operation(s) for pricesheet.

GitHub OpenAPI

Operations 1

GET /subscriptions/{subscriptionId}/providers/Microsoft.Billing/billingPeriods/{billingPeriodName}/providers/Microsoft.Consumption/pricesheets/default Price sheet get by billing period #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/microsoft-azure-cost-management:microsoft-azure-cost-management-pricesheet-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

microsoft-azure-cost-management-pricesheet-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: ConsumptionManagementClient Price Sheet API
  version: '2026-06-01'
  description: Consumption management client provides access to consumption resources for Azure Enterprise Subscriptions.
  x-typespec-generated:
  - emitter: '@azure-tools/typespec-autorest'
servers:
- url: https://management.azure.com
security:
- azure_auth:
  - user_impersonation
tags:
- name: PriceSheet
paths:
  ? /subscriptions/{subscriptionId}/providers/Microsoft.Billing/billingPeriods/{billingPeriodName}/providers/Microsoft.Consumption/pricesheets/default
  : get:
      operationId: PriceSheet_GetByBillingPeriod
      tags:
      - PriceSheet
      description: Get the price sheet for a scope by subscriptionId and billing period. Price sheet is available via this API only for May 1, 2014 or later.
      externalDocs:
        url: https://docs.microsoft.com/en-us/rest/api/consumption/
      parameters:
      - $ref: '#/components/parameters/ApiVersionParameter'
      - $ref: '#/components/parameters/SubscriptionIdParameter'
      - name: billingPeriodName
        in: path
        description: Billing Period Name.
        required: true
        schema:
          type: string
      - name: $expand
        in: query
        description: May be used to expand the properties/meterDetails within a price sheet. By default, these fields are not included when returning price sheet.
        required: false
        schema:
          type: string
      - name: $skiptoken
        in: query
        description: Skiptoken is only used if a previous operation returned a partial result. If a previous response contains a nextLink element, the value of the nextLink element will include a skiptoken parameter that specifies a starting point to use for subsequent calls.
        required: false
        schema:
          type: string
      - name: $top
        in: query
        description: May be used to limit the number of results to the top N results.
        required: false
        schema:
          type: integer
          format: int32
          maximum: 1000
          minimum: 1
      responses:
        '200':
          description: Azure operation completed successfully.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PriceSheetResult'
        default:
          description: An unexpected error response.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
      summary: Price sheet get by billing period
      x-summary-source: derived
components:
  schemas:
    PriceSheetProperties:
      type: object
      description: The properties of the price sheet.
      properties:
        billingPeriodId:
          type: string
          description: The id of the billing period resource that the usage belongs to.
          readOnly: true
        meterId:
          type: string
          format: uuid
          description: The meter id (GUID)
          readOnly: true
        meterDetails:
          $ref: '#/components/schemas/MeterDetails'
          description: The details about the meter. By default this is not populated, unless it's specified in $expand.
          readOnly: true
        unitOfMeasure:
          type: string
          description: Unit of measure
          readOnly: true
        includedQuantity:
          type: number
          format: decimal
          description: Included quality for an offer
          readOnly: true
        partNumber:
          type: string
          description: Part Number
          readOnly: true
        unitPrice:
          type: number
          format: decimal
          description: Unit Price
          readOnly: true
        currencyCode:
          type: string
          description: Currency Code
          readOnly: true
        offerId:
          type: string
          description: Offer Id
          readOnly: true
        savingsPlan:
          $ref: '#/components/schemas/SavingsPlan'
          description: SavingsPlan Details
          readOnly: true
    PriceSheetModel:
      type: object
      description: price sheet result. It contains the pricesheet associated with billing period
      properties:
        pricesheets:
          type: array
          description: Price sheet
          items:
            $ref: '#/components/schemas/PriceSheetProperties'
          readOnly: true
          x-ms-identifiers:
          - meterId
        nextLink:
          type: string
          description: The link (url) to the next page of results.
          readOnly: true
        download:
          $ref: '#/components/schemas/MeterDetails'
          description: Pricesheet download details.
          readOnly: true
    PriceSheetResult:
      type: object
      description: An pricesheet resource.
      properties:
        properties:
          $ref: '#/components/schemas/PriceSheetModel'
          description: price sheet result. It contains the pricesheet associated with billing period
          x-ms-client-flatten: true
        etag:
          type: string
          description: eTag of the resource. To handle concurrent update scenario, this field will be used to determine whether the user is updating the latest version or not.
          readOnly: true
        tags:
          type: object
          description: Resource tags.
          additionalProperties:
            type: string
          readOnly: true
      allOf:
      - $ref: '#/components/schemas/ProxyResource'
    ProxyResource:
      type: object
      title: Proxy Resource
      description: The resource model definition for a Azure Resource Manager proxy resource. It will not have tags and a location
      allOf:
      - $ref: '#/components/schemas/Resource'
    ErrorResponse:
      type: object
      title: Error response
      description: Common error response for all Azure Resource Manager APIs to return error details for failed operations. (This also follows the OData error response format.).
      properties:
        error:
          $ref: '#/components/schemas/ErrorDetail'
          description: The error object.
    Resource:
      type: object
      title: Resource
      description: Common fields that are returned in the response for all Azure Resource Manager resources
      properties:
        id:
          type: string
          description: Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
          readOnly: true
        name:
          type: string
          description: The name of the resource
          readOnly: true
        type:
          type: string
          description: The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
          readOnly: true
        systemData:
          $ref: '#/components/schemas/systemData'
          type: object
          description: Azure Resource Manager metadata containing createdBy and modifiedBy information.
          readOnly: true
      x-ms-azure-resource: true
    systemData:
      type: object
      description: Metadata pertaining to creation and last modification of the resource.
      properties:
        createdBy:
          type: string
          description: The identity that created the resource.
        createdByType:
          type: string
          description: The type of identity that created the resource.
          enum:
          - User
          - Application
          - ManagedIdentity
          - Key
          x-ms-enum:
            name: createdByType
            modelAsString: true
        createdAt:
          type: string
          format: date-time
          description: The timestamp of resource creation (UTC).
        lastModifiedBy:
          type: string
          description: The identity that last modified the resource.
        lastModifiedByType:
          type: string
          description: The type of identity that last modified the resource.
          enum:
          - User
          - Application
          - ManagedIdentity
          - Key
          x-ms-enum:
            name: createdByType
            modelAsString: true
        lastModifiedAt:
          type: string
          format: date-time
          description: The timestamp of resource last modification (UTC)
      readOnly: true
    SavingsPlan:
      type: object
      description: The properties of the SavingsPlan.
      properties:
        term:
          type: string
          description: SavingsPlan term
          readOnly: true
        marketPrice:
          type: number
          format: decimal
          description: SavingsPlan Market Price
          readOnly: true
        effectivePrice:
          type: number
          format: decimal
          description: SavingsPlan Effective Price
          readOnly: true
    MeterDetails:
      type: object
      description: The properties of the meter detail.
      properties:
        meterName:
          type: string
          description: The name of the meter, within the given meter category
          readOnly: true
        meterCategory:
          type: string
          description: The category of the meter, for example, 'Cloud services', 'Networking', etc..
          readOnly: true
        meterSubCategory:
          type: string
          description: The subcategory of the meter, for example, 'A6 Cloud services', 'ExpressRoute (IXP)', etc..
          readOnly: true
        unit:
          type: string
          description: The unit in which the meter consumption is charged, for example, 'Hours', 'GB', etc.
          readOnly: true
        meterLocation:
          type: string
          description: The location in which the Azure service is available.
          readOnly: true
        totalIncludedQuantity:
          type: number
          format: decimal
          description: The total included quantity associated with the offer.
          readOnly: true
        pretaxStandardRate:
          type: number
          format: decimal
          description: The pretax listing price.
          readOnly: true
        serviceName:
          type: string
          description: The name of the service.
          readOnly: true
        serviceTier:
          type: string
          description: The service tier.
          readOnly: true
  parameters:
    SubscriptionIdParameter:
      name: subscriptionId
      in: path
      description: The ID of the target subscription.
      required: true
      schema:
        type: string
        minLength: 1
    ApiVersionParameter:
      name: api-version
      in: query
      description: The API version to use for this operation.
      required: true
      schema:
        type: string
        minLength: 1
  securitySchemes:
    azure_auth:
      type: oauth2
      flows:
        implicit:
          scopes:
            user_impersonation: impersonate your user account
          authorizationUrl: https://login.microsoftonline.com/common/oauth2/authorize
      description: Azure Active Directory OAuth2 Flow.