Skip to content

Get firm AML daily summary

AML flow summary for a monitored firm on a single UTC day: total volume, transaction count, inflow/outflow/net flow, and the risk-touched subset of each, broken down by category. A day with no on-chain activity returns a zeroed summary with an empty categories array, not a 404.

  • HTTP Method: GET
  • Endpoint Path: /organization/firms/{firmId}/aml/summary
ParameterLocationTypeRequiredDescription
firmIdpathstringYesId of a firm your organization monitors.
datequerystringYesUTC day to summarize, YYYY-MM-DD. Must not be after yesterday (UTC), or the request is rejected with 400. Daily-aggregate coverage begins 2026-06-25; a date before that returns 200 with a zeroed summary rather than an error.

Summary retrieved successfully

FieldTypeDescription
firmIdstring
datestring
summaryAmlSummaryDaily AML flow summary for a firm. A day with no on-chain activity returns a zeroed summary with an empty categories array, not a 404.
summary.totalVolumeUsdnumberTotal USD volume (inflow + outflow) for the day.
summary.txnCountnumberTotal transaction count for the day.
summary.inflowUsdnumber
summary.outflowUsdnumber
summary.netFlowUsdnumberinflowUsd minus outflowUsd.
summary.volumeWithRiskUsdnumberSubset of totalVolumeUsd from transactions that touched a counterparty carrying at least one risk category.
summary.volumeWithRiskTxnCountnumberSubset of txnCount from transactions that touched a counterparty carrying at least one risk category.
summary.inflowWithRiskUsdnumberSubset of inflowUsd from transactions that touched a counterparty carrying at least one risk category.
summary.outflowWithRiskUsdnumberSubset of outflowUsd from transactions that touched a counterparty carrying at least one risk category.
summary.netFlowWithRiskUsdnumberinflowWithRiskUsd minus outflowWithRiskUsd.
summary.categoriesArray[AmlCategoryVolume]Volume and transaction count broken down by category. These rows are NOT additive — the same transfer can be counted under more than one category, including under both a parent category and one of its subcategories. Use totalVolumeUsd / volumeWithRiskUsd above for day totals; use these rows only to compare categories against each other.
summary.categories[].categorystringUsually a canonical category key from GET /aml/categories, but it can also be a raw vendor label — a subcategory (e.g. CEX under CEFI) or a value not yet mapped — so callers must not assume every value is a member of that list.
summary.categories[].volumeUsdnumber
summary.categories[].txnCountnumber
  • 400: The request’s query parameters failed validation
  • 401: Missing or invalid API key
  • 403: The organization does not have access to this endpoint.
  • 404: Resource not found
  • 405: HTTP method not supported

Request

Terminal window
curl -X GET "https://api.compliance.certik.com/organization/firms/example-firm/aml/summary?date=2026-07-30" \
-H "X-API-Key: YOUR_API_KEY" \
-H "X-API-Secret: YOUR_API_SECRET"

Response

{
"firmId": "yzilabs",
"date": "2026-07-30",
"summary": {
"totalVolumeUsd": 1299208.3440012897,
"txnCount": 21,
"inflowUsd": 1035699.649058127,
"outflowUsd": 263508.6949431628,
"netFlowUsd": 772190.9541149641,
"volumeWithRiskUsd": 220959.264039868,
"volumeWithRiskTxnCount": 1,
"inflowWithRiskUsd": 220959.264039868,
"outflowWithRiskUsd": 0,
"netFlowWithRiskUsd": 220959.264039868,
"categories": [
{
"category": "CEFI",
"volumeUsd": 1035699.649058127,
"txnCount": 2
},
{
"category": "CEX",
"volumeUsd": 1035699.649058127,
"txnCount": 2
},
{
"category": "SANCTIONED",
"volumeUsd": 220959.264039868,
"txnCount": 1
}
]
}
}