---
title: "Return deprecated cPanel API 1 functions"
method: GET
path: "/get_api_pages"
tags: ["Server Administration", "API Statistics"]
---

# Return deprecated cPanel API 1 functions

`GET /get_api_pages`

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](https://go.cpanel.net/replacecpapi1) documentation.

## Query parameters

- `type` 'cpapi1'

## Response `200`

HTTP Request was successful.

- object
  - `data` object
    - `count` integer — The total number of times that the system called the function on the day in the `timestamp` return.
    - `entry` string — The path to the file where the function executes.
    - `timestamp` integer — The date that the system called the function. **Note:** The time portion of this value is arbitrary. Only the date is valid.
  - `metadata` object
    - `command` string — The method name called.
    - `reason` string — The reason the API function failed when the `metadata.result` field is `0`. This field may display a success message when a function succeeds.
    - `result` 0 | 1 — * `1` — Success. * `0` — Failed. Check the `reason` field for more details.
    - `version` integer — The version of the API function.

---

[API](https://skmtc.net/cpanel/apis/whm-api.md) · [All operations](https://skmtc.net/cpanel/apis/whm-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/cpanel/whm-api/revisions/3da41671c02c/schema)
