List AML categories
Summary
Section titled “Summary”Every canonical AML category — the reference data behind the category query parameter on the other AML endpoints. key is the stable identifier; read it from here rather than hardcoding category keys.
Request
Section titled “Request”- HTTP Method:
GET - Endpoint Path:
/organization/aml/categories
Response
Section titled “Response”Categories retrieved successfully
| Field | Type | Description |
|---|---|---|
categories | Array[AmlCategoryInfo] | |
categories[].key | string | |
categories[].label | string | English display name. |
categories[].risk | boolean | Whether this category signals risk (vs. a neutral entity type). |
categories[].subcategories | Array[string] | Finer-grained vendor labels that fold up into this category key. |
401: Missing or invalid API key403: The organization does not have access to this endpoint.405: HTTP method not supported
Example Code
Section titled “Example Code”Request
curl -X GET "https://api.compliance.certik.com/organization/aml/categories" \ -H "X-API-Key: YOUR_API_KEY" \ -H "X-API-Secret: YOUR_API_SECRET"Response
{ "categories": [ { "key": "SANCTIONED", "label": "Sanctioned", "risk": true, "subcategories": [] }, { "key": "HACK", "label": "Hack", "risk": true, "subcategories": [ "Malware", "Ransomware", "Private Key Compromise", "Contract Exploit" ] }, { "key": "CEFI", "label": "CeFi", "risk": false, "subcategories": [ "CEX", "Instant Swap", "OTC" ] } ]}