Get free API key
All APIsexpand_more
search
appsAll APIs
functionHow metrics are calculated

My usage this month

GET/stable/usage1 tokens per call

Returns your token and request consumption for the current month (UTC) against your plan limit, broken down by endpoint and by day. Usage is counted per account, so all API keys of the same account share one monthly quota. This call itself is recorded after the response and is not included in the figures.

What you can do with this API

  • check_circleCheck your remaining quota during the month
  • check_circleSee which endpoints use the most tokens
  • check_circleBuild an alert before you run out of quota

Example URL

https://api.zenithcode.net/stable/usage

Shown without percent-encoding for readability. Non-ASCII values are encoded automatically when sent.

Parameters

This API takes no parameters.

Try it

Run it with your own parameters and check the response as a table, JSON or CSV. Sign-in required; each run uses 1 tokens.

travel_exploreTry in the API Viewer

Response example (real data)

lock
Live response examples are shown to signed-in users only (they include exchange data such as stock prices). Sign in to view

Response fields

planfree | pro | business | enterprisestringfree | pro | business | enterprise
yearMonth集計月(UTC)string集計月(UTC)
periodStartstring
resetsAt次の集計月の開始(月間クォータがリセットされる時刻)string次の集計月の開始(月間クォータがリセットされる時刻)
tokens月間トークンobject月間トークン
requestsobject
byEndpointエンドポイント別(トークンの多い順・上位 20)arrayエンドポイント別(トークンの多い順・上位 20)
daily日別(UTC、古い順)array日別(UTC、古い順)

Related APIs

FAQ

What happens when the monthly quota is used up?expand_more

Every call, including this one, returns HTTP 429. Use the dashboard to check usage in that case.

How many tokens does one call use?expand_more

1 tokens per call, regardless of how many rows come back. Your monthly allowance depends on your plan.

Do I need an account to try it?expand_more

Use the API Viewer to run it with your own parameters. Sign up for free and sign in (no credit card). Each run uses this API's tokens.

Can I get CSV instead of JSON?expand_more

Add format=csv to the URL to get CSV, ready for spreadsheets or pandas.

Can I get labels in English?expand_more

With neither lang nor Accept-Language, labels such as sector names are returned in English; add lang=ja or send Accept-Language: ja for Japanese. Company and sector names are always returned in both languages as nameJa / nameEn and sectorJa / sectorEn. Field names are the same in both languages.