Skip to navigation

Spot checks

For manual crypto investigations, open Spot Checks → Wallet in the dashboard. Enter a wallet address for an on-demand risk result and case actions. Backend integrations can use the On-Demand Wallet Screening API. Transaction Monitoring uses the same engine to screen crypto counterparties automatically.

POST /api/v1/checks/individual
POST /api/v1/checks/business
GET /api/v1/checks/individual
GET /api/v1/checks/business
GET /api/v1/checks/individual/:id
GET /api/v1/checks/business/:id
POST /api/v1/checks/screening
GET /api/v1/checks/screening
GET /api/v1/checks/screening/:id

Run a one-off check without the SDK capture flow: verify a person’s ID number against the government database, or a business registration number against the registry. This is the server-to-server counterpart of the dashboard’s Spot Checks tabs — the same gates, pricing and sandbox behaviour, and the same history (API checks appear there labelled “API”).

Authentication: Authorization: Bearer sk_… (secret keys only, for the whole surface). Results carry PII, so this never belongs in client-side code. Production note: sk_live_ keys require an approved business. Sandbox and development checks are free and serve test data.

Checks run asynchronously: the submit returns 202 with a verificationId within milliseconds, and the result is ready seconds later on the detail endpoint.

Individual checks

POST /api/v1/checks/individual
FieldRequiredDescription
countryyesNG, GH, KE, ZA or CI (the government-database markets).
idTypeyesThe ID type, e.g. bvn, nin, passport. See Countries & ID types.
idNumberno*The ID number. Required for number-based IDs; a document ID may instead send the document front for extraction.
userDatanoDetails to validate against the government record: firstName, lastName, dateOfBirth.
mediaIdsnoPre-uploaded photos from POST /upload: documentFront, documentBack, selfie. A selfie adds a facial comparison: against the photo on the government record, or, for a document ID whose record has no photo, against the photo printed on the documentFront. See Comparing the selfie.
imagesnoThe same three slots inline instead of pre-uploaded: each an https URL, a data URI, or base64 — the same forms the face match endpoint takes. Send each slot as mediaIds or images, never both.
consentyesMust be true: you attest the person consented to the check.
requestIdnoYour idempotency key. A retry with the same value returns the same check instead of running (and billing) a second one. Recommended.
externalUserIdnoYour own reference for the person. A verified check is saved on the customer record with that reference.
createEntitynoDefaults to true: a verified check is saved as a customer record. Without externalUserId, it is saved on the record that already holds this ID number, or as a new record. Send false to keep the result in spot-check history only. If you later send the same ID number with your own reference (a verification, a check or the entity API), the record created here is renamed to that reference rather than duplicated.
screeningno{ "lists": ["sanctions", "pep", "adverse_media"] }: screen the person once the check verifies. See Screening a verified check.
livenessnotrue runs passive liveness on the selfie. See Liveness on the selfie.
curl -X POST https://api.toden.co/api/v1/checks/individual \
-H "Authorization: Bearer sk_live_…" \
-H "Content-Type: application/json" \
-d '{
"country": "NG",
"idType": "bvn",
"idNumber": "12345678901",
"userData": { "firstName": "John", "lastName": "Doe" },
"consent": true,
"requestId": "check-user-42-2026-08-20"
}'
# → 202 { "verificationId": "cmt…", "status": "pending" }

Then read the result:

GET /api/v1/checks/individual/:id
{
"check": {
"id": "cmt…",
"status": "verified",
"country": "NG",
"idType": "bvn",
"idNumber": "12345678901",
"result": {
"firstName": "JOHN",
"lastName": "DOE",
"dateOfBirth": "1990-01-01",
"dataMatch": true,
"facialMatch": { "match": true, "confidence": 85 }
},
"govRecord": { "…": "customer-safe record extract" },
"media": { "selfie": "https://api.toden.co/api/v1/verifications/…/media/selfie" },
"chargedAmount": "0.0500",
"createdAt": "…",
"completedAt": "…"
}
}

status is pending until processing finishes, then verified, failed, not_found or error with reason and a stable reasonCode. result is present on verified only.

Business checks

POST /api/v1/checks/business
FieldRequiredDescription
countryyesISO-2 country code (about 48 registry countries are supported).
registrationNumberyesThe registration number (e.g. RC123456).
registrationNamenoThe registered name, cross-checked against the registry when given.
subdivisionCodemaybeISO 3166-2 region (e.g. US-DE) — required for the countries whose registry is split by region (US, IN, CA, AE) and rejected elsewhere.
productnoThe check product; defaults to the standard business check. Nigeria adds tax-related products.
consentyesMust be true.
requestIdnoYour idempotency key, as above.
screeningno{ "lists": ["sanctions", "adverse_media"] }: screen the business once the check verifies. See Screening a verified check.
externalUserIdnoYour own reference for the business. A verified check is saved on the customer record with that reference.
createEntitynoDefaults to true: a verified check is saved as a customer record. Without externalUserId, it is saved on the record that already holds this registration number, or as a new record. Send false to keep the result in spot-check history only. If you later send the same ID number with your own reference (a verification, a check or the entity API), the record created here is renamed to that reference rather than duplicated.
sandboxOutcomenoverified or not_found — pins the canned result outside production. Silently ignored on live keys.

The detail (GET /api/v1/checks/business/:id) returns the registry’s answer as businessRecord: company particulars, status, share capital and key personnel in a customer-safe extract, plus businessName, the product, and the region the registry was asked about.

Screening a verified check

Send screening with an individual or business check to screen its subject once the check verifies: { "screening": { "lists": ["sanctions", "pep", "adverse_media"] } }. The name on the government or business record is screened (with the date of birth and nationality for a person, the country and registration number for a business), so you do not need to know the name when you submit. A business takes sanctions and adverse_media only. Each list is charged at your screening price, in production only. A check that does not verify is not screened.

The detail endpoint returns it as screeningChecks: requested (the lists you sent) and checks (each screening check run for this check, in the shape described below). checks is empty for the few seconds the screening takes after the check verifies.

Comparing the selfie

A selfie is compared with the strongest photo the check has: the photo on the government record, or, for a document ID (a passport, a driver’s licence, a national ID card) whose record has no photo or whose lookup does not run, the photo printed on the documentFront. It is one facial comparison either way, charged at your facial comparison price.

  • The result’s facialMatchSource says which photo it was: gov_record or document.
  • A face that does not match fails the check.
  • When the printed photo is the only one to compare with and no face can be read on it (glare, a thumb over it, a photo too small to see), the check fails with reasonCode document_photo_no_face and facialMatchSkipped no_face_on_document. Photograph the document again.
  • A printed photo is weaker evidence than a record photo: a forged card carries the forger’s face. A match does not prove the document is genuine.

Liveness on the selfie

Send "liveness": true with an individual check that has a selfie to check that the selfie is a live person in front of the camera, not a printed photo, a screen or a mask. It is the same passive liveness model a verification runs, on the one photo. It is charged as one passive liveness check at your Verifications price, in production only; sandbox and development checks are free and still run the real model.

  • A confident spoof, or a phone held up to the camera, fails the check with reasonCode liveness_attack.
  • A weaker reading of a spoof is reported but does not fail the check: look at liveness.result and liveness.score.
  • A selfie with no readable face reads unverified and does not fail the check.

The detail endpoint returns it as liveness: result (live, attack or unverified), score (1 to 100; under 20 fails, under 50 is borderline) and checkedAt. It is null when liveness was not sent. Without a selfie the request is refused with invalid_input; where liveness is not switched on for your organisation it is checks_unavailable (403), and where the model is not available it is liveness_unavailable (503), with nothing charged. To check a selfie with no ID, use the liveness check.

Screening checks

POST /api/v1/checks/screening

Screen a person or a business against sanctions, politically exposed persons (PEP) and adverse media lists, with no ID number and no verification. The answer comes back in the same response, and every check is kept in your screening history. Send your reference to save the subject to your customers.

FieldRequiredDescription
subject.typeyesindividual or business.
subject.nameyesThe full name to screen.
subject.dateOfBirthnoA person only, YYYY-MM-DD. Narrows the matches.
subject.countrynoNationality for a person, country of registration for a business (ISO-2). Narrows the matches.
subject.registrationNumbernoA business only.
listsnoAny of sanctions, pep, adverse_media. Leave out to screen every list that applies. A business takes sanctions and adverse_media only: PEP lists hold people.
requestIdnoYour idempotency key. A retry returns the same check with replayed: true, and is neither screened nor charged again.
externalUserIdnoYour reference. The check is saved on your customer with this reference, or on a new customer created under it. An existing customer’s details are never changed by a screening.
createEntitynoLeft out, the subject is saved to your customers only when you send externalUserId. true without a reference saves it as a new customer under a generated reference; false keeps the check in your screening history only. Saving is free; a customer created this way is enrolled in ongoing screening by your organisation’s screening settings, like any new customer.
curl -X POST https://api.toden.co/api/v1/checks/screening \
-H "Authorization: Bearer sk_live_…" -H "Content-Type: application/json" \
-d '{ "subject": { "type": "individual", "name": "Jane Doe", "dateOfBirth": "1980-04-12", "country": "NG" }, "requestId": "screen-7f3a9c21" }'
# → 201 { "id": "scc_…", "status": "clear", "lists": [ { "list": "sanctions", "status": "clear", "matches": [] }, … ], "charged": "0.1500" }

status is clear when every list answered with no match, potential_match when any list found a possible match, and incomplete when a list could not be checked and nothing matched. A list that could not be checked reads unavailable and is never reported as clear. Each match has a score from 0 to 100 (how closely the record matches what you sent) and what a reviewer needs to judge it: the listed name and the name that matched, topics (why it is listed, for example sanction, role.pep, crime.fraud, wanted), positions held, sanctions programmes, every list it is on (datasets), aliases, dates and places of birth, nationalities, the record’s own description, source links, when it was first and last seen, and birthDateConflict when its birth year differs from the one you sent. A possible match is never a finding until someone reviews it.

Deciding on a match: PATCH /api/v1/checks/screening/{id}/matches/review with { "list": "pep", "matchKey": "<the match's key>", "status": "confirmed" } records your decision: confirmed (it is the subject), false_positive (it is someone else) or unreviewed (take it back), with an optional note. Each match then carries its review, and the check’s review.state reads confirmed once any match is confirmed and cleared once every match is a false positive. The same decisions can be made in the dashboard.

Billing: charged once per check, at your screening price for one list, whether you screen one list or all of them. A check where no list could be checked is not charged, and a check your balance cannot cover is refused with 402 before anything is screened. Outside production, the screening test names give a fixed result on each list; any other name gets a sandbox answer (a name containing sanction, pep, adverse or watchlist returns a potential match, any other is clear) unless Toden has switched on real screening for your sandbox. Test checks are free.

To keep watching someone after a check, save them as a customer: ongoing screening re-screens customer records and raises an alert when something changes.

History

GET /api/v1/checks/individual
GET /api/v1/checks/business
GET /api/v1/checks/screening

Paginated, newest first, scoped to your organisation and the key’s environment. Query parameters: status (pending / verified / failed / not_found / error), country, idType (individual) or product (business), from / to (ISO dates), page, pageSize (max 100). Rows are light — identifiers, status, cost, timestamps and initiatedVia (api or dashboard) — with the full result on the detail endpoints.

A check you no longer want in your history can be removed with DELETE /api/v1/checks/individual/:id, DELETE /api/v1/checks/business/:id or DELETE /api/v1/checks/screening/:id. See Delete records: the delete is soft, and a check that is still running is refused with 409 check_in_progress.

Errors

StatusCodeMeaning
400invalid_inputThe body failed validation, or a slot was sent both as mediaIds and images.
400product_unsupportedThat product is not offered for the country.
400subdivision_required / subdivision_unsupported / subdivision_unknownThe registry-region rule above.
400invalid_image / unsupported_media_type / image_too_large / image_url_not_allowed / image_fetch_failedAn inline image problem — same rules as face match.
402insufficient_creditsYour balance cannot cover the check.
403screening_checks_unavailableScreening checks are not yet available to your organisation.
409request_id_reused / screening_in_progressA screening requestId was used for something else, or that check is still running.
503screening_unavailableThe screening provider is not available; nothing was screened or charged.
403spot_checks_disabled / business_checks_disabledThe module is not enabled for your organisation.
403id_type_not_enabledThe ID type is not granted to your organisation, or the required feature is disabled.
403spot_check_unavailableThe ID type is temporarily switched off for spot checks.
403secret_key_requiredA publishable key was used; this surface is secret-key only.
403business_not_approvedA live key before KYB approval.
422only_test_ids_allowedA sandbox key sent a real ID number; use the published test IDs.
429rate_limitedThe hourly verification cap was reached; retry later.