プロキシの拡張
Updated:
このドキュメントでは、各種IPアドレスの自動更新を設定する方法について詳しく説明しています。同じIPアドレスを維持するためには、期限内に更新を行う必要がある点にご注意ください。
拡張子の算出
このエンドポイントを使用すると、費用を計算できます。数量やレンタル期間に応じた割引は、当社のサービスで提供されているものと同様です。
エンドポイント:
パスパラメータ
名前 | 価値 | 説明 |
|---|---|---|
承認 |
| ご自身のAPIキー(入手方法) |
プロキシの種類 |
| 拡張したいプロキシの種類 |
リクエスト本文
名前 | 種類 | 説明 |
|---|---|---|
ids | 文字列 | 単一のID、または「[ ]」で囲まれたカンマ区切りのIDの配列 |
クーポン | 文字列 | 追加したいコメント |
periodId | 文字列 | /reference/list/{type} リクエストで選択した期間のID、または安定した期間コード(例:1m) |
paymentId | 文字列 | 決済システムのID。「balance」は残高、「card」はアカウントに登録されたカードを指します。 |
名前 | 種類 | 説明 |
|---|---|---|
orderIds | 文字列 | 単一のID、または「[ ]」で囲まれたカンマ区切りのorderIDの配列 |
クーポン | 文字列 | 追加したいコメント |
periodId | 文字列 | /reference/list/{type} リクエストで選択した期間のID、または安定期間コード(例:1m) |
paymentId | 文字列 | 決済システムのID。「残高」は「balance」とし、アカウントに登録されたカードは「card」とします。 |
例(例:ipv4)
https://proxy-seller.com/personal/api/v2/fj4948ffhg58gh843gh/prolong/calc/ipv4
{
"ids": ["10"],
"periodId": "1m",
"coupon": "",
"paymentId": "balance"
}回答
{
"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,
"uptime": false
}
],
"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,
"uptime": false
}
],
"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
}
]
}更新注文を作成する
このセクションでは、更新注文の作成方法について学びます。
エンドポイント:
パスパラメータ
名前 | 価値 | 説明 |
|---|---|---|
承認 |
| ご自身のAPIキー(入手方法) |
プロキシの種類 |
| 延長したいプロキシの種類 |
リクエスト本文
名前 | 種類 | 説明 |
|---|---|---|
ids | 文字列 | 単一のID、または「[ ]」で囲まれたカンマ区切りのIDの配列 |
クーポン | 文字列 | 追加したいコメント |
periodId | 文字列 | /reference/list/{type} リクエストで選択した期間のID、または固定期間コード(例:1m) |
paymentId | 文字列 | 決済システムのID。「balance」は残高を、「card」はアカウントに登録されたカードを指します。 |
名前 | 種類 | 説明 |
|---|---|---|
orderIds | 文字列 | 単一のID、または「[ ]」で囲まれたコンマ区切りのorderIDの配列 |
クーポン | 文字列 | 追加したいコメント |
periodId | 文字列 | /reference/list/{type} リクエストで選択した期間のID、または安定した期間コード(例:1m) |
paymentId | 文字列 | 決済システムのID。「balance」は残高、「card」はアカウントに登録されたカードを指します。 |
例(例:ipv4)
https://proxy-seller.com/personal/api/v2/fj4948ffhg58gh843gh/prolong/make/ipv4
{
"ids": ["10"],
"periodId": "1m",
"coupon": "",
"paymentId": "balance"
}回答
{
"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
}
]
}