[API] Acting fast open proxy detection effectiveness

Interface Description

  • https://dev.kdlapi.com/api/checkopsvalid interface address
  • Open proxy detection effectiveness

Back to Results

Agent returns true survival, failure returns false
Here Insert Picture Description

Parameter Description

Here Insert Picture Description

Required parameters

  1. orderid order number
  2. To detect open proxy agent
  3. signature API Key

Gets the order number and API Key Tutorial

Sample Code

Note orderid here, api_key parameters need to fill their orders factual information.

import requests


# API接口
api_url = "https://dps.kdlapi.com/api/checkopsvalid"

# 订单号跟API Key
orderid = 938452897319117
api_key = "8b0zeiofqrpq5ay594hu8vq7ojztmta6"

# 代理IP
proxy = "103.143.234.5:56269"

# 参数
params = {
        "proxy": proxy,
        "orderid": orderid,
        "signature": api_key,
        }

res = requests.get(api_url, params=params)
print(res.content)

Operating results, the proxy survival
Here Insert Picture Description

Advanced Learning

Published 35 original articles · won praise 22 · views 40000 +

Guess you like

Origin blog.csdn.net/kdl_csdn/article/details/105163212