1. AGENT
rapid_agent
  • AGENT
    • RAPID Interface documentation
    • Static Residential
      • Callback
      • Static Residential Refund
      • Obtain Product List
      • Obtain Available Subscription Durations
      • Activate Static Residential IP
      • Renew Static Residential IP
      • Obtain Orders
      • Obtain Instance Information
    • Add User
      POST
    • Edit User
      POST
    • Get All Users
      POST
    • Add Sub-user
      POST
    • Edit Sub-user
      POST
    • Get Sub-users
      POST
    • Allocate Traffic
      POST
    • Recycle Traffic
      POST
    • Clear Traffic
      POST
    • Obtain Allocation Records
      POST
    • Add IP to Whitelist
      POST
    • Add IP to Blacklist
      POST
    • Add Domains to User's Blocklist
      POST
    • Delete IP from Whitelist
      POST
    • Delete IP from Blacklist
      POST
    • Delete Blocked Domain
      POST
    • Obtain User Traffic
      POST
    • Obtain Proxy
      POST
    • Obtain Proxy Address
      POST
    • Obtain Proxy Protocol
      POST
    • Obtain Country List
      POST
    • Obtain States/Provinces Under a Country
      POST
    • Obtain Cities Under a State
      POST
    • Obtain User Traffic Consumption
      POST
    • Reset User's API Key
      POST
    • Query User Traffic by Time Range
      POST
    • Obtain Sub-account Traffic Consumption
      POST
  1. AGENT

Obtain User Traffic Consumption

POST
https://www.rapidproxy.io/api/agent/get_user_stats

请求参数

Header 参数

Body 参数application/json

示例
{
    "username": "test",
    "day": "2024-09-30"
}

请求示例代码

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location 'https://www.rapidproxy.io/api/agent/get_user_stats' \
--header 'app-key: xxxxxxxxxxx' \
--header 'Content-Type: application/json' \
--data '{
    "username": "test",
    "day": "2024-09-30"
}'

返回响应

🟢200成功
application/json
Bodyapplication/json

示例
{
    "code": 0,
    "data": [
        {
            "labels": "2024-10-26-00",
            "series": 1.964
        },
        {
            "labels": "2024-10-26-01",
            "series": 2.07
        },
        {
            "labels": "2024-10-26-02",
            "series": 1.893
        },
        {
            "labels": "2024-10-26-03",
            "series": 1.848
        },
        {
            "labels": "2024-10-26-04",
            "series": 1.81
        },
        {
            "labels": "2024-10-26-05",
            "series": 1.842
        },
        {
            "labels": "2024-10-26-06",
            "series": 1.798
        },
        {
            "labels": "2024-10-26-07",
            "series": 1.832
        },
        {
            "labels": "2024-10-26-08",
            "series": 1.832
        },
        {
            "labels": "2024-10-26-09",
            "series": 1.823
        },
        {
            "labels": "2024-10-26-10",
            "series": 1.882
        },
        {
            "labels": "2024-10-26-11",
            "series": 1.439
        },
        {
            "labels": "2024-10-26-12",
            "series": 1.694
        },
        {
            "labels": "2024-10-26-13",
            "series": 1.741
        },
        {
            "labels": "2024-10-26-14",
            "series": 1.773
        }
    ],
    "total": 27.241
}
修改于 2025-10-13 03:20:17
上一页
Obtain Cities Under a State
下一页
Reset User's API Key
Built with