Retrieve domain usage metrics such as bandwidth consumption and request count via the Domain Consumption API.
Use your Bright Data API Key as a Bearer token in the Authorization header.
How to authenticate:
Authorization: Bearer YOUR_API_KEYExample:
Authorization: Bearer b5648e1096c6442f60a6c4bbbe73f8d2234d3d8324554bd6a7ec8f3f251f07df
Learn how to get your Bright Data API key: https://docs.brightdata.com/api-reference/authentication
Metric type to query:
/bw - Bandwidth consumption/req - Request countbw, req Start date (YYYY-MM-DD)
"2025-12-01"
End date (YYYY-MM-DD)
"2025-12-10"
Zone name filter. Omit to include all zones.
"zone_name"
Successful response
The response is of type object.