Search by name, SuiNS, address, digest, object ID, coin type or checkpoint.

API
account.usage

Method

account.usage

Usage per day and method.

Details

Endpoint
GET /v0/account/usage
Credits
Free
Rate class
Light. Counts against your light requests per second.

Returns calls and credits per day and per method for the signed-in account, newest day first. Defaults to the last 30 days; pass `from` and `to` as YYYY-MM-DD (UTC, inclusive) for another range, or `key` to see one key. Recent calls show within about 5 seconds.

Parameters

NameTypeDescription
fromstringFirst day, YYYY-MM-DD (UTC). Default 30 days ago.
tostringLast day, YYYY-MM-DD (UTC). Default today.
keystringOnly this key id.

Request

Send your key in the x-api-key header, or leave it out to use the keyless tier.

curl
curl "https://api.tide.ad/v0/account/usage?from=2026-11-01&to=2026-11-03" \
  -H "x-api-key: YOUR_API_KEY"
TypeScript
const res = await fetch("https://api.tide.ad/v0/account/usage?from=2026-11-01&to=2026-11-03", {
  headers: {
    "x-api-key": process.env.TIDE_API_KEY!,
  },
});
const data = await res.json();

Response

JSON
{
  "from": "2026-11-01",
  "to": "2026-11-03",
  "items": [
    {
      "day": "2026-11-03",
      "method": "getAsset",
      "calls": 120,
      "credits": 240
    }
  ],
  "totals": {
    "calls": 120,
    "credits": 240
  }
}