---
title: dots.v2.billing.byAccount_urn().insights.byStart_date().byEnd_date().get()
description: List Billing Insights
product: Reference
url: https://docs.digitalocean.com/reference/dots/reference/billing/billinginsights-list/
last_updated: "2026-11-18"
---

> **For AI agents:** The documentation index is at [https://docs.digitalocean.com/llms.txt](https://docs.digitalocean.com/llms.txt). Markdown versions of pages use the same URL with `index.html.md` in place of the HTML page (for example, append `index.html.md` to the directory path instead of opening the HTML document).

# dots.v2.billing.byAccount_urn().insights.byStart_date().byEnd_date().get()

Generated on 18 Nov 2026 from DoTs version [`v1.25.0`](https://github.com/digitalocean/dots/releases/tag/v1.25.0)

## Usage

```typescript
client.v2.billing.byAccount_urn(account_urn).insights.byStart_date(start_date).byEnd_date(end_date).get(requestConfiguration?: RequestConfiguration<WithEnd_dateItemRequestBuilderGetQueryParameters>): Promise<undefined | WithEnd_dateGetResponse>
```

## Description

This endpoint returns day-over-day changes in billing resource usage based on nightly invoice items, including total amount, region, SKU, and description for a specified date range. It is important to note that the daily resource usage may not reflect month-end billing totals when totaled for a given month as nightly invoice item estimates do not necessarily encompass all invoicing factors for the entire month.

## Parameters

### Path Parameters

`account_urn` string required

Example: `do:team:12345678-1234-1234-1234-123456789012`

URN of the customer account, can be a team (do:team:uuid) or an organization (do:teamgroup:uuid)

`start_date` string required

Example: `2025-01-01`

Start date for billing insights in YYYY-MM-DD format

`end_date` string required

Example: `2025-01-31`

End date for billing insights in YYYY-MM-DD format. Must be within 31 days of start_date

### Query Parameters

`perPage` integer optional

Example: `2`

Number of items returned per page

Default: `20`

Min: `1`

Max: `200`

`page` integer optional

Example: `1`

Which 'page' of paginated results to return.

Default: `1`

Min: `1`

## Request Sample

## Show Request Sample

```typescript
import { DateOnly } from "@microsoft/kiota-abstractions";
import { FetchRequestAdapter } from "@microsoft/kiota-http-fetchlibrary";
import {
    createDigitalOceanClient,
    DigitalOceanApiKeyAuthenticationProvider,
} from "@digitalocean/dots";

const authProvider = new DigitalOceanApiKeyAuthenticationProvider(process.env.DIGITALOCEAN_TOKEN!);
const adapter = new FetchRequestAdapter(authProvider);
const client = createDigitalOceanClient(adapter);

const response = await client.v2.billing
    .byAccount_urn("do:team:12345678-1234-1234-1234-123456789012").insights
    .byStart_date(DateOnly.parse("2025-01-01")!)
    .byEnd_date(DateOnly.parse("2025-01-31")!).get();
```

## Response Example

## Show Response Example

```json
{
  "data_points": [
    {
      "usage_team_urn": "do:team:12345678-1234-1234-1234-123456789012",
      "start_date": "2025-01-01",
      "total_amount": "0.86",
      "region": "nyc3",
      "sku": "1-DO-DROP-0109",
      "description": "droplet name (c-2-4GiB)",
      "group_description": ""
    },
    {
      "usage_team_urn": "do:team:12345678-1234-1234-1234-123456789012",
      "start_date": "2025-01-01",
      "total_amount": "2.57",
      "region": "nyc3",
      "sku": "1-KS-K8SWN-00109",
      "description": "3 nodes - 4 GB / 2 vCPU / 80 GB SSD",
      "group_description": "kubernetes cluster name"
    }
  ],
  "total_items": 2,
  "total_pages": 1,
  "current_page": 1
}
```

## More Information

See [`/v2/billing/{account_urn}/insights/{start_date}/{end_date}`](https://docs.digitalocean.com/reference/api/reference/billing/index.html.md#billingInsights_list) in the API reference for additional detail on responses, headers, parameters, and more.