The Reporting APIs enable Enterprise Azure customers to programmatically pull consumption and billing data into preferred data analysis tools. Enterprise customers have signed an Enterprise Agreement (EA) with Azure to make negotiated monetary commitments and gain access to custom pricing for Azure resources. The API key provides Bytes with read-only access to your billing data and is used to power Quantum reports, which provide granular visibility on consumption. Please note that the key does not give any access to your Azure resources or their configuration.

Generating the API Key  

Log in to the Enterprise portal, and navigate to Reports > Download Usage > API Access Key to generate or retrieve the API key. 

Data provided with consumption APIs

Data beginning May 1, 2014 that is available through this API:

  • Balance and Summary - The Balance and Summary API offers a monthly summary of information on balances, new purchases, Azure Marketplace service charges, adjustments and overage charges.

  • Usage Details - The Usage Detail API offers a daily breakdown of consumed quantities and estimated charges by an Enrollment. The result also includes information on instances, meters and departments. The API can be queried by Billing period or by a specified start and end date.

  • Marketplace Store Charge - The Marketplace Store Charge API returns the usage-based marketplace charges breakdown by day for the specified Billing Period or start and end dates (one time fees are not included).

  • Price Sheet - The Price Sheet API provides the applicable rate for each Meter for the given Enrollment and Billing Period.

  • Reserved Instance Details - The Reserved Instance usage API returns the usage of the Reserved Instance purchases. The Reserved Instance charges API shows the billing transactions made.