账户管理 API
可用数据中心和 ISP IP/区域
Get the available Data center/ISP IPs per Zone
GET
将您的 API 令牌粘贴到身份验证字段。要获得令牌,创建账户并了解如何生成令牌
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 b5648e1096c6442f60a6c4bbbe73f8d2234d3d8324554bd6a7ec8f3f251f07df
Learn how to get your Bright Data API key: https://docs.brightdata.com/api-reference/authentication
Query Parameters
Zone
2-letter Country code
Return JSON
array of [{ip, country},..]
instead of plain list of IPs
Response
200 - application/json
Successful response with plain IPs list separated by new line, or JSON array of [{ip, country},..]
in case list_countries=true
Return JSON
array of [{ip, country},..]
when list_countries=true
Example:
[
{"ip": "1.1.1.1", "country": "us"},
{"ip": "1.1.2.2", "country": "hk"},
]
Return JSON
array of [{ip, country},..]
when list_countries=true
Example:
[
{"ip": "1.1.1.1", "country": "us"},
{"ip": "1.1.2.2", "country": "hk"},
]
Plain list of IPs separated by new line when list_countries=false
Example:
1.1.1.1
1.1.2.2
10.0.0.0
Example:
"10.0.0.0/24"