v1
latestOpenAPI 3.1.02026-07-2481742657.4 KBGet organization credit usage
Retrieve credit information for an organization over a specific date range. You must include a start date in your request.<br><br>Admins can obtain credit usage information for all users in their organization. Members may only retrieve usage information for their own account.<br><br>This endpoint does not cost any credits to execute.
Path parameters
The ID of a Censys organization. See the Getting Started docs for more information.
The ID of a Censys organization. See the Getting Started docs for more information.
Query parameters
The date for the credit usage report in YYYY-MM-DD format (e.g., 2025-11-06). This field is deprecated and will be removed in a future version. Use start_date and end_date instead. The date must be on or after 2025-01-01 (the earliest date available for credit usage reports).
The date for the credit usage report in YYYY-MM-DD format (e.g., 2025-11-06). This field is deprecated and will be removed in a future version. Use start_date and end_date instead. The date must be on or after 2025-01-01 (the earliest date available for credit usage reports).
The start date for the credit usage report in YYYY-MM-DD format (e.g., 2025-11-01). Must be on or after 2025-01-01 (the earliest date available for credit usage reports).
The start date for the credit usage report in YYYY-MM-DD format (e.g., 2025-11-01). Must be on or after 2025-01-01 (the earliest date available for credit usage reports).
The end date for the credit usage report in YYYY-MM-DD format (e.g., 2025-12-01). If omitted, will default to today's date. The date range (end_date - start_date) cannot exceed 365 days (1 year).
The end date for the credit usage report in YYYY-MM-DD format (e.g., 2025-12-01). If omitted, will default to today's date. The date range (end_date - start_date) cannot exceed 365 days (1 year).
Whether to break down credit usage on a daily or monthly basis.
Whether to break down credit usage on a daily or monthly basis.
Whether to include a breakdown of individual users' consumption in the credit usage report.
Whether to include a breakdown of individual users' consumption in the credit usage report.
Response
OK
Example response
{
"result": {
"credits_consumed_by_consumer": {
"user@example.com": 3000
},
"granularity": "daily"
}
}