Domain usage metrics
统计与用量
域名消耗
通过域名消费API检索域名使用指标,如带宽消耗和请求计数。
GET
Domain usage metrics
示例请求
授权
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:
Learn how to get your Bright Data API key: https://docs.brightdata.com/api-reference/authentication
路径参数
Metric type to query:
Available Metrics
/bw- Bandwidth consumption/req- Request count
可用选项:
bw, 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.