Interface Description
- https://dev.kdlapi.com/api/checkopsvalid interface address
- Open proxy detection effectiveness
Back to Results
Agent returns true survival, failure returns false
Parameter Description
Required parameters
- orderid order number
- To detect open proxy agent
- 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