Skip to main content

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.

SectionFieldMeaning
emaildisposableDomain is on the disposable-email list (refreshed daily) or your project's block list
mx_validDomain has at least one usable DNS MX record; an A record without MX is false
mx_statusWhy 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_typoDomain 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_suggestionThe provider domain_typo points at, or null
mailboxVerdict 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_lookingLocal part looks like a random character run; only true or "unknown"
machine_generatedLocal 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
malformedAddress is not a valid email; every other email signal is then "unknown"
domain_created_atISO 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_daysWhole days since domain_created_at, or null for the same skipped/unavailable cases
first_seen_atEarliest 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_operatorsHow many participating operators other than you have seen this email: a count, never which ones; "unknown" when the lookup failed
series_accountsHow 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_sequentialtrue 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
phonevalidNumber exists in the numbering plan
line_typemobile, fixed_line, voip, other or "unknown", from the number range
countryCountry of the number (ISO-2), when valid
country_mismatchNumber's country differs from country; "unknown" for a number without +
carrierOriginal carrier allocation from the Google libphonenumber prefix data, or null when no allocation is known
carrier_noteoriginal_allocation when carrier is present; number portability means the current carrier may differ
first_seen_atEarliest 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_operatorsHow many participating operators other than you have seen this phone; "unknown" when the lookup failed
ipcountry, region, cityIP geolocation
locationMaxMind location object, or null when the City reader is not configured or the address is absent from its database
location.latitude, location.longitudeCoordinates; each is null when MaxMind has no value
location.accuracy_radius_kmApproximate coordinate accuracy radius in kilometres, or null
location.postalPostal code, or null
location.time_zoneIANA time-zone name, or null
location.continentMaxMind continent code, or null
location.is_euWhether 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, networkAutonomous system and the network the address belongs to
vpnAddress is on a VPN range list; independent of hosting
hostingAddress is on a data centre / hosting range list; independent of vpn, so both can be true
high_risk_ispThe address has a known AS and that AS operates listed VPN ranges; evaluated for every known AS, including VPN and hosting addresses
icloud_relayAddress is on Apple's iCloud Private Relay egress list; "unknown" means the weekly list is not loaded. This privacy signal never adds risk
blocklistedAddress matches at least one loaded threat blocklist; "unknown" means neither Spamhaus DROP nor Feodo is loaded
blocklistsMatching list names (spamhaus_drop, feodo); [] means no match or an unknown answer
open_proxyAddress matches IP2Proxy LITE public-proxy ranges; "unknown" means the token-backed dataset is not loaded
torAddress is a Tor exit node (refreshed daily)
bogonPrivate, 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.

ReasonPoints
email.malformed50
email.disposable40
email.mailbox_invalid40
email.mx_invalid30
email.domain_typo30
email.mailbox_disabled30
email.machine_generated25
email.new_domain20
email.series20
email.series_sequential30
email.random_looking15
email.mailbox_full10
phone.invalid30
phone.voip25
phone.country_mismatch15
ip.bogon50
ip.tor40
ip.blocklisted40
ip.vpn30
ip.hosting20
ip.high_risk_isp10

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.