latestOpenAPI 3.0.2cPanel License2026-08-106251554.3 MB

3da41671c02c

Server Administration
API Statistics

Return deprecated cPanel API 1 functions

This function returns the daily interface use of cPanel API 1 functions. Use this function to find out which API calls your custom interfaces or third-party plugins use.

Important:

The function only returns cPanel API 1 functions. We deprecated cPanel API 1 and plan to remove those functions at a later date. For more information, read our Guide to Replacing cPanel API 1 Functions with UAPI Equivalents documentation.

get/get_api_pages

Query parameters

type'cpapi1'
Example:cpapi1

The cPanel API type to query.

Response

HTTP Request was successful.

Example response

{
  "data": {
    "count": 200000,
    "entry": "/usr/local/cpanel/base/frontend/jupiter/plugin1/index.html.tt",
    "timestamp": 1548828000
  },
  "metadata": {
    "command": "get_api_pages",
    "reason": "OK",
    "result": 1,
    "version": 1
  }
}