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

# Return deprecated cPanel API 1 functions by date

`GET /get_api_calls`

This function returns the cPanel API 1 functions that the system called on specific dates.
This is useful, for example, to check whether your system calls any cPanel API 1 functions.

**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` string

## Response `200`

HTTP Request was successful.

- object
  - `data` object
    - `result` object[]
      - `count` integer — The total number of times that the system called the function on the day in the `timestamp` return.
      - `entry` string — The cPanel API 1 module and function that the system executed. For a complete list of cPanel API 1 functions, read our [Guide to cPanel API 1](https://go.cpanel.net/cpanelapi1) documentation.
      - `timestamp` integer — The date that the system called the function, in [Unix time format](https://wikipedia.org/wiki/Unix_time).
  - `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)
