Skip to main content

Set up proxy authorization

Set up login:password or IP-based access for your proxies through the API.

This guide shows you how to give login:password or IP-based access to your proxies.

Every request uses your personal API key from your account dashboard (how to get your API key). In the examples below, replace YOUR_API_KEY with your own key.

Step 1 — Find the order

List your active proxies and copy the order_number of the order the proxies belong to.

Endpoint

GET https://proxy-seller.com/personal/api/v2/YOUR_API_KEY/proxy/list/{type}

Response

{
"status": "success",
"data": {
"items": [
{ "id": "0678564", "ip": "31.6.33.97", "order_number": "2000096_20240080", "status_type": "ACTIVE" }
]
},
"errors": []
}

Step 2 — Create the authorization

Create login:password authorization for that order via /auth/add. For IP-based access use /auth/add/ip instead and pass the orderNumber and ip.

Endpoint

POST https://proxy-seller.com/personal/api/v2/YOUR_API_KEY/auth/add

Request body

Name

Type

Description

orderNumber

String

Order number (NOT order_id) — from the proxy list (Step 1).

Example

https://proxy-seller.com/personal/api/v2/YOUR_API_KEY/auth/add

Response

{
"status": "success",
"data": {
"id": "66decee1e4b0c423139280d9",
"active": true,
"login": "abcdef1",
"password": "fedcba1",
"orderNumber": "2000096_20240080"
},
"errors": []
}

IP-based authorization

To authorize an IP address instead, send orderNumber and ip to /auth/add/ip.

Endpoint

POST https://proxy-seller.com/personal/api/v2/YOUR_API_KEY/auth/add/ip

Request body

Name

Type

Description

orderNumber

String

Order number (NOT order_id) — from the proxy list (Step 1).

ip

String

The IP address to authorize.

Response

{
"status": "success",
"data": {
"id": "6abe7271351e1e9a962199b6",
"active": true,
"ip": "31.76.116.24",
"orderNumber": "NS_1789631886643-7D_e_ra7hhT4ZnG"
},
"errors": []
}

Step 3 — Confirm the authorization

List the authorizations for your orders to confirm it was created.

Endpoint

GET https://proxy-seller.com/personal/api/v2/YOUR_API_KEY/auth/list

Response

{
"status": "success",
"data": [
{ "id": "666059d7f767480029182987", "active": true, "login": "abcdef1", "password": "fedcba1", "orderNumber": "2329050_27159264" },
{ "id": "6abe7271351e1e9a962199b6", "active": true, "ip": "31.76.116.24", "orderNumber": "NS_1789631886643-7D_e_ra7hhT4ZnG" }
],
"errors": []
}

Full API reference

Did this answer your question?