> Toden documentation. For the full index fetch /llms.txt. Every page is available as Markdown by appending .md to its URL. Every endpoint is under /api/v1. Identity verification and Risk Intelligence are separate contracts there with different error shapes; /api/kyc and /api/identity are older prefixes that still answer the same. Never invent an endpoint, field or enum value: read the API reference page for the operation first.

# Email check

> POST /checks/email: check an email address for risk on its own, with no code sent and no verification.

```
POST   /api/v1/checks/email
GET    /api/v1/checks/email
GET    /api/v1/checks/email/:id
DELETE /api/v1/checks/email/:id
```

Check an email address for risk without sending it anything. The answer comes back in the same response: a score from 0 to 100, the reasons behind it, and the facts a reviewer needs. It is the same check Spot Checks runs from the dashboard (**Spot Checks → Individual → Email**), and every check is kept in the same history (checks run here are labelled "API").

**Authentication:** `Authorization: Bearer sk_…` (**secret keys only**). Results carry personal data, so this never belongs in client-side code.

## What is checked

* **Throwaway services.** The domain is checked against public lists and Toden's own list of disposable email services, and against the mail servers those services run on, which catches new domains no list has yet.
* **Mail server.** Whether the domain publishes a mail server (MX record) at all. A domain that definitively takes no mail cannot receive anything you send.
* **Domain age.** How many days ago the domain was registered, from the registry itself. A domain registered days ago is how throwaway services stay ahead of every list. Not looked up for free providers such as Gmail, privacy relays or known throwaway domains, where it says nothing new.
* **The address itself.** A team or function mailbox (`info@`, `support@`) rather than one person's, and a name that looks generated by a machine (`x7k2m9q4z1@`). Names with a birth year and phone numbers used as the address are not machine-made.
* **Reuse.** Your earlier verifications that proved the same inbox, how many different people they were and how many were declined. A `+tag` and Gmail dots are the same inbox. Also how many **other organisations** declined this inbox for fraud: a count only, never which organisation, verification or reason.
* **Breach history**, where Toden offers it: how many known data breaches include the address, since when, and whether a password was exposed. A real inbox collects breaches over the years; a fresh one has none.

## Run a check

| Field       | Required | Description                                                                                                                                                |
| ----------- | -------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `email`     | yes      | The address to check, at most 254 characters. Case and surrounding spaces are ignored.                                                                     |
| `requestId` | yes      | Your idempotency key, 8 to 120 characters. A retry with the same value returns the same check with `replayed: true`, and is neither run nor charged again. |

```bash
curl -X POST https://api.toden.co/api/v1/checks/email \
  -H "Authorization: Bearer sk_test_…" \
  -H "Content-Type: application/json" \
  -d '{ "email": "jane@disposable.example", "requestId": "email-check-7f3a9c21" }'
```

This sandbox example uses one of the [test addresses](#testing), so it answers with fixed facts and is not charged.

```json
{
  "id": "chk_4f1c0e9a7b2d4c6e8a1b3d5f7e9c2a40",
  "kind": "email",
  "outcome": "fail",
  "subject": "jane@disposable.example",
  "input": { "email": "jane@disposable.example" },
  "result": {
    "email": "jane@disposable.example",
    "domain": "disposable.example",
    "score": 80,
    "level": "high",
    "reasons": ["disposable_mail_server", "new_domain"],
    "deliverable": true,
    "mxFound": true,
    "disposable": true,
    "freeProvider": false,
    "privacyRelay": false,
    "role": false,
    "machineMade": false,
    "domainAgeDays": 3,
    "breach": null,
    "reuse": { "verifications": 0, "people": 0, "declined": 0, "otherOrganisationsFraud": 0 },
    "testData": true
  },
  "failureCode": null,
  "charged": null,
  "entityId": null,
  "channel": "api",
  "createdAt": "2026-11-20T10:14:03.000Z",
  "completedAt": "2026-11-20T10:14:04.000Z",
  "replayed": false
}
```

A new check answers `201`; a retry with the same `requestId` answers `200` with the check already run.

## Outcomes

The score's level decides the outcome:

| Level    | Score      | Outcome  |
| -------- | ---------- | -------- |
| `low`    | below 30   | `pass`   |
| `medium` | 30 to 59   | `review` |
| `high`   | 60 or more | `fail`   |

An address whose domain definitively takes no mail (`deliverable: false`) is at least `review`, whatever its score: nothing you send to it will arrive. A DNS answer that did not come in time (`deliverable: null`) never counts against the address.

`unavailable` means the check could not be completed. It was not charged and is never a pass; run it again with a new `requestId`.

## The result

| Field                           | Description                                                                                                                                                                                                            |
| ------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `email`                         | The address checked, in lower case.                                                                                                                                                                                    |
| `domain`                        | Its domain.                                                                                                                                                                                                            |
| `score`                         | 0 to 100. 0 means nothing was found.                                                                                                                                                                                   |
| `level`                         | `low`, `medium` or `high`.                                                                                                                                                                                             |
| `reasons`                       | Why points were added, strongest first. See [Reasons](#reasons).                                                                                                                                                       |
| `deliverable`                   | `false` when the domain definitively takes no mail, `true` when a mail server was found, `null` when DNS did not answer in time.                                                                                       |
| `mxFound`                       | A mail server (MX record) was found for the domain; `null` when DNS did not answer in time.                                                                                                                            |
| `disposable`                    | A throwaway email service: on a list, or its mail runs on a throwaway service's servers.                                                                                                                               |
| `freeProvider`                  | A free consumer mailbox such as Gmail. Most real people use one, so it adds nothing to the score.                                                                                                                      |
| `privacyRelay`                  | A privacy relay such as Hide My Email or DuckDuckGo, which forwards to a real inbox. Never counted as disposable.                                                                                                      |
| `role`                          | A team or function mailbox such as `info@` or `support@`.                                                                                                                                                              |
| `machineMade`                   | The part before the @ looks generated by a machine rather than chosen by a person.                                                                                                                                     |
| `domainAgeDays`                 | Days since the domain was registered. `null` when the registry does not say, or when it was not looked up.                                                                                                             |
| `breach`                        | The breach history, or `null` when no lookup ran: `breached`, `count`, `firstYear`, `latestYear`, `passwordsExposed`, and up to five `breaches` (newest first), each with `name`, `year`, `dataTypes` and `passwords`. |
| `reuse.verifications`           | Your verifications, in this environment, that proved this inbox.                                                                                                                                                       |
| `reuse.people`                  | How many different people those were, by your reference or their ID number.                                                                                                                                            |
| `reuse.declined`                | How many of those verifications were declined.                                                                                                                                                                         |
| `reuse.otherOrganisationsFraud` | Other organisations, in this environment, that declined this inbox for fraud. Never which.                                                                                                                             |
| `testData`                      | Some of the answer came from Toden's fixed test data (outside production only).                                                                                                                                        |

New fields may be added to `result`; existing ones are never renamed.

### Reasons

| Reason                   | Points | Meaning                                                                                                                                        |
| ------------------------ | ------ | ---------------------------------------------------------------------------------------------------------------------------------------------- |
| `disposable_domain`      | 60     | The domain is on a list of throwaway services.                                                                                                 |
| `disposable_mail_server` | 60     | The domain's mail runs on a throwaway service's servers. With `disposable_domain`, it counts once.                                             |
| `cross_org_fraud`        | 30     | Another organisation declined this inbox for fraud.                                                                                            |
| `shared_inbox`           | 25     | Two or more different people proved this inbox in your verifications. One earlier person is not enough: it may be the person you are checking. |
| `new_domain`             | 20     | The domain was registered less than 30 days ago.                                                                                               |
| `linked_to_declined`     | 15     | A verification that proved this inbox was declined.                                                                                            |
| `no_breach_history`      | 15     | The breach lookup found no history at all.                                                                                                     |
| `machine_made`           | 10     | The name looks generated by a machine.                                                                                                         |
| `role_address`           | 10     | A team or function mailbox.                                                                                                                    |
| `recent_password_breach` | 10     | A breach in the last 2 years exposed a password.                                                                                               |
| `privacy_relay`          | 5      | A privacy relay.                                                                                                                               |
| `long_breach_history`    | −15    | Breaches going back 5 years or more: a lasting inbox. The only reason that lowers the score.                                                   |

The score is capped at 100 and never goes below 0. New reasons may be added.

## Social footprint

Send `"socialFootprint": true` to also see where the address is registered: the public profiles and services it has accounts on, with any names and photos published there. It is returned as `result.socialFootprint`, and it never changes the score or the outcome: plenty of genuine people have no footprint, and a long one mostly says the address is real and has been used for years.

It looks at public sources only: public profiles published for the address (with the accounts the person linked to them), accounts registered with it, and, where Toden offers the breach history, each breached service it was found in. Private services such as email providers and banks are never asked. When a source could not be asked or did not answer, `complete` is `false`, so a platform missing from the list may still have the address.

```json
"socialFootprint": {
  "complete": true,
  "platforms": [
    { "key": "x", "label": "X", "kind": "profile", "url": "https://x.com/janedoe", "username": "janedoe", "since": null },
    { "key": "adobe", "label": "Adobe", "kind": "breach", "url": null, "username": null, "since": "2013" }
  ],
  "names": ["Jane Doe"],
  "photos": [{ "url": "https://…" }],
  "testData": false,
  "checkedAt": "2026-11-20T12:00:00.000Z"
}
```

## History

`GET /api/v1/checks/email` lists your email checks in this environment, newest first, with `outcome`, `page` and `pageSize` (at most 100) as filters. `GET /api/v1/checks/email/:id` returns one check. `DELETE /api/v1/checks/email/:id` removes it from your history; the delete is soft and nothing is refunded.

## Billing

Each check is charged at your email check price, in production only. The social footprint is charged on top, at your social footprint price (\$0.02 a check unless your agreement says otherwise), and refunded on its own when no source could be asked. A check that could not be completed (`unavailable`) is not charged, and a retry with the same `requestId` is never charged again. Sandbox and development checks are free.

## Testing

Outside production, any address is checked for real at no charge. These addresses, on domains reserved for testing, answer with fixed facts so you can see every outcome with the same answer every time. The address itself (a team mailbox, a machine-made name) and the reuse counts are still read for real.

| Address                   | Facts                                                    | Outcome                  |
| ------------------------- | -------------------------------------------------------- | ------------------------ |
| `jane@low.example`        | A mail server, a domain registered 10 years ago.         | `pass` (low)             |
| `jane@new.example`        | A mail server, a domain registered 3 days ago.           | `pass` (low, 20)         |
| `admin@new.example`       | The same, as a team mailbox.                             | `review` (medium, 30)    |
| `jane@disposable.example` | A throwaway mail server, a domain registered 3 days ago. | `fail` (high, 80)        |
| `jane@nomail.example`     | No mail server.                                          | `review` (undeliverable) |

With `socialFootprint`, `jane@low.example` has a footprint (a public profile for Jane Doe with accounts on three platforms, one from 2014) and the other test addresses have none; the photo is a generic placeholder, never a real face. Any other address is looked up for real, outside production as in it.

Real throwaway domains such as `mailinator.com` are also found outside production. Where Toden offers the breach history, outside production it is fixed test data chosen by a `+tag`: `jane+breached@low.example` has a recent breach that exposed a password, `jane+nobreach@low.example` has no history at all, and any other address has two old breaches.

## Errors

| Error                  | Status | Meaning                                                                                                       |
| ---------------------- | ------ | ------------------------------------------------------------------------------------------------------------- |
| `invalid_input`        | 400    | `email` is missing or not an email address, or the `requestId` is missing or malformed. `message` says which. |
| `insufficient_credits` | 402    | Your balance cannot cover the check. Nothing was run or charged.                                              |
| `checks_unavailable`   | 403    | These checks are not switched on for your organisation yet.                                                   |
| `spot_checks_disabled` | 403    | Spot checks are not enabled for your organisation.                                                            |
| `request_id_reused`    | 409    | The `requestId` was used for a different check.                                                               |
| `check_in_progress`    | 409    | A check with this `requestId` is still running.                                                               |