IP replacement
This endpoint allows you to automate IP replacement requests. Please note that processing the request may take some time.
You can request IP replacement for a single proxy once per day.
Endpoint:
POSThttps://proxy-seller.com/personal/api/v1/{YourApiKey}/proxy/replace
Path parameters
Name | Value | Description |
|---|---|---|
Authorization |
| Your personal API key (how to get) |
Request body
Name | Type | Description |
|---|---|---|
ids | Number | A single ID or an array of IDs in '[ ]', separated by commas |
comment | String | Optional comment to include with the request |
type | String | Type of replacement |
Example
https://proxy-seller.com/personal/api/v1/fj4948ffhg58gh843gh/proxy/replaceResponse
{
"status": "success",
"data": {
"ok": {
"ips": [
"31.6.33.97"
],
"msg": "Replacement request submitted"
}
},
"errors": []
}wrong API key
{
"status": "error",
"data": null,
"errors": [
{
"message": "Error api key",
"code": 503,
"customData": null
},
{
"message": "IP not allowed",
"code": 503,
"customData": null
},
{
"message": "Request limit reached",
"code": 503,
"customData": null
}
]
}incorrect type
{
"status": "error",
"data": null,
"errors": [
{
"message": "Set coorect type: NOT_WORK / INCORRECT_LOCATION / CANT_CHANGE_NETWORK / LOW_SPEED / CUSTOM",
"code": 0,
"customData": null
}
]
}Types of replacement: NOT_WORK, INCORRECT_LOCATION, CANT_CHANGE_NETWORK, LOW_SPEED, CUSTOM