curl --request GET \
--url https://api.onswitch.xyz/compliance/aml/history \
--header 'x-service-key: <api-key>'{
"success": true,
"message": "AML lookup history fetched successfully",
"timestamp": "2026-05-13T22:06:37.088Z",
"data": {
"data": [
{
"status": "REJECTED",
"reference": "18a51cca-ed07-4a74-b1b7-03cceab33e23",
"details": {
"subject": {
"type": "INDIVIDUAL",
"country": "NG",
"name": "tinubu bola",
"is_sandbox": false
},
"matches": [
{
"certainty": 92,
"name": "Bola Ahmed Tinubu",
"source": "https://example.com/entities/ng-chip-pep-ng-0011663",
"flags": [
"PEP"
],
"last_updated": "2024-10-11T12:50:30"
},
{
"certainty": 83,
"name": "Bola Ahmed Tinubu Gcfr",
"source": "https://example.com/entities/unprot-0312b57d2eeec1382a57638aa4d0979eedecd04c",
"flags": [
"PEP"
],
"last_updated": "2026-04-26T13:01:02"
}
]
},
"created_at": "2026-05-13T21:44:33.170Z",
"updated_at": "2026-05-13T21:44:33.170Z"
}
],
"page": 1,
"limit": 10,
"total": 1,
"pages": 1
}
}Returns paginated previous AML lookup history.
curl --request GET \
--url https://api.onswitch.xyz/compliance/aml/history \
--header 'x-service-key: <api-key>'{
"success": true,
"message": "AML lookup history fetched successfully",
"timestamp": "2026-05-13T22:06:37.088Z",
"data": {
"data": [
{
"status": "REJECTED",
"reference": "18a51cca-ed07-4a74-b1b7-03cceab33e23",
"details": {
"subject": {
"type": "INDIVIDUAL",
"country": "NG",
"name": "tinubu bola",
"is_sandbox": false
},
"matches": [
{
"certainty": 92,
"name": "Bola Ahmed Tinubu",
"source": "https://example.com/entities/ng-chip-pep-ng-0011663",
"flags": [
"PEP"
],
"last_updated": "2024-10-11T12:50:30"
},
{
"certainty": 83,
"name": "Bola Ahmed Tinubu Gcfr",
"source": "https://example.com/entities/unprot-0312b57d2eeec1382a57638aa4d0979eedecd04c",
"flags": [
"PEP"
],
"last_updated": "2026-04-26T13:01:02"
}
]
},
"created_at": "2026-05-13T21:44:33.170Z",
"updated_at": "2026-05-13T21:44:33.170Z"
}
],
"page": 1,
"limit": 10,
"total": 1,
"pages": 1
}
}Documentation Index
Fetch the complete documentation index at: https://docs.onswitch.xyz/llms.txt
Use this file to discover all available pages before exploring further.
Service key for API authentication
Filter by status
PENDING, REJECTED, APPROVED, REVIEW Filter by category
INDIVIDUAL, BUSINESS, CRYPTO_WALLET Filter by reference
200Filter by start date e.g 2026-01-01
Filter by end date e.g 2026-01-01
Results page number. Default 1.
x >= 1Results per page. Default 10, maximum 100.
1 <= x <= 100AML lookup history retrieved successfully
Hide child attributes
Hide child attributes
KYC, KYB, AML INDIVIDUAL, BUSINESS, CRYPTO_WALLET, IDENTITY PENDING, REJECTED, APPROVED, REVIEW Hide child attributes
Hide child attributes
INDIVIDUAL, BUSINESS, CRYPTO_WALLET