Proxy-seller

アクティブなプロキシを取得する

Updated:

このAPIエンドポイントを最大限に活用するには、ネットワーク内で実装されているプロキシの種類を明確に把握しておく必要があります。フィルタリングオプションを活用して、正確かつ有益なプロキシデータを取得してください。

このAPIの実装に関する詳細については、APIドキュメントを参照してください。そこには、リクエストの例、レスポンスの形式、およびデータ取得をカスタマイズするために使用できる追加パラメータが記載されています。

エンドポイント

GEThttps://proxy-seller.com/personal/api/v2/{YourApiKey}/proxy/list/{type}

パスパラメータ

名前

値

説明

承認

<Your_API_Key>

お客様の個人用APIキー(入手方法)

プロキシの種類(任意)

ipv4

ipv6

mobile

isp

mix

mix_isp

取得したいプロキシの種類

プロキシの種類が指定されていない場合、そのプロファイルで利用可能なすべての種類が返されることにご注意ください。

リクエストパラメータ

名前

種類

説明

最新

文字列

はい/いいえ - 前回の注文の代理人を再利用

注文ID

文字列

特定の…からプロキシを返す注文IDまたはbaseOrderNumber

国

文字列

Alpha3の国名(FRA、USAなど)

終わり

文字列

Y - 終了プロキシの一覧

ページ


整数

ページ番号。1から始まります。/proxy/list/{type}でのみ機能します。per_pageのみが指定された場合、デフォルト値は1となります。


1ページあたりの件数


整数

1ページあたりのプロキシ数。/proxy/list/{type}でのみ機能します。pageのみが指定された場合、デフォルトは100となります。


例

すべてのタイプのプロキシを取得するには:

https://proxy-seller.com/personal/api/v2/fj4948ffhg58gh843gh/proxy/list

特定のタイプ(例:IPv4)のプロキシを取得するには:

https://proxy-seller.com/personal/api/v2/fj4948ffhg58gh843gh/proxy/list/ipv4

ページごとにプロキシサーバーの一覧を取得するには:

https://proxy-seller.com/personal/api/v2/fj4948ffhg58gh843gh/proxy/list/ipv4?page=1&per_page=100


回答

あらゆる種類のプロキシ

{
    "status": "success",
    "data": {
        "ipv4": [],
        "ipv6": [],
        "mobile": [],
        "isp": [],
        "mix": [],
        "mix_isp": [],
        "resident": [] //proxy lists
    },
    "errors": []
}

プロキシの一種

{
    "status": "success",
    "data": {
        "items": [
            {
                "id": "0678564",
                "order_id": "123456",
                "order_number": "2000096_20240080",
                "basket_id": "12345566",
                "ip": "31.6.33.97",
                "ip_only": "31.6.33.97",
                "protocol": "HTTP",
                "port_socks": 12345,
                "port_http": 12345,
                "login": "ruht5734hg",
                "password": "gou5h437g",
                "auth_ip": "",
                "rotation": null,
                "link_reboot": "#",
                "country": "Belgium",
                "country_alpha3": "BEL",
                "status": "Active",
                "status_type": "ACTIVE",
                "can_prolong": true,
                "date_start": "23.06.2024",
                "date_end": "23.07.2024",
                "comment": "",
                "auto_renew": "N",
                "auto_renew_period": "",
                "uptime": false
            }
        ]
    },
    "errors": []
}

プロキシの種類が間違っています

{
    "status": "error",
    "data": null,
    "errors": [
        {
            "message": "Could not find description of list{type} in CrmUserApiProxy",
            "code": 22002,
            "customData": null
        }
    ]
}

ページネーション付きのレスポンス

{
  "status": "success",
  "data": {
    "items": [],
    "page": 1,
    "per_page": 100,
    "total": 342,
    "total_pages": 4
  },
  "errors": []
}


On this page