---
title: "Get historical cost across your account"
method: GET
path: "/api/v2/usage/historical_cost"
tags: ["Usage Metering"]
---

# Get historical cost across your account

`GET /api/v2/usage/historical_cost`

Get historical cost across multi-org and single root-org accounts.
Cost data for a given month becomes available no later than the 16th of the following month.

This endpoint is only accessible for [parent-level organizations](https://docs.datadoghq.com/account_management/multi_organization/).

## Query parameters

- `start_month` string, date-time, required
- `view` string
- `end_month` string, date-time
- `include_connected_accounts` boolean

## Response `200`

OK

## Other responses

- `400` — Bad Request
- `403` — Forbidden - User is not authorized
- `429` — Too many requests

---

[API](https://skmtc.net/datadog/apis/api-v2.md) · [All operations](https://skmtc.net/datadog/apis/api-v2/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/datadog/api-v2/versions/da68bf029e4c/schema)
