- List assessments GET
- Assess an event POST
- Retrieve an assessment GET
- Report an assessment's outcome POST
- List allow and block list entries GET
- Add an allow or block list entry POST
- Retrieve a list entry GET
- Remove a list entry DELETE
- Forget a user DELETE
- Retrieve the risk settings GET
- Update the risk settings PATCH
- Retrieve the calibration GET
- List rules GET
- Create a rule POST
- Retrieve a rule GET
- Update a rule PATCH
- Delete a rule DELETE
- Check an email address POST
- Check an IP address POST
- Check a phone number POST
- Classify content POST
- Check a rate limit POST
- List rate limit buckets GET
- Create a rate limit bucket POST
- Retrieve a rate limit bucket GET
- Update a rate limit bucket PATCH
- Delete a rate limit bucket DELETE
Check an email address
Email intelligence on its own: syntax, disposable domains, whether the domain can receive mail (DNS), role accounts, free providers, the canonical mailbox, typo suggestions and the domain's age (RDAP). Stateless: nothing is stored or counted, so it never flags an address for having been seen before (assessments do). Failed lookups are listed in degraded. Sandbox keys see the documented test domains (@disposable.test, @undeliverable.test, @new.test).
bearerAuthAuthorizationBearer <token>A secret API key from the dashboard: coss_live_… for production environments, coss_test_… for sandbox environments.
Coss-Version?"2026-10-10"The API version (a date) to use for this request. Defaults to your organization's version, pinned to the latest one when it first used the API and upgraded from the dashboard. The SDK always sends the version it was built for.
"2026-10-10"application/json- body
- body
- …
email*stringThe address to check, as given.
1 <= length <= 320What coss.com knows about the address.
application/json- response
- response
- …
object*"risk_email_check""risk_email_check"email*stringThe address checked.
valid*booleanSyntactically valid (the rest assumes it is).
domain*|Its domain. null when it isn't valid.
canonical*|The mailbox with the provider's aliasing folded (dots and +tags at Gmail…): two addresses with the same canonical form reach one inbox.
disposable*booleanWhether its domain is a known burner service.
deliverability*stringFrom DNS (MX, A, AAAA). unknown when the lookup failed or timed out.
"deliverable""undeliverable""unknown"role_account*booleanWhether it's a role mailbox, like info@.
free_provider*booleanWhether its domain is a free mailbox provider.
suggestion*|The likely intended domain when this one looks like a typo of a popular one.
domain_age_days*|Days since the domain was registered (RDAP); null when unknown or not looked up (free providers, disposable domains).
degraded*array<>Lookups that failed or timed out (their fields are unknown/null).
import { Coss } from "coss";const coss = new Coss({ apiKey: process.env.COSS_API_KEY, baseUrl: "https://api.coss.com",});const { data, error } = await coss.risk.checkEmail("ada@gnail.com");{ "object": "risk_email_check", "email": "ada@gnail.com", "valid": true, "domain": "gnail.com", "canonical": "ada@gnail.com", "disposable": false, "deliverability": "deliverable", "role_account": false, "free_provider": false, "suggestion": "gmail.com", "domain_age_days": 7300, "degraded": []}