Skip to main content

getApiStat

Get the number of API requests.

Description​

Fetches the project's API request count per day. Resolves to an array of single-key objects, each mapping a date (YYYY-MM-DD) to the number of requests on that date, e.g. [{ "2026-10-25": 17280 }]. It covers at most the last three days (UTC, including today); days without requests are left out.

.getApiStat();

Examples​

Minimal example​

const response = await System.getApiStat();

Example response​

[
{ "2026-10-26": 18897 },
{ "2026-10-27": 14285 }
]