API access
Check a message, link or number from your own service.
One request returns a risk score, the warning signs behind it and plain-language advice. Use it to warn a customer before they tap a link, send money, or hand over a code.
Quick startAuthenticationResponseLimitsErrorsYour dataRequest access
Quick start
Send a POST to /api/check with a type and a value. Types are message, link and number. You can try it now with no key, at a low rate.
curl -X POST https://YOUR-CHECKAM-DOMAIN/api/check \
-H "content-type: application/json" \
-H "x-api-key: ck_live_..." \
-d '{ "type": "message",
"value": "You won 500,000! Send a processing fee of 2,500 to claim." }'
Authentication
Send your key in the x-api-key header. Keep it on your server, never in a web page or mobile app, because anyone who sees it can use your allowance. If a key leaks, ask us to revoke it and we will issue a new one.
Response
{
"ok": true,
"kind": "message", // message | link | phone
"score": 79, // 0 to 100, higher is riskier
"level": "high", // high | medium | low | unknown
"headline": "This looks like a scam",
"signals": [
{ "id": "prize", "label": "Says you won a prize you never entered for",
"weight": 40, "severity": "high", "why": "You cannot win a draw you did not enter..." }
],
"urls": [], // links found inside a message
"advice": [ "Do not send money or share any code..." ],
"disclaimer": "Checkam looks for known warning signs..."
}
- Link checks add
facts(the site's real destination after redirects, its age when the registry publishes it) andgood(reassuring signs). - Number checks return the normalised
e164number, itscountryand the count of communityreports. Include the country code, for example+234 803 123 4567. - A result is a set of warning signs, not a verdict. Show the
signalsandadviceto your customer, and do not block someone on a score alone.
Limits
| Caller | Allowance |
|---|---|
| No key | 30 checks a minute per person, for trying it out |
| With a key | 120 checks a minute per key. Need more? Tell us your volume in the request form. |
Messages can be up to 6,000 characters. Link checks visit the site, so they can take a few seconds.
Errors
| Status | Meaning |
|---|---|
400 | The type is not message, link or number. |
200 with "ok": false | The value could not be read, for example a message that is too short or a number without a country code. The error field says why. |
401 | The API key is missing, wrong or revoked. |
429 | Too many checks in a minute. Wait and retry. |
500 | Something went wrong on our side. Retry once, then tell us. |
What we keep about your calls
We count each call: its type, the risk level and score, which warning signs fired, which key made it and when. We do not store the message, link or number you send. See how we handle data. Do not send more personal information than you need to check a suspicious item.
Checkam is a free tool in active development. We make no uptime guarantee yet, and a clean result is never a promise that something is safe.
Request access
Tell us who you are and what you would build. We read every request, and send keys to the email you give us.