Proxy-seller

Estendere i proxy

Questo documento fornisce una guida dettagliata su come impostare il rinnovo automatico degli indirizzi IP di vario tipo. Si noti che gli indirizzi IP devono essere rinnovati in tempo per mantenere gli stessi indirizzi.

Calcolo dell'estensione

Questo endpoint aiuta a calcolare il costo. Gli sconti per i volumi e i periodi di noleggio sono simili a quelli offerti dal nostro servizio.

Punto finale:

POSThttps://proxy-seller.com/personal/api/v1/{YourApiKey}/prolong/calc/{type}

Parametri del percorso

Nome

Valore

Descrizione

Autorizzazione

<Your_API_Key>

La chiave API personale (come ottenere)

Tipo di proxy

ipv4

ipv6

mobile

isp

mix

mix_isp

Il tipo di proxy che si vuole estendere

Corpo della richiesta

Nome

Tipo

Descrizione

ids

Numero

Un singolo ID o un array di ID in '[ ]', separati da virgole (come ottenere)

cedola

Stringa

Il commento che si desidera aggiungere

periodoId

Stringa

ID del periodo selezionato nella finestra/referenza/elenco/{tipo} richiesta

iD pagamento

Stringa

L'ID del sistema di pagamento. '1' per il saldo, '43' per la carta aggiunta al conto.

Esempio(ad esempio ipv4)

https://proxy-seller.com/personal/api/v1/fj4948ffhg58gh843gh/prolong/calc/ipv4

Risposta

{
  "status": "success",
  "data": {
    "warning": "",
    "balance": 40.4,
    "total": 35.1,
    "quantity": 5,
    "currency": "USD",
    "discount": 0.22,
    "items": [
      {
        "id": 10,
        "order_id": 1000000,
        "order_number": "1000000_57471911",
        "base_order_number": "1000000_57471911",
        "ip": "127.0.0.1",
        "port_http": 80,
        "port_socks": 443,
        "login": "login",
        "password": "password",
        "auth_ip": "127.0.0.2",
        "country": "USA",
        "date_start": "d.m.Y H:i:s",
        "date_end": "d.m.Y H:i:s",
        "comment": "d.m.Y H:i:s",
        "status": "ACTIVE",
        "rotation": "5",
        "link_reboot": "https://proxy-seller.com/api/proxy/reboot?token=12345",
        "can_prolong": true
      }
    ],
    "orders": 2
  },
  "errors": []
}
{
  "status": "error",
  "data": {
    "warning": "Insufficient funds. Total $2. Not enough $33.10",
    "balance": 2,
    "total": 35.1,
    "quantity": 5,
    "currency": "USD",
    "discount": 0.22,
    "items": [
      {
        "id": 10,
        "order_id": 1000000,
        "ip": "127.0.0.1",
        "port_http": 80,
        "port_socks": 443,
        "login": "login",
        "password": "password",
        "auth_ip": "127.0.0.2",
        "country": "USA",
        "date_start": "d.m.Y H:i:s",
        "date_end": "d.m.Y H:i:s",
        "comment": "d.m.Y H:i:s",
        "status": "ACTIVE",
        "rotation": "5",
        "link_reboot": "https://proxy-seller.com/api/proxy/reboot?token=12345",
        "can_prolong": true
      }
    ],
    "orders": 2
  },
  "errors": []
}
{
    "status": "error",
    "data": null,
    "errors": [
        {
            "message": "Set existed [periodId] from reference",
            "code": 0,
            "customData": null
        }
    ]
}
{
    "status": "error",
    "data": null,
    "errors": [
        {
            "message": "IP not found",
            "code": 0,
            "customData": null
        }
    ]
}

Creare un ordine di rinnovo

In questa sezione si spiega come creare un ordine di rinnovo.

Punto finale:

POSThttps://proxy-seller.com/personal/api/v1/{YourApiKey}/prolong/make/{type}

Parametri del percorso

Nome

Valore

Descrizione

Autorizzazione

<Your_API_Key>

La chiave API personale (come ottenere)

Tipo di proxy

ipv4

ipv6

mobile

isp

mix

mix_isp

Tipo di proxy che si desidera prolungare

Corpo della richiesta

Nome

Tipo

Descrizione

ids

Numero

Uno o una matrice di id di "[ ]", separati da virgole

cedola

Stringa

Commento che si desidera aggiungere

periodoId

Stringa

ID del periodo selezionato nella richiesta /reference/list/{type}

iD pagamento

Stringa

Id del sistema di pagamento "1" - saldo, "43" - carta aggiunta nel proprio armadietto

Esempio(ad esempio ipv4)

https://proxy-seller.com/personal/api/v1/fj4948ffhg58gh843gh/prolong/make/ipv4

Risposta

{
  "status": "success",
  "data": {
        "orderId": 3388536,
        "total": 35.1,
        "listBaseOrderNumbers": [
            "1000000_57471911"
        ],
        "balance": 40.4,
  },
  "errors": []
}
{
  "status": "error",
  "data": {
    "warning": "Insufficient funds. Total $2. Not enough $33.10",
    "balance": 2,
    "total": 35.1,
    "quantity": 5,
    "currency": "USD",
    "discount": 0.22,
    "items": [
      {
        "id": 10,
        "order_id": 1000000,
        "ip": "127.0.0.1",
        "port_http": 80,
        "port_socks": 443,
        "login": "login",
        "password": "password",
        "auth_ip": "127.0.0.2",
        "country": "USA",
        "date_start": "d.m.Y H:i:s",
        "date_end": "d.m.Y H:i:s",
        "comment": "d.m.Y H:i:s",
        "status": "ACTIVE",
        "rotation": "5",
        "link_reboot": "https://proxy-seller.com/api/proxy/reboot?token=12345",
        "can_prolong": true
      }
    ],
    "orders": 2
  },
  "errors": []
}
{
    "status": "error",
    "data": null,
    "errors": [
        {
            "message": "Set existed [periodId] from reference",
            "code": 0,
            "customData": null
        }
    ]
}
{
    "status": "error",
    "data": null,
    "errors": [
        {
            "message": "IP not found",
            "code": 0,
            "customData": null
        }
    ]
}

On this page