Menu

traffic detail

get traffic usage detail of userpass

API

  • Address: /api/traffic/details
  • Method: POST

Params

param type description mandatory default
sdate string start date time 2020-01-01 Y /
edate string end date time 2020-01-01 Y /
page string N 1
psize string page size N 10
subid string userpass id ,-1 for all userpass N /

Response

json Copy
{
    "code": 0,
    "msg": "success",
    "data": {
        "total": 1,
        "list": [
            {
                "time": "2025-04-21",
                "uid": 13232132131,
                "geo": "US",
                "region": "",
                "count": "15.05 MB",
                "username": "redhatip.com"
            }
        ]
    }
}

Explain Response

param type description remark
time string date time
uid number account id
geo string location ISO code
region string location region
count string usage detail
username string userpass username
Previous
gateways
Last modified: 2025-06-20