Skip to content

Get metrics

Get daily numbers for your wallets, such as balances, money in and out, or risk exposure. You can split them by wallet tag, firm tag, firm, asset tag, asset, or wallet, or get one total.

Organization, firm, or wallet level

  • Organization: ?metric=balance_usd&groupBy=org gives one daily line for your whole organization. You get this when you do not add groupBy.
  • Firm: ?metric=balance_usd&groupBy=firm gives one daily line for each firm. For one firm only, add firms=, for example ?metric=balance_usd&groupBy=firm&firms=Bybit. You can also use firmIds= with the firm id.
  • Wallet: ?metric=balance_usd&groupBy=wallet gives your 10 largest wallets and one “Other” line. Change this with limit.
  • The wallet count metrics monitored_wallets and wallets_with_balance cannot be split by wallet.
  • A wallet linked to more than one firm counts in each of those firms. So the firm lines can add up to more than the organization total.

Quick start

  • ?metric=balance_usd&walletTags=Hot&walletTags=Cold&days=30 gives the daily balance of each wallet tag for the last 30 days.
  • ?metric=balance_usd&firmTags=Exchange&firmTags=Regulated gives the daily balance of the wallets of each firm tag.
  • ?metric=balance_usd&groupBy=firm gives the daily balance of each firm.
  • ?metric=risk_exposure_usd&walletTags=Hot gives the money that moved to or from risky addresses each day.
  • ?metric=balance_usd&groupBy=asset&days=30 gives the daily balance of your 10 largest assets, such as Bitcoin and Tether, and one line for all other assets.

Replace spaces in names with %20. Balances show the value on each day; activity metrics show what happened that day and also a total for the period.

Good to know

  • Tags apply to all past days: a wallet or firm tagged today counts on every day.
  • A wallet in two of the selected tags counts in both lines. totals.distinct shows the selected tags together, each wallet counted once.
  • Risk categories overlap, so do not add them up. A category with no data for your wallets gives 0.
  • groupBy=asset and groupBy=wallet show the 10 largest lines (change this with limit) and put the rest in one “Other” line. Balances rank by the last day, activity by the total for the period.
  • When you choose assets (assets, assetIds) or wallets (wallets), each one gets its own line and there is no Other line. Tokens with no known asset always go into Other assets. An asset with no known name shows its id.
  • Add format=csv to get a spreadsheet file.
  • Data is complete up to yesterday (UTC). Days with no data yet are empty (null); days with data but no activity are 0.
  • You can ask for up to 366 days.
  • HTTP Method: GET
  • Endpoint Path: /organization/metrics
ParameterLocationTypeRequiredDescription
metricquerystringYesWhat to measure. See GET /metrics/catalog for what each one means. Allowed: balance_usd, wallets_with_balance, monitored_wallets, inflow_usd, outflow_usd, netflow_usd, incoming_transfers, outgoing_transfers, transfers, transactions, incoming_transactions, outgoing_transactions, risk_exposure_usd, risk_inflow_usd, risk_outflow_usd, risk_events, assets_held.
walletTagsquerystringNoWallet tag names, separated by commas. Capital letters do not matter. For a name with a comma, repeat walletTags=.
groupByquerystringNoHow to split results into lines. Default: by the tags, assets, or wallets you give; otherwise org, one line for your whole organization. none still works as an older name for org. Allowed: wallet_tag, firm_tag, firm, asset_tag, asset, wallet, org.
daysqueryintegerNoHow many days to show, ending yesterday (UTC). From 1 to 366. Default is 30.
fromquerystringNoThe first day to show, as YYYY-MM-DD. Use instead of days.
toquerystringNoThe last day to show, as YYYY-MM-DD. Default is yesterday (UTC).
firmTagsquerystringNoFirm tag names, separated by commas. Capital letters do not matter. For a name with a comma, repeat firmTags=.
firmsquerystringNoFirm names, separated by commas. Only these firms count. For a name with a comma, repeat firms=.
assetTagsquerystringNoAsset tag names, separated by commas. Only these assets count. Works with balance, transfer, and assets_held metrics.
assetsquerystringNoAsset names, symbols, or ids, separated by commas. Only these assets count. Works with balance, transfer, and assets_held metrics.
walletsquerystringNoWallets as chain:address, separated by commas. Only these wallets count.
limitqueryintegerNoWith groupBy=asset or groupBy=wallet: lines before the Other line, 1 to 50. Not with assets or wallets. Default: 10.
categoriesquerystringNoRisk metrics only. Categories to include; any known category works. Default: defaultSelected: true categories in GET /metrics/catalog. Each wallet counts once per day, using its largest chosen category, so totals can be slightly below the exact figure. Each name counts only that category; spelling and spaces do not matter (Terrorist Financing = TerroristFinancing, Risky Escrow = Riskyescrow).
formatquerystringNojson (default) or csv for a spreadsheet file with one row per day. Allowed: json, csv. Default: json.
includeUntaggedWalletsquerybooleanNoAdd a line for wallets with none of the selected wallet tags. Default: false.
walletTagIdsquerystringNoWallet tag ids, if you prefer ids to names. Do not send with walletTags.
firmTagIdsquerystringNoFirm tag ids, if you prefer ids to names. Do not send with firmTags.
firmIdsquerystringNoFirm ids, if you prefer ids to names. Do not send with firms.
assetTagIdsquerystringNoAsset tag ids, if you prefer ids to names. Do not send with assetTags.
assetIdsquerystringNoAsset ids, such as bitcoin, if you prefer ids to names. Do not send with assets.

The daily numbers you asked for.

FieldTypeDescription
metricstringThe metric you asked for.
unitstringusd for dollar amounts, count for numbers of things.
kindstringlevel is a daily snapshot, like a balance; flow is a daily amount that adds up.
groupBystringHow the results are split into lines.
fromstringThe first day in the results.
tostringThe last day in the results.
membershipModestringAlways current_tags_applied_to_history: today’s wallet tags apply to every day.
categoriesArray[string]Risk metrics only. The risk categories included in the numbers.
categoriesAdditivebooleanRisk metrics only. Always false, because one transfer can have several categories. Each wallet counts once per day, using its largest chosen category, so totals can be slightly below the exact figure. Each name counts only that category. Spelling does not matter, so Risky Escrow and Riskyescrow are the same category.
seriesArray[WalletMetricSeries]One line per wallet tag, firm tag, firm, or asset tag, or a single line for all wallets. With groupBy=asset or groupBy=wallet, the largest lines come first and the last line, __other__, adds up the rest.
series[].keystringThe wallet tag id, firm tag id, firm id, asset tag id, asset id (such as bitcoin), wallet as chain:address, __other__, untagged, or all.
series[].labelstringThe name to show to people, such as the wallet tag, firm, or asset name (the asset id when the name is unknown), or a short wallet address.
series[].pointsArray[WalletMetricPoint]One value for each day in the range.
series[].points[].datestringThe day (UTC).
series[].points[].valuenumberThe value on that day, in USD rounded to cents or as a whole count. Days with no data yet are empty (null); days with data but no activity are 0.
series[].summaryWalletMetricSummaryReady-made numbers for a line.
series[].summary.latestnumberFor balances, the value on the last complete day with data; for activity, the value on the last complete day in the range (0 if nothing happened, null if that day has no data yet).
series[].summary.latestDatestringThe day the latest value comes from, or null if the range has no complete day with data.
series[].summary.periodTotalnumberThe sum of all days with data for flow metrics; null for level metrics, because balances do not add up. Computed before rounding, so it can differ by a few cents from the sum of the rounded daily values.
totalsobject
totals.distinctArray[WalletMetricPoint]Counts every wallet your filters select, each wallet once. With groupBy=wallet_tag, untagged wallets are added only with includeUntaggedWallets=true. With groupBy=asset_tag, each asset is counted once. With groupBy=asset or groupBy=wallet, it is the sum of all lines, including __other__. For assets_held, each asset is counted once.
totals.distinct[].datestringThe day (UTC).
totals.distinct[].valuenumberThe value on that day, in USD rounded to cents or as a whole count. Days with no data yet are empty (null); days with data but no activity are 0.
totals.summaryWalletMetricSummaryReady-made numbers for a line.
totals.summary.latestnumberFor balances, the value on the last complete day with data; for activity, the value on the last complete day in the range (0 if nothing happened, null if that day has no data yet).
totals.summary.latestDatestringThe day the latest value comes from, or null if the range has no complete day with data.
totals.summary.periodTotalnumberThe sum of all days with data for flow metrics; null for level metrics, because balances do not add up. Computed before rounding, so it can differ by a few cents from the sum of the rounded daily values.
overlapobjectHow many items are in more than one selected tag, or null when results are not split by tag.
overlap.walletsInMultipleSelectedTagsnumberThe number of wallets that have two or more of the selected wallet tags.
overlap.walletsInMultipleSelectedFirmTagsnumberThe number of wallets whose firms have two or more of the selected firm tags.
overlap.assetsInMultipleSelectedAssetTagsnumberThe number of assets that have two or more of the selected asset tags.
freshnessobject
freshness.latestDaystringThe last complete day (UTC) that has data, or null if there is none yet.
freshness.includesPartialTodaybooleantrue when the results include today, which is not complete and can still change.

Set format=csv for a CSV download.

  • 400: Something in the request is wrong. The message says what and how to fix it.
  • 401: Missing or invalid API key
  • 403: The organization does not have access to this endpoint.
  • 405: HTTP method not supported

Request

Terminal window
curl -X GET "https://api.compliance.certik.com/organization/metrics?metric=balance_usd" \
-H "X-API-Key: YOUR_API_KEY" \
-H "X-API-Secret: YOUR_API_SECRET"

Response

{
"metric": "balance_usd",
"unit": "usd",
"kind": "level",
"groupBy": "wallet_tag",
"from": "2026-09-22",
"to": "2026-09-23",
"membershipMode": "current_tags_applied_to_history",
"series": [
{
"key": "11111111-1111-4111-8111-111111111111",
"label": "Hot",
"points": [
{
"date": "2026-09-22",
"value": 2994170951.39
},
{
"date": "2026-09-23",
"value": 2916534541.83
}
],
"summary": {
"latest": 2916534541.83,
"latestDate": "2026-09-23",
"periodTotal": null
}
},
{
"key": "22222222-2222-4222-8222-222222222222",
"label": "Treasury",
"points": [
{
"date": "2026-09-22",
"value": 628217279.27
},
{
"date": "2026-09-23",
"value": 695176617.25
}
],
"summary": {
"latest": 695176617.25,
"latestDate": "2026-09-23",
"periodTotal": null
}
}
],
"totals": {
"distinct": [
{
"date": "2026-09-22",
"value": 3622388230.66
},
{
"date": "2026-09-23",
"value": 3611711159.08
}
],
"summary": {
"latest": 3611711159.08,
"latestDate": "2026-09-23",
"periodTotal": null
}
},
"overlap": {
"walletsInMultipleSelectedTags": 0
},
"freshness": {
"latestDay": "2026-09-23",
"includesPartialToday": false
}
}