Logo
Akamai APIs API Documentation

Billing API

Number of APIs: 9


1. Usage by contract and product - List usage products per contract

GET https://{{host}}/billing/v1/contracts/:contractId/products?start={{start}}&end={{end}}

Returns IDs and names of the billable usage products for the specified contract and the selected time frame. If you have products that are billed geographically, you can see monthly usage statistics by region.



2. Usage by contract and product - List monthly usage summary per CP code

GET https://{{host}}/billing/v1/contracts/:contractId/products/:productId/usage/by-cp-code/monthly-summary?start={{start}}&end={{end}}

Returns monthly usage summary details of the specified contract and product per CP code for the selected time frame. If you have products that are billed geographically, you can see monthly usage statistics by region.



3. Usage by contract and product - List cumulative daily usage per contract and product

GET https://{{host}}/billing/v1/contracts/:contractId/products/:productId/usage/daily?month={{month}}

Returns cumulative daily usage details of the specified contract and product for the selected month. If you have products that are billed geographically, you can see monthly usage statistics by region.



4. Usage by contract and product - List monthly usage summary per contract and product

GET https://{{host}}/billing/v1/contracts/:contractId/products/:productId/usage/monthly-summary?start={{start}}&end={{end}}

Returns monthly usage summary details of the specified contract and product for the selected time frame. If you have products that are billed geographically, you can see monthly usage statistics by region.



5. Usage by reporting group - List cumulative daily usage per reporting group

GET https://{{host}}/billing/v1/reporting-groups/:reportingGroupId/products/:productId/usage/daily?month={{month}}

Returns cumulative daily usage details of the specified reporting group and product for the selected month. If you have products that are billed geographically, you can see monthly usage statistics by region.



6. Usage by reporting group - List monthly usage summary per reporting group

GET https://{{host}}/billing/v1/reporting-groups/:reportingGroupId/products/:productId/usage/monthly-summary?start={{start}}&end={{end}}

Returns monthly usage summary details of the specified reporting group and product for the selected time frame. If you have products that are billed geographically, you can see monthly usage statistics by region.



7. Subcustomer geobilling usage - Download subcustomer geobilling files

GET https://{{host}}/billing/v1/contracts/:contractId/products/:productId/geo-billing-files?day={{day}}&month={{month}}&year={{year}}

Provides details on subcustomer invoicing for each geographic zone within the Akamai network for Akamai Cloud Embed. The downloadable file is available in the response body, formatted as a gzip-compressed CSV. The Param-md5-uncompressed response header provides an MD5 checksum for the uncompressed file. See GEO_ID codes for details on each geographic code. For information on how to interpret SUB_CUST_ID values, see the Cloud Embed - Implementation Guide.



8. Compute usage by contract and compute customer - List compute customers per contract

GET https://{{host}}/billing/v1/contracts/:contractId/compute-customers

Returns IDs and names of compute customers for the specified contract.



9. Compute usage by contract and compute customer - Get compute usage summary per contract and compute customer

GET https://{{host}}/billing/v1/contracts/:contractId/compute-customers/:computeCustomerId/usage/monthly-summary

Returns the near real-time compute usage summary of the specified contract and compute customer, for the current month. Compute usage data is available with a latency of up to two hours. The response shows a number of unbilled hours or GBs, while your final bill also includes the monthly capping. Note that your final bill also includes overages for transfer and object storage, computed towards the end of the month.



ENDPOINTS