POST
/
zone
/
ips
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 account settings, damage your operations or incur charges.

Paste your API token to the authorization field. To get a token, Create an account and learn how to generate a token

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"]