Status

API Endpoint Usage Statistics

0calls
Free

Want to know which API endpoint is most popular? This endpoint provides detailed 'billing'.

正在加载API战力排行榜...
GET
uapis.cn
/api/v1/status/usage
Query parameters
1
path
string

(Optional) If you want to query a specific endpoint, provide its path, e.g., '/api/v1/image/motou'. If left empty, returns statistics for all endpoints.

Overview

This endpoint retrieves usage statistics for each API endpoint. You can query the list of all endpoints, or specify a particular endpoint via the path parameter. Returned information includes call count and average processing time

Query parameters

path
stringoptional

(Optional) If you want to query a specific endpoint, provide its path, e.g., '/api/v1/image/motou'. If left empty, returns statistics for all endpoints.

Response

200 / OK

When querying a specific path

Format 1Endpoint Aggregated Statistics

Aggregated statistics returned when querying all endpoints

JSON
{
  "endpoints": [
    {
      "path": "/api/v1/text/profanitycheck",
      "count": 2580791
    }
  ],
  "unaggregated": {
    "count": 356,
    "oldest_log": "2025-11-09T23:52:38.929+08:00"
  }
}
Format 2Single Endpoint Statistics

Statistics for a single endpoint returned when querying with specified path parameter

JSON
{
  "path": "/api/v1/image/motou",
  "count": 22310
}

404 / Not Found

Not Found

JSON
{
  "code": "NOT_FOUND",
  "message": "Specified endpoint statistics not found"
}