Modems

Get all modems

GET https://mobile.proxy-seller.com/api/v1/modems

This request will return all your modems

Example

https://mobile.proxy-seller.com/api/v1/modems

Headers

NameValue

Content-Type

application/json

Authorization*

<YOUR_API_TOKEN>

Response

[
  {
    "id": "63c234098746e15666325bf9f",
    "ip": "",
    "use": false,
    "status": "DOWN",
    "ipProxy": "101.111.44.191",
    "portHttp": "40303",
    "portSocks": "50303",
    "simProvider": "MTS UKR",
    "simNumber": null,
    "hostId": "21vjv1224n45v7457mvcas"
  }
]

Change modem IP

PATCH https://mobile.proxy-seller.com/api/v1/modems/{modemId}/change-ip

This request changes the IP of the specified modem.

https://mobile.proxy-seller.com/api/v1/modems/63c234098746e15666325bf9f/change-ip

Path parameters

NameTypeDescription

modemId*

String

id of modem

Headers

NameValue

Content-Type

application/json

Authorization*

<YOUR_API_TOKEN>

Request body

NameTypeDescription

value*

String

ip address to be set on the modem

Example request body:

{
  "value": "127.0.0.1"
}

Response

true

Set modem on PAUSE

POST https://mobile.proxy-seller.com/api/v1/modems/{modemId}/pause

This request pauses the modem's operation

Example

https://mobile.proxy-seller.com/api/v1/modems/63c234098746e15666325bf9f/pause

Path parameters

NameTypeDescription

modemId*

String

id of modem

Headers

NameValue

Content-Type

application/json

Authorization*

<YOUR_API_TOKEN>

Response

{
  "success": false,
  "response": "modem-already-unused",
  "code": 0
}

UNPAUSE modem

POST https://mobile.proxy-seller.com/api/v1/modems/{modemId}/unpause

This request resumes the modem on pause

Example

https://mobile.proxy-seller.com/api/v1/modems/63c234098746e15666325bf9f/unpause

Path parameters

NameTypeDescription

modemId*

String

Id of modem

Headers

NameValue

Content-Type

application/json

Authorization*

<YOUR_API_TOKEN>

Response

{
  "success": false,
  "response": "modem-already-used",
  "code": 0
}

Reboot modem

Reboot a specific modem.

PATCH https://mobile.proxy-seller.com/api/v1/modems/{modemId}/reboot

This request reboot selected modem.

https://mobile.proxy-seller.com/api/v1/modems/63c234098746e15666325bf9f/reboot

Path parameters

NameTypeDescription

modemId*

String

id of modem

Headers

NameValue

Content-Type

application/json

Authorization*

<YOUR_API_TOKEN>

Response

successful answer has no body, the success state is determined by the status 200

Modem rotation

Set or change rotation settings on your modem.

POST https://mobile.proxy-seller.com/api/v1/modems/{modemId}/rotation

This request set or change modem rotation.

Example

https://mobile.proxy-seller.com/api/v1/modems/63c234098746e15666325bf9f/rotation

Headers

NameValue

Content-Type

application/json

Authorization*

<YOUR_API_TOKEN>

Query parameters

NameTypeDescription

rotation*

Number

rotation time on min

If you set 5 min rotation modem will change rotaton every 5 min.

If the rotation is not set, it will be reset

Example request with query

https://mobile.proxy-seller.com/api/v1/modems/63c234098746e15666325bf9f/rotation?rotation=5

Response

successful answer has no body, the success state is determined by the status 200

Modem authorizations

Get modem authorization.

GET https://mobile.proxy-seller.com/api/v1/modems/{modemId}/auths

This request returns all authorizations that are set on the modem

https://mobile.proxy-seller.com/api/v1/modems/63c234098746e15666325bf9f/auths

Path parameters

NameTypeDescription

modemId*

String

Id of modem

Headers

NameValue

Content-Type

application/json

Authorization*

<YOUR_API_TOKEN>

Response

[
  {
    "id": "62326bcaf3904578675f9ef7",
    "authType": "LOGIN",
    "login": "jAck",
    "password": "re456pas",
    "ip": ""
  }
]

Limit for modems

If you need to set a speed or traffic limit within the modem.

POST https://mobile.proxy-seller.com/api/v1/modems/proxyLimit

This request sets limits on the modem.

Attention! If the modem has authorizations (users) and proxy limits are set on at least one of them, at the moment of setting limits on the modem, all limits from authorizations will be reset

Example

https://mobile.proxy-seller.com/api/v1/modems/proxyLimit

Headers

NameValue

Content-Type

application/json

Authorization*

<YOUR_API_TOKEN>

Request body

NameTypeDescription

modemIds*

Array of string

Array of modem id

speedLimit*

Number

modem speed limit in bits

trafficLimit*

Number

traffic speed limit in bits

outOfLimitNotifications*

Boolean

to notify me of the end of the limit?

Example request body

{
    "modemIds": ["63c234098746e15666325bf9f"],
    "speedLimit": 209715200,
    "trafficLimit" 4294967296,
    "outOfLimitNotifications": false
}

Response

{
  "failedModems": []
}

Send a report

If you encounter a problem with your modem, please submit a report.

POST https://mobile.proxy-seller.com/api/v1/modems/report

This point sends a report of a problem with one or more modems.

Example

https://mobile.proxy-seller.com/api/v1/modems/report

Headers

NameValue

Content-Type

application/json

Authorization*

<YOUR_API_TOKEN>

Request body

NameTypeDescription

hostId*

String

id of host

modemIds*

Array of string

Array of modem id

description*

String

description of problem with modem

locale*

string

language, at now you can sent "en"

Example request body

{
    "hostId": "21vjv1224n45v7457mvcas",
    "modemIds": [
        "63c234098746e15666325bf9f"
    ],
    "description": "not working",
    "locale": "en"
}

Response

successful answer has no body, the success state is determined by the status 200

Delete modems limits

DELETE https://mobile.proxy-seller.com/api/v1/modems/{modemId}/proxyLimits

This request removes all set limits from the modem.

Example

https://mobile.proxy-seller.com/api/v1/modems/63c234098746e15666325bf9f/proxyLimits

Path parameters

NameTypeDescription

modemId*

String

id of modem

Headers

NameValue

Content-Type

application/json

Authorization*

<YOUR_API_TOKEN>

Response

true

Delete modem

DELETE https://mobile.proxy-seller.com/api/v1/modems/{modemId}

This request removes modem.

Be careful it can cause irreversible effects.

Example

https://mobile.proxy-seller.com/api/v1/modems/63c234098746e15666325bf9f

Path parameters

NameTypeDescription

modemId*

String

id of modem

Headers

NameValue

Content-Type

application/json

Authorization*

<YOUR_API_TOKEN>

Response

successful answer has no body, the success state is determined by the status 200

Last updated