Get Cost Report
/v1/organizations/cost_report
Get Cost Report
Query Parameters
starting_at: string
Time buckets that start on or after this RFC 3339 timestamp will be returned. Each time bucket will be snapped to the start of the minute/hour/day in UTC.
formatdate-time
ending_at: optional string
Time buckets that end before this RFC 3339 timestamp will be returned.
formatdate-time
limit: optional number
Maximum number of time buckets to return in the response.
maximum31
minimum1
page: optional string
Optionally set to the next_page token from the previous response.
formatdate-time
Returns
Get Cost Report
cURL
curl https://api.anthropic.com/v1/organizations/cost_report \
-H "X-Api-Key: $ANTHROPIC_ADMIN_API_KEY"{
"data": [
{
"ending_at": "2025-08-02T00:00:00Z",
"results": [
{
"amount": "123.78912",
"context_window": "0-200k",
"cost_type": "tokens",
"currency": "USD",
"description": "Claude Sonnet 4 Usage - Input Tokens",
"model": "claude-sonnet-4-20250514",
"service_tier": "standard",
"token_type": "uncached_input_tokens",
"workspace_id": "wrkspc_01JwQvzr7rXLA5AGx3HKfFUJ"
}
],
"starting_at": "2025-08-01T00:00:00Z"
}
],
"has_more": true,
"next_page": "2019-12-27T18:11:19.117Z"
}Returns Examples
{
"data": [
{
"ending_at": "2025-08-02T00:00:00Z",
"results": [
{
"amount": "123.78912",
"context_window": "0-200k",
"cost_type": "tokens",
"currency": "USD",
"description": "Claude Sonnet 4 Usage - Input Tokens",
"model": "claude-sonnet-4-20250514",
"service_tier": "standard",
"token_type": "uncached_input_tokens",
"workspace_id": "wrkspc_01JwQvzr7rXLA5AGx3HKfFUJ"
}
],
"starting_at": "2025-08-01T00:00:00Z"
}
],
"has_more": true,
"next_page": "2019-12-27T18:11:19.117Z"
}