Signup validation answers whether an address looks usable. Pre-send risk answers whether this account's history recommends allow, hold, or block. Neither endpoint can invent history on its own. History arrives only when your application reports verified outcomes — and those reports must never include the address.

That is the contract behind POST /v1/feedback and POST /v1/feedback/bulk: hashes and bounded event names only. The plaintext address stays in your application. Domains may be stored in clear because they are not personal data; anything else persisted is SHA-256.

Hash before you talk to nobounce

Normalise once, then digest. The canonical form is SHA-256 of trim().toLowerCase() of the confirmed address. A mixed-case input must produce the same digest every time, or later decisions will miss the restriction you just wrote.

import { createHash } from "node:crypto";

export const addressHash = (address) =>
  createHash("sha256").update(address.trim().toLowerCase()).digest("hex");
HASH=$(printf '%s' 'User@Gmail.com' | tr '[:upper:]' '[:lower:]' | sha256sum | cut -d' ' -f1)
# 02ee7bdc4ccf5c94808a0118eb531822f13e7e38e3810ab29ebefb2c2feb8e58

If you need the same normalisation applied server-side without persisting anything, POST /v1/hash computes the digest in memory and returns it. It needs no API key. Prefer hashing locally in production so the address never leaves your process just to obtain a digest.

Live feedback writes require a paid key. There is no free tier: hobby is $1/mo for 1,000 checks/mo, pro $19/mo for 100,000, and scale $99/mo for 1,500,000. Obtain a key by redeeming an operator-minted access code or paying self-serve through Stripe cards or usevig stablecoins. Put the key in the Authorization header, never a URL or query parameter.

Prefer typed events over the legacy three

The legacy shape still works: {"email_hash":"...","event":"bounced"} (or delivered / opened). Defaults fill in reason and receipt time. Compatibility is not the reliable report. Without a stable event_id and an actual occurred_at, duplicates and late arrivals lack source identity.

Typed events require email_hash, event, reason, occurred_at (Unix seconds), and event_id (SHA-256 of a stable source identity — never the raw provider message ID). Unknown field names are rejected. Send JSON integers for timestamps, not ISO strings.

curl -sS https://nobounce.dev/v1/feedback \
  -H "Authorization: Bearer $NOBOUNCE_KEY" \
  -H 'Content-Type: application/json' \
  -H "Idempotency-Key: $FEEDBACK_RETRY_KEY" \
  -d "{
    \"email_hash\":\"$HASH\",
    \"event\":\"hard_bounce\",
    \"reason\":\"mailbox_not_found\",
    \"event_id\":\"$EVENT_ID_HEX\",
    \"occurred_at\":1764028800,
    \"final\":true,
    \"sending_domain\":\"mail.example.app\",
    \"scope\":\"account\",
    \"source\":\"customer\"
  }"
Event What it does Common trap
hard_bounce Persistent block; needs final:true and account scope with confirmed recipient evidence Treating a greylist 4xx as a hard failure
soft_bounce / temporary_failure / unknown_failure Temporary hold (mailbox_full 24h; temporary/policy 1h; throttled/unknown 15m) Promoting a temporary hold into a permanent suppression
provider_suppressed Block until the provider's real expires_at or a verified clear Guessing expiration, or sending final:true
complaint / unsubscribe Persistent block (unsubscribe is marketing-scoped) Expecting a later delivered to erase them
delivered Verified final outcome when final:true Reporting provider API acceptance or queued status
restriction_cleared Clears one target kind after independent verification Reusing the original restriction's event_id

Legacy bounced is an unknown temporary hold, never a permanent hard suppression. opened is not final delivery and rejects final:true. Delivered and opened do not clear restrictions — a newer explicit restriction_cleared with reason: "confirmed_recovery" is required for persistent kinds.

Bulk is atomic; quota is separate

POST /v1/feedback/bulk accepts {"events":[...]} with 1–100 events and at most 64 KiB. One invalid event or conflicting event_id rolls back the entire batch. Identical IDs deduplicate across single and bulk; a changed payload with the same ID returns 409.

Feedback consumes no /v1/check quota. Unique records use a separate monthly allowance of twenty times included checks (including overrides). Duplicates consume no new feedback unit. GET /v1/me reports feedback usage separately. Limits are 5,000 feedback entries and 600 transport requests per account per minute. Reuse Idempotency-Key for exact transport retries of the same body; a changed body needs a new key. The same replay rules that protect signup checks apply here — see Retry Email Validation Without Spending Quota Twice.

export async function reportHardBounce({ address, eventIdHex, occurredAt, sendingDomain }) {
  const email_hash = addressHash(address);
  const body = {
    email_hash,
    event: "hard_bounce",
    reason: "mailbox_not_found",
    event_id: eventIdHex,
    occurred_at: occurredAt,
    final: true,
    sending_domain: sendingDomain,
    scope: "account",
    source: "customer",
  };

  const response = await fetch("https://nobounce.dev/v1/feedback", {
    method: "POST",
    headers: {
      Authorization: `Bearer ${process.env.NOBOUNCE_KEY}`,
      "Content-Type": "application/json",
      "Idempotency-Key": eventIdHex.slice(0, 128),
    },
    body: JSON.stringify(body),
    signal: AbortSignal.timeout(5000),
  });
  if (!response.ok) throw new Error(`feedback_failed:${response.status}`);
  return response.json();
}

Keep addresses, raw provider payloads, and suggestion strings out of analytics and retry logs. Suggestions contain addresses.

What this is not

Hash-only feedback is account-local history for your senders. It is not SMTP RCPT TO probing and not a purchased bounce database — both remain permanently out of scope, for the reasons in Why nobounce Will Never Do SMTP RCPT TO Probing. Cold history returns allow / history_unknown on pre-send decisions until real feedback arrives; that emptiness is not mailbox proof.

Report only evidence you have verified. Provider API acceptance is not delivered. An incomplete or missing import feed is not a reason to clear local suppressions. Clear each independently verified kind separately, with a new recovery event_id, after your own confirmation — not after a hopeful open or a queued send.

The field tables, reason vocabulary, and owner brief live at /send.md. For signup wiring and the four-verdict map, give an agent /integrate.md.