Skip to main content
GET
cURL

授权

Authorization
string
header
必填

在 Authorization 头中使用您的 Bright Data API Key 作为 Bearer token。

认证方法:

  1. 从 Bright Data 账户设置获取您的 API Key: https://brightdata.com/cp/setting/users
  2. 在请求的 Authorization 头中包含 API Key
  3. 格式: Authorization: Bearer YOUR_API_KEY

示例:

了解如何获取 Bright Data API Key: https://docs.brightdata.com/cn/api-reference/authentication#如何生成新的-api-key?

路径参数

PARTNER_NAME
string
必填

将处理您请求的代理区域名称。

查询参数

type
string
必填

必填注册类型 (residential|shared_dc|dedicated_dc|shared_isp|smart_resi)

more_than
number
默认值:1000

该类型下最少可用 IP 数量

mode
string

标记以更改输出格式。如果设置为 raw,API 将返回每个国家的确切 IP 数量,且忽略 more_than

响应

200 - application/json

成功

示例: