---
title: Get Account Billable Usage Info (Version 1, Alpha)
---

[Skip to content](#%5Ftop) 

[API Reference](https://developers.cloudflare.com/api/python)

[Billing](https://developers.cloudflare.com/api/python/resources/billing)

[Usage](https://developers.cloudflare.com/api/python/resources/billing/subresources/usage)

Copy Markdown

Open in **Claude**

Open in **ChatGPT**

Open in **Cursor**

---

**Copy Markdown**

**View as Markdown**

# Get Account Billable Usage Info (Version 1, Alpha)

billing.usage.get\_account\_usage\_info\_v1(UsageGetAccountUsageInfoV1Params\*\*kwargs)  \-> [UsageGetAccountUsageInfoV1Response](https://developers.cloudflare.com/api/python/resources/billing#%28resource%29%20billing.usage%20%3E%20%28model%29%20usage%5Fget%5Faccount%5Fusage%5Finfo%5Fv1%5Fresponse%20%3E%20%28schema%29)

GET/accounts/{account\_id}/billable-usage/info

Returns high-level usage information for the account, including coverage, and subscription metadata.

##### Security

API Token

The preferred authorization scheme for interacting with the Cloudflare API. [Create a token](https://developers.cloudflare.com/fundamentals/api/get-started/create-token/).

**Example:**`Authorization: Bearer Sn3lZJTBX6kkg7OdcBUAxOO963GEIyGQqnFTOFYY`

API Email + API Key

The previous authorization scheme for interacting with the Cloudflare API, used in conjunction with a Global API key.

**Example:**`X-Auth-Email: user@example.com`

The previous authorization scheme for interacting with the Cloudflare API. When possible, use API tokens instead of Global API keys.

**Example:**`X-Auth-Key: 144c9defac04969c7bfad8efaa8ea194`

##### ParametersExpand Collapse 

account\_id: str

Represents a Cloudflare resource identifier tag.

maxLength32

##### ReturnsExpand Collapse 

class UsageGetAccountUsageInfoV1Response: …

Contains the usage info.

covered: bool

Indicates whether the account is covered.

subscriptions: List\[Subscription\]

List of subscriptions for the account.

id: str

The identifier for the Cloudflare subscription.

billing\_cycle\_anchor\_timestamp: datetime

The subscription billing cycle anchor timestamp.

formatdate-time

start\_timestamp: datetime

The subscription start timestamp.

formatdate-time

end\_timestamp: Optional\[datetime\]

The subscription end timestamp. Omitted for active subscriptions; present only when the subscription has been cancelled.

formatdate-time

### Get Account Billable Usage Info (Version 1, Alpha)

Python

HTTPHTTP

TypeScriptTypeScript

PythonPython

GoGo

TerraformTerraform

```
import os
from cloudflare import Cloudflare

client = Cloudflare(
    api_token=os.environ.get("CLOUDFLARE_API_TOKEN"),  # This is the default and can be omitted
)
response = client.billing.usage.get_account_usage_info_v1(
    account_id="023e105f4ecef8ad9ca31a8372d0c353",
)
print(response.covered)
```

200 example

```
{
  "errors": [
    {
      "message": "message",
      "code": 0
    }
  ],
  "messages": [
    {
      "message": "message",
      "code": 0
    }
  ],
  "result": {
    "covered": true,
    "subscriptions": [
      {
        "id": "3F3CD4CQ6N7FXO7IK6NVFJBOYA",
        "billing_cycle_anchor_timestamp": "2023-01-01T00:00:00Z",
        "start_timestamp": "2023-01-01T00:00:00Z",
        "end_timestamp": "2023-12-31T23:59:59Z"
      }
    ]
  },
  "success": true
}
```

##### Returns Examples

200 example

```
{
  "errors": [
    {
      "message": "message",
      "code": 0
    }
  ],
  "messages": [
    {
      "message": "message",
      "code": 0
    }
  ],
  "result": {
    "covered": true,
    "subscriptions": [
      {
        "id": "3F3CD4CQ6N7FXO7IK6NVFJBOYA",
        "billing_cycle_anchor_timestamp": "2023-01-01T00:00:00Z",
        "start_timestamp": "2023-01-01T00:00:00Z",
        "end_timestamp": "2023-12-31T23:59:59Z"
      }
    ]
  },
  "success": true
}
```