统计监控

后台统计监控

在后台监控统计,请登录后台,点击 代理类型 > 流量监控 > 验证方法

  1. 选择日期
  2. 请求总数
  3. 请求图表
  4. 请求列表
28322832

API 统计监控请求地址:GET scrape.smartproxy.com/v1/user/stats

curl -u {username}:{password} scrape.smartproxy.com/v1/user/stats
<?php
$username = "username";
$password = "password";

$target = curl_init('http://scrape.smartproxy.com/v1/user/stats');
curl_setopt($target, CURLOPT_RETURNTRANSFER, 1);
curl_setopt($target, CURLOPT_USERPWD, sprintf('%s:%s', $username, $password));
curl_setopt($target, CURLOPT_HTTPHEADER, ["Content-Type: application/json"]);

$result = curl_exec($target);
curl_close($target);
if ($result)
echo $result;
?>
import requests

username = 'username'
password = 'password'
user_pass = (username, password)

response = requests.get('http://scrape.smartproxy.com/v1/user/stats', auth=user_pass)

print(response.text)