Total cost & bandwidth for a zone
Returns 200 OK with billed cost, bandwidth and usage for a Zone over a date range. Matches the Control Panel Usage Overview and your invoice.
Documentation Index
Fetch the complete documentation index at: https://docs.brightdata.com/llms.txt
Use this file to discover all available pages before exploring further.
dataset_id / collector ID, not by zone name). For multi-product or WSA / Scraper Studio breakdowns, use Cost breakdown export.Reproduce your monthly invoice
To retrieve the exact billed cost and usage for a calendar month as shown in the Control Panel and on your invoice, setfrom to the first day of the month and to to the first day of the following month:
to=2026-04-30 would omit the last day of the month. Always set to to the day after the last day you want included.
Reconciling with raw request logs
The values returned by this endpoint are the source of truth for billing. They match the Control Panel’s Usage Overview and your invoice. If you compare these values against raw request logs you collect yourself (e.g., access logs forwarded to Logz, CloudWatch, or another sink), expect differences of a few percent. Raw logs may capture requests that were never committed to the billing database because of async aggregation timing or transient network issues. Your invoice always reflects the values returned by this endpoint.Related endpoints
- Bandwidth stats for a Zone. Bandwidth only, no cost.
- Bandwidth stats for all your Zones. Aggregate across zones.
Authorizations
Use your Bright Data API Key as a Bearer token in the Authorization header.
How to authenticate:
- Obtain your API Key from the Bright Data account settings at https://brightdata.com/cp/setting/users
- Include the API Key in the Authorization header of your requests
- Format:
Authorization: Bearer YOUR_API_KEY
Example:
Authorization: Bearer b5648e1096c6442f60a6c4bbbe73f8d2234d3d8324554bd6a7ec8f3f251f07dfLearn how to get your Bright Data API key: https://docs.brightdata.com/api-reference/authentication
Query Parameters
Zone name (e.g., se_midware).
Inclusive start date in YYYY-MM-DD format.
Exclusive end date in YYYY-MM-DD format. The day specified is NOT included in the result.
To match a calendar month shown in the Control Panel or on your invoice, set to to the first day of the following month (e.g., from=2026-04-01&to=2026-05-01 returns all of April 2026).
Response
OK
The response is of type object.