跳转到主要内容
POST
/
zone
/
ips
cURL
curl --request POST \
  --url https://api.brightdata.com/zone/ips \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "customer": "<string>",
  "zone": "<string>",
  "count": 123,
  "country": "us",
  "country_city": "us-chicago"
}'
{
  "ips": [
    "1.1.1.1",
    "1.1.1.2",
    "1.1.1.3"
  ],
  "new_ips": [
    "1.1.1.1",
    "1.1.1.3"
  ]
}
Warning: This API can modify your ac数量 settings, damage your operations or incur charges.
将您的 API 令牌粘贴到身份验证字段。要获得令牌,创建账户并了解如何生成令牌Create an ac数量, generate an API key

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
customer
string
required

Customer

zone
string
required

Zone name

count
number
required

Number of IPs

country
string

new IPs' country (e.g. us)

Example:

"us"

country_city
string

new IPs' city (e.g. us-chicago)

Example:

"us-chicago"

Response

200 - application/json

OK

ips
string[]
Example:
["1.1.1.1", "1.1.1.2", "1.1.1.3"]
new_ips
string[]
Example:
["1.1.1.1", "1.1.1.3"]