Logo
Akamai APIs API Documentation

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.

 

Body PARAM

Key Datatype Required Description 
start
string (Required) The start (inclusive) of the billable usage period, expressed as an ISO 8601 datestamp (YYYY-MM).
end
string (Required) The end (exclusive) of the billable usage period, expressed as an ISO 8601 datestamp (YYYY-MM).
accountSwitchKey
string (Optional) For customers who manage more than one account, this [runs the operation from another account](https://techdocs.akamai.com/developer/docs/manage-many-accounts-with-one-api-client). The Identity and Access Management API provides a [list of available account switch keys](https://techdocs.akamai.com/iam-api/reference/get-client-account-switch-keys).



HEADERS

Key Datatype Required Description 
Accept
string




RESPONSES

status OK

{ "accountId": "A-CCT5678", "contractId": "K-0N7RAK7", "end": "2020-09", "requestDate": "2020-10-15T00:00:00Z", "start": "2020-07", "usagePeriods": [ { "month": "2020-07", "usageProducts": [ { "productId": "1-ABC012", "productName": "Web Application Accelerator" }, { "productId": "M-LC-11233", "productName": "DSA" } ] }, { "month": "2020-08", "usageProducts": [ { "productId": "1-ABC012", "productName": "Web Application Acceler
Curl
curl -X GET 'https://host/billing/v1/contracts/:contractId/products?start=&end=?start=&end=&accountSwitchKey=' -H 'Accept: application/json'

ENDPOINTS