Dynamic proxy accounts
Dynamic proxy accounts

Generate dynamic proxy credentials

POST /open-api/v1/dynamic/accounts/{id}/proxy-credentials endpoint reference.

Generate dynamic proxy credentials

POST /open-api/v1/dynamic/accounts/{id}/proxy-credentials

Base URL: https://api.ipbunker.online/gin.

Authentication

Send your key in the X-API-Key request header.

Path and query parameters

Field In Type Required Constraints Meaning
id path string Yes — Id.

JSON request body

Field Type Required Constraints Meaning
country_code string No — Country code.
province_code string No — Province code.
city_code string No — City code.
rotation_type string Yes enum: ROTATING, STICKY Rotation type.
session_duration_minutes integer No format: int32; minimum: 1; maximum: 120 Session duration minutes.

Request example

curl --request POST \
  --url 'https://api.ipbunker.online/gin/open-api/v1/dynamic/accounts/1912345678901234567/proxy-credentials' \
  --header 'Accept: application/json' \
  --header 'X-API-Key: <YOUR_API_KEY>' \
  --header 'Content-Type: application/json' \
  --data '{
  "rotation_type": "ROTATING"
}'

Success response data

Responses use code, msg, data, and next. HTTP 200 can also contain a nonzero business error code; check code first.

Field Type Required Constraints Meaning
data.proxy_username string No — Proxy username.
data.password string No — Password.
data.host string No — Host.
data.http_port integer No format: int32 Http port.
data.socks5_port integer No format: int32 Socks5 port.

Request conventions · Response structure · Error codes · API reference index

On this page

Generate dynamic proxy credentials