Exporting data via API

Azure Costs now offers direct API access to integrate the processed and aggregated data directly in 3rd party applications like Qlik or Tableau. This option allows customers on an enterprise plan or higher to render or analyse the Azure Costs data in existing BI solutions.

Exporting data via API is very simple. Just follow the steps below:

  1. Register an application as trustee to control which data can be access from the 3rd party application in the team management view.

    ApiCredentials

  2. The application contains a client_id and a client_secret which can be used for the oAuth2 client credentials flow. Just issue a new security token at least every hour from the Azure Costs STS. We recommend to issue a token whenever you start a new transaction to ensure that permission changes are affective.

    curl -X POST -d “client_id={{YOUR CLIENT ID}}&client_secret={{YOUR CLIENT SECERT}}&grant_type=client_credentials” https://azure-costs.com/sts/issue/oauth/token

  3. Export the required report from the export api which returns the data in JSON format. Every single object describes one service including the quantity, costs and other meta information. The required teamId, contract number can be extracted from the URL of the Azure Costs dashboard

    curl -H “Authorization: Bearer {{ISSUED TOKEN}}” https:/api.azure-costs.com/api/v1/teams/{{teamId}}/contracts/{{contractId}}/reports/{{Year}}-{{Month}}/export?cache={{DATE-OF-THE-DAY}}

Interested in the new feature?
Try the new feature today by simply logging into your Azure Costs account. The feature is part of any enterprise plan.

Any questions, wishes or ideas? Try our feedback portal or drop a mail to help@azure-costs.com.

Available as white-label solution

Today we are very excited to announce that Azure Costs can now be offered as a white-label solution for Cloud Solution Providers.

white-label-image

Using Azure Costs as a white-label solution includes the following features:

Service Provider Specific Top-Level-Domain incl. SSL Certificate:
Offering Azure Costs as white-label solution is delivered under your own service provider specific domain, e.g. costs.acme.com. It’s possible to bind a service provider specific SSL certificate to this domain as well.

Dedicated Storage Backend incl. support for the Azure Cloud Germany:
Every service provider is able to connect a dedicated Azure Storage Account. This ensures that all the customer data are stored and processed only in a service which is under control and management of the service provider.

Custom Identity Provider:
Servicer Provider often offer their customers account and identity infrastructure. Azure Costs as a white-label solution allows to connect custom identity providers based on the oAuth2 protocol. This allows your customers to stay with their existing accounts for the server providers infrastructure.

Interested in offering Azure Costs as a white-label solution?
Try Azure Costs as white-label solution, just contact as via a support request or drop a mail to help@azure-costs.com. We will guide you through the signup procedure.

Any questions, wishes or ideas? Try our feedback portal or drop a mail to help@azure-costs.com.