Checks API
POST /v1/checks answers signals for an email, a phone number or an IP address. It scores nothing and creates no event, account or case, and the raw email, phone and IP are never echoed back. The one thing it may start is a mailbox probe for an email with no verdict yet (see mailbox). Use it when you need the signals themselves, not an allow / review / block decision.
It needs a secret key with the checks:read scope. Keys issued before this scope existed do not hold it; issue a new secret key.
POST /v1/checks
Authorization: Bearer ak_live_xxxxxxxxxxxxxxxxxxxxxx
Content-Type: application/json
{ "email": "maria@example.com", "phone": "+44 56 1234 5678", "ip": "185.220.101.1", "country": "UA" }
Send at least one of email, phone, ip. Add "score": true to also get a risk score. country (ISO 3166-1 alpha-2) is optional: it is used to read a phone number written without + and to compare the number's country with it. Unknown keys and unassigned country codes are refused with 400.
Signals
Every signal is true, false or "unknown". "unknown" means the check could not run (a list not loaded yet, a DNS failure, no data); it is never reported as false.
| Section | Field | Meaning |
|---|---|---|
email | disposable | Domain is on the disposable-email list (refreshed daily) or your project's block list |
mx_valid | Domain has at least one usable DNS MX record; an A record without MX is false | |
mx_status | Why mx_valid is what it is: mx, implicit (no MX but an address record, which mail can still reach; mx_valid stays false), null_mx (the domain declares it takes no mail), no_mail, no_domain or "unknown" | |
domain_typo | Domain is one or two keystrokes off a well-known mailbox provider (gmial.com, hotmail.co, gmail.con). A provider's own domain in another country (hotmail.com.au, yahoo.ro, yandex.ua) and real neighbouring providers (mail.com, ymail.com, gmx.com) are not flagged | |
domain_suggestion | The provider domain_typo points at, or null | |
mailbox | Verdict of an SMTP probe of the mailbox, sent without delivering anything: valid, invalid, disabled, full, catch_all (the domain accepts any address) or "unknown". pending means this call queued the probe; ask again a little later. Outlook.com / Hotmail, Yahoo, AOL and iCloud addresses are not probed and stay "unknown": their servers answer a probe the same way for a missing and a filtered mailbox | |
random_looking | Local part looks like a random character run; only true or "unknown" | |
machine_generated | Local part matches the unreadable-email heuristic: a long alternating letter/digit run, a consonant-heavy digit mix, or a bare 5–8 digit or 16+ digit number. Bare numbers of up to 4 digits and phone-shaped 9–15 digit values are false | |
malformed | Address is not a valid email; every other email signal is then "unknown" | |
domain_created_at | ISO registration timestamp of the registrable domain from RDAP, or null for a public free-mail domain, timeout, unavailable registry or missing registration event | |
domain_age_days | Whole days since domain_created_at, or null for the same skipped/unavailable cases | |
first_seen_at | Earliest ISO timestamp at which the network saw this email among participating tenants, including history a tenant imported from its previous provider; null means never seen, "unknown" means the lookup failed or is unavailable | |
other_operators | How many participating operators other than you have seen this email: a count, never which ones; "unknown" when the lookup failed | |
series_accounts | How many other accounts across all your projects used, in the last 30 days, an address with the same name apart from its digits (john1@, john2@), not counting this address itself. null when the address has no such series (fewer than four letters once digits are removed) or the lookup failed. Read from your own events received since this signal shipped; earlier traffic is not seen | |
series_sequential | true when three or more addresses of that series, this one included, carry numbers of the same width within 1000 of each other (name0209, name0309, name0409). Two birth years (name1990, name1991) do not trigger it. null when unknown | |
phone | valid | Number exists in the numbering plan |
line_type | mobile, fixed_line, voip, other or "unknown", from the number range | |
country | Country of the number (ISO-2), when valid | |
country_mismatch | Number's country differs from country; "unknown" for a number without + | |
carrier | Original carrier allocation from the Google libphonenumber prefix data, or null when no allocation is known | |
carrier_note | original_allocation when carrier is present; number portability means the current carrier may differ | |
first_seen_at | Earliest ISO timestamp at which the network saw this phone among participating tenants; null means never seen, "unknown" means the lookup failed or is unavailable | |
other_operators | How many participating operators other than you have seen this phone; "unknown" when the lookup failed | |
ip | country, region, city | IP geolocation |
location | MaxMind location object, or null when the City reader is not configured or the address is absent from its database | |
location.latitude, location.longitude | Coordinates; each is null when MaxMind has no value | |
location.accuracy_radius_km | Approximate coordinate accuracy radius in kilometres, or null | |
location.postal | Postal code, or null | |
location.time_zone | IANA time-zone name, or null | |
location.continent | MaxMind continent code, or null | |
location.is_eu | Whether MaxMind marks the country as an EU member, or null | |
country_info | { currency, calling_code } for a resolved country, otherwise null; currency is ISO 4217 and calling_code is digits without + | |
asn, asn_org, network | Autonomous system and the network the address belongs to | |
vpn | Address is on a VPN range list; independent of hosting | |
hosting | Address is on a data centre / hosting range list; independent of vpn, so both can be true | |
high_risk_isp | The address has a known AS and that AS operates listed VPN ranges; evaluated for every known AS, including VPN and hosting addresses | |
icloud_relay | Address is on Apple's iCloud Private Relay egress list; "unknown" means the weekly list is not loaded. This privacy signal never adds risk | |
blocklisted | Address matches at least one loaded threat blocklist; "unknown" means neither Spamhaus DROP nor Feodo is loaded | |
blocklists | Matching list names (spamhaus_drop, feodo); [] means no match or an unknown answer | |
open_proxy | Address matches IP2Proxy LITE public-proxy ranges; "unknown" means the token-backed dataset is not loaded | |
tor | Address is a Tor exit node (refreshed daily) | |
bogon | Private, reserved or otherwise non-routable address |
A section appears only for the identifier you sent. The route has its own per-key rate limit.
Risk score
With "score": true the response carries risk: a score from 0 to 100 and the reasons that added to it, highest first. It is computed only from the signals in the same response — no account history, no rules — so use POST /v1/events when you need a decision.
risk.breakdown lists the points each reason added, in the same order as reasons. The points add up to the score before it is capped at 100, so above the cap their sum is larger than score. When both series reasons fire, email.series adds 0 and email.series_sequential adds 30.
| Reason | Points |
|---|---|
email.malformed | 50 |
email.disposable | 40 |
email.mailbox_invalid | 40 |
email.mx_invalid | 30 |
email.domain_typo | 30 |
email.mailbox_disabled | 30 |
email.machine_generated | 25 |
email.new_domain | 20 |
email.series | 20 |
email.series_sequential | 30 |
email.random_looking | 15 |
email.mailbox_full | 10 |
phone.invalid | 30 |
phone.voip | 25 |
phone.country_mismatch | 15 |
ip.bogon | 50 |
ip.tor | 40 |
ip.blocklisted | 40 |
ip.vpn | 30 |
ip.hosting | 20 |
ip.high_risk_isp | 10 |
Points add up and stop at 100. A signal that is "unknown" adds nothing. email.series fires when series_accounts is 2 or more (this address is the third); when it fires together with email.series_sequential, the two add 30 between them, not 50.
Data attribution
Includes Spamhaus DROP data © The Spamhaus Project.
This site or product includes IP2Proxy LITE data available from https://lite.ip2location.com.
Carrier allocations are generated from Google libphonenumber data under Apache-2.0.
Usage
GET /v1/checks/usage?month=YYYY-MM (defaults to the current month, same checks:read scope) returns, per section (ip, email, phone, score), the number of checks, the unit price, the line total and the month total, in micro-euros and as a decimal euro string. A successful request with "score": true counts one score check, which includes the lookups it returned; without it, the request counts one check for every section it returned. Checks are counted per project of the API key. price_source is tenant for a negotiated tenant price and default otherwise. The statement uses the prices in force for the requested month: a later change applies from its own month and does not re-price an earlier one. Figures are refreshed hourly; as_of is the time of the last refresh.