---
title: "likely_typo vs typosquat_mx: What Your Signup Form Should Do"
description: "Both reasons can carry a suggestion, but only typosquat_mx is undeliverable. Map each into Accept / Keep typed / block so a recoverable typo never looks like a hard bounce."
slug: "likely-typo-vs-typosquat-mx-at-signup"
date: 2026-12-01
updated: 2026-12-01
last_tested: 2026-12-01
summary: "Offer every non-null suggestion first. Treat likely_typo as a soft prompt on a deliverable domain; treat typosquat_mx as a correction-required undeliverable whose Keep typed path must still block."
cluster: "Signup flows"
intent: workflow
sources:
  - title: "nobounce.dev verdict taxonomy"
    url: "https://nobounce.dev/v1/config"
  - title: "nobounce.dev agent reference"
    url: "https://nobounce.dev/llms.txt"
  - title: "nobounce.dev OpenAPI specification"
    url: "https://nobounce.dev/openapi.json"
  - title: "RFC 5321 — SMTP address resolution and MX records"
    url: "https://www.rfc-editor.org/rfc/rfc5321.html#section-5.1"
  - title: "MDN — Using the Fetch API"
    url: "https://developer.mozilla.org/en-US/docs/Web/API/Fetch_API/Using_Fetch"
---

A signup form that collapses every non-`ok` reason into one red banner loses the product. `likely_typo` and `typosquat_mx` both often arrive with a `suggestion`, and both should open the same “Did you mean …?” UI — but they are not the same decision after the user clicks Keep typed.

This page is the wiring contract for that split. The edit-distance and MX-host engineering behind the reasons lives in [Suggest the Correction Instead of Rejecting the Signup](https://nobounce.dev/blog/suggest-the-correction-not-rejection/) and [MX Validation Does Not Catch the Typos That Matter](https://nobounce.dev/blog/mx-validation-misses-typo-domains/); here the question is only what the form stores and allows.

## Two fixtures, two stories

Frozen demo responses (fixture-only — not a production validator):

```bash
curl -X POST https://nobounce.dev/demo/check \
  -H 'Content-Type: application/json' \
  -d '{"email":"user@yahooo.com"}'
```

```json
{
  "verdict": "risky",
  "reason": "likely_typo",
  "suggestion": "user@yahoo.com",
  "confidence": 0.94,
  "checked": { "syntax": true, "mx": true, "typo": true, "disposable": true },
  "cached": false
}
```

```bash
curl -X POST https://nobounce.dev/demo/check \
  -H 'Content-Type: application/json' \
  -d '{"email":"user@gmai.com"}'
```

```json
{
  "verdict": "undeliverable",
  "reason": "typosquat_mx",
  "suggestion": "user@gmail.com",
  "confidence": 0.94,
  "checked": { "syntax": true, "mx": true, "typo": true, "disposable": true },
  "cached": false
}
```

| reason | verdict | DNS story | If the user keeps the typed address |
|---|---|---|---|
| `likely_typo` | `risky` | Domain resolves and can accept mail; edit distance says a popular neighbour is more likely | Allow submit; annotate `kept_typed` + reason |
| `typosquat_mx` | `undeliverable` | Domain resolves with healthy MX, but the exchanger is a known typo-collection host | Block submit; require Accept suggestion or a different address |

`user@uol.com` is the same soft class as `yahooo.com`: `risky` / `likely_typo` with suggestion `user@uol.com.br`. `user@hotmial.com` is the same hard class as `gmai.com`: `undeliverable` / `typosquat_mx` with a Hotmail correction. Re-check shapes against `GET https://nobounce.dev/v1/config` and the live demo corpus before you hard-code copy.

## Suggestion outranks the verdict — then branch on reason

The integration rule is unchanged: any non-null `suggestion` opens the correction UI, including `risky` + `likely_typo` and `unknown` + `dns_error` when a repair survives a degraded DNS check. Do not wait for `undeliverable` before prompting. Do not silently rewrite the field.

What changes is the Keep typed handler:

```js
function mapTypoResult(result) {
  if (!result) return { action: "unchecked" };
  if (result.suggestion) {
    return {
      action: "suggest",
      suggestion: result.suggestion,
      reason: result.reason,
      verdict: result.verdict,
      // Keep typed is allowed only when the typed domain is not a hard fail.
      allowKeepTyped: result.verdict !== "undeliverable",
    };
  }
  if (result.verdict === "undeliverable") {
    return { action: "reject", reason: result.reason };
  }
  return { action: "accept", reason: result.reason, verdict: result.verdict };
}
```

On Accept: write `suggestion` into the controlled input, clear the banner, mark the field ready, and record that a correction was taken. On Keep typed for `likely_typo`: mark ready with the original value and store `email_reason=likely_typo` so later bounce analysis can tell “user declined a soft prompt” from “we never checked.” On Keep typed for `typosquat_mx`: do nothing — leave the banner up and refuse submit. That is the whole product difference between the two reasons.

The React state machine that renders Accept / Keep typed without shipping the API key to the browser is in [Handle Email Validation Verdicts in a React Signup Form](https://nobounce.dev/blog/email-validation-verdicts-in-react-form/). This article only adds the `allowKeepTyped` gate those buttons must honour.

## Production call shape

```bash
curl -X POST https://nobounce.dev/v1/check \
  -H "Authorization: Bearer $NOBOUNCE_KEY" \
  -H 'Content-Type: application/json' \
  -d '{"email":"user@gmai.com"}'
```

Put the key in the `Authorization` header, never in a query string. There is no free tier: hobby is $1/mo for 1,000 live checks, pro $19/mo for 100,000, scale $99/mo for 1,500,000. Keys come from redeeming an operator-minted access code or paying self-serve on the Stripe card rail or the usevig stablecoin rail — both rails are live. Bound the request (~2s). A timeout or transport failure is `unchecked`, not a fabricated `typosquat_mx`.

`POST /demo/check` needs no key and is useful while you stub the UI, but it resolves a frozen corpus only. It cannot validate arbitrary real addresses; point the shipped form at your authenticated server route.

## Copy that matches the reason

- `likely_typo`: “Did you mean **user@yahoo.com**?” Secondary: “Keep what I typed.” Soft tone — the typed domain may be intentional.
- `typosquat_mx`: “That domain collects mail for lookalike addresses. Use **user@gmail.com**?” Secondary: none, or “Enter a different address.” Do not say “check your spelling” alone; the address may be spelled exactly as a typosquat registrar intended.
- Other undeliverables without a suggestion (`domain_not_found`, `null_mx`, `no_mx_no_a`): block with the reason, and offer a blank field — not a fake correction.

Log `verdict`, `reason`, `confidence`, and `checked.mx`. Do not log the submitted address or the suggestion string. nobounce never stores a plaintext address; anything persisted there is SHA-256, with domains in clear. Your app logs still need the same discipline.

nobounce does not perform SMTP RCPT TO probing and does not maintain a proprietary bounce database — both are permanently out of scope — so the form must not promise mailbox existence. `typosquat_mx` is an infrastructure fingerprint on the MX host, not proof that a specific local-part was tried at a remote server.

## Verify before merge

Drive the form (or stub the route) with:

1. `user@yahooo.com` → suggest UI; Keep typed enables submit; stored reason `likely_typo`.
2. `user@gmai.com` → suggest UI; Keep typed leaves submit disabled; Accept writes `user@gmail.com`.
3. `user@gmail.cm` → suggest UI on `domain_not_found`; Keep typed still blocked because verdict is `undeliverable`.
4. Timeout → submit enabled, `unchecked`, no typo banner.

If those four pass, the reason split is wired. For key acquisition, full verdict mapping, and the agent verification step, give your coding agent [/integrate.md](https://nobounce.dev/integrate.md).
