Get firm AML daily summary
Summary
Section titled “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.
Request
Section titled “Request”- HTTP Method:
GET - Endpoint Path:
/organization/firms/{firmId}/aml/summary
| Parameter | Location | Type | Required | Description |
|---|---|---|---|---|
firmId | path | string | Yes | Id of a firm your organization monitors. |
date | query | string | Yes | UTC 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. |
Response
Section titled “Response”Summary retrieved successfully
| Field | Type | Description |
|---|---|---|
firmId | string | |
date | string | |
summary | AmlSummary | Daily 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.totalVolumeUsd | number | Total USD volume (inflow + outflow) for the day. |
summary.txnCount | number | Total transaction count for the day. |
summary.inflowUsd | number | |
summary.outflowUsd | number | |
summary.netFlowUsd | number | inflowUsd minus outflowUsd. |
summary.volumeWithRiskUsd | number | Subset of totalVolumeUsd from transactions that touched a counterparty carrying at least one risk category. |
summary.volumeWithRiskTxnCount | number | Subset of txnCount from transactions that touched a counterparty carrying at least one risk category. |
summary.inflowWithRiskUsd | number | Subset of inflowUsd from transactions that touched a counterparty carrying at least one risk category. |
summary.outflowWithRiskUsd | number | Subset of outflowUsd from transactions that touched a counterparty carrying at least one risk category. |
summary.netFlowWithRiskUsd | number | inflowWithRiskUsd minus outflowWithRiskUsd. |
summary.categories | Array[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[].category | string | Usually 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[].volumeUsd | number | |
summary.categories[].txnCount | number |
400: The request’s query parameters failed validation401: Missing or invalid API key403: The organization does not have access to this endpoint.404: Resource not found405: HTTP method not supported
Example Code
Section titled “Example Code”Request
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 } ] }}