Skip to content
MyStocks Developers
API v1

API v1

Current stable contract

Versioning policyRelease changelog
Sandbox console

Usage analytics

Institutional Reporting, Auditing & Compliance

GET

/usage

Usage analytics

Sandbox availablelistUsage

Returns daily API call totals for the last N days (default 30, max 90), aggregated from per-minute rate-limit windows. Also returns the current rate-limit window status so you can see remaining capacity in real time.

Parameters

daysintegerquery

Number of days to look back. Default 30, max 90.

Example: 30

Headers

AuthorizationstringRequired

Bearer sk_sandbox_<your_key> for sandbox requests.

Response fields

keyIdstring
tierstring

Example: "starter"

periodDaysinteger

Example: 30

totalCallsinteger

Total API calls in the requested period.

dailyobject[]

One entry per calendar day, ordered oldest first.

daily[].datestring

Example: "2026-05-01"

daily[].callsinteger
currentWindowobject

Live rate-limit window status.

currentWindow.limitinteger

Maximum requests allowed per minute for your tier.

currentWindow.remaininginteger

Requests remaining in the current 1-minute window.

currentWindow.resetAtstring

When the current window resets.

Response codes

200Usage analytics and current rate-limit window.