Docs

Install SignupBouncer in Supabase, Ory or Keycloak, or call the REST API from your own code.

Get a key

Sign up with an email address and a password. The Free plan needs no card. The Supabase hook needs no API key, only the hook URL and, once you confirm your address, the hook secret on the Integration tab.

For the REST API, the owner confirms the address, then chooses "Create API key" on the Integration tab. Each key belongs to one app, and we log its checks under that app. We show the key (sb_live_...) once, because we store only a hash of it.

Save the key in your server's environment as SIGNUPBOUNCER_API_KEY. When you choose "Rotate", we make a replacement and keep the old key working for 24 hours, so you can deploy the new one first.

Install in Supabase

Supabase calls a hook on email, phone and OAuth signups before it creates the user. You paste our hook URL and hook secret into Supabase and change no app code.

Install in Supabase, check it works, and turn it off

What your users see

In enforce mode, Supabase shows your block message as the signup error. While you keep our default message, we word it for the reason.

What Supabase users see when we refuse them

Install in Ory

Ory calls a web hook before it creates an identity, and we answer it. The hook works on Ory Network and on self-hosted Kratos.

Install in Ory, check it works, and turn it off

Install in Keycloak

A step in the Keycloak 26 registration form checks each signup before Keycloak creates the account. You paste your API key into the step's settings.

Install in Keycloak, check it works, and turn it off

REST API

Call POST /v1/check in your signup handler before you create the user, and refuse the signup only when action is "block". The OpenAPI 3.1 description is at /openapi.json.

The REST API: requests, answers and errors

Second look at email confirmation

When we mark a signup challenge, send us the email confirmation and we look at the signup again. The second look never counts as another check, and it works on every plan.

Second look at confirmation, on the REST API page

Better Auth

From version 0.3.0, set secondLook: true and our Better Auth plugin sends us confirmation clicks.

The second look in the Better Auth plugin

Supabase

Your own confirmation route sends us the Supabase user's id when the person confirms their email.

The Supabase confirmation route

Rules API

With an API key, you can read and change an app's Rules settings from your code. Rules API calls aren't checks, and we don't bill them.

The Rules API

Code for your stack

Code that checks a signup before you create the user, with every file it needs. Supabase, Ory and Keycloak need no code.

Code for your stack

The integrations page lists every platform and stack SignupBouncer plugs into, with a link to each install.

Testing

To try addresses without a key, use the free disposable email checker. It runs the same email and IP checks as the API.

With a key, check someone@mailinator.com to see it marked block. New apps start in shadow mode, so action stays allow until you switch the app to Enforce on its Rules tab. We count a retry of the exact same address on the same app as the same signup. But Gmail ignores dots and +tags, so within 7 days, another spelling of the inbox on the same app adds at least 70 repeat_inbox points. We refuse it at the default cutoffs when the app is in enforce mode. To test with +tags, stay in shadow mode or add your address as an Always allow override on the Rules tab. That covers its dots and +tags, except on a company domain whose mail Google hosts, where you add each +tag address.

Reason codes

Each check returns reason codes from a fixed list, so you can write rules against them.

Every reason code, with its points and plan

Check settings per app

On the Rules tab, you choose what each check does on an app: our default, off, always challenge or always block.

Check settings

Shadow and enforce

New apps start in shadow mode, so we log each signup and refuse none. When the Checks tab looks right, switch to Enforce on the Rules tab.

The Supabase and Ory hooks cannot show a captcha to a signup marked challenge. You choose whether to allow and log those signups (the default, which relies on your platform's own email confirmation) or treat them as a block. Even with "Treat as block", we allow a signup that velocity points alone raised to challenge.

What SignupBouncer checks

SignupBouncer scores a signup's email address and IP address. On the Pro plan, it also scores bursts of signups and residential-proxy IPs. SignupBouncer doesn't do captchas, phone number checks, device fingerprinting or mailbox (SMTP) probing. Pair it with another tool for those.

A signup marked challenge looks suspicious, so ask for an extra step, such as email confirmation or a CAPTCHA, or let it through.

MCP server

Your AI assistant or coding agent can check addresses and fetch the code for your stack through our MCP server.

Add the MCP server to your assistant

Questions

Does SignupBouncer block Gmail dot and +tag aliases?

We treat Gmail addresses that differ only by dots or a +tag as the same inbox. So the alias alone adds no points, but signing up again with another spelling does. A second spelling on the same app within 7 days adds at least 70 points, and that's a block at the default cutoffs. An earlier signup on another of your apps adds 25 points, and four add 70.

What happens to signups if SignupBouncer is down?

With the REST API, you give the call a 1.5-second limit and let the signup through when it fails. With the Supabase and Ory hooks, a relay we run in front of them answers allow when our service hits an error, is down or takes longer than 1.5 seconds. If the relay fails, or Supabase or Ory cannot reach it, that platform refuses the signup, as it does for any hook that fails.

Does SignupBouncer check Google and other OAuth signups?

Yes. The Supabase hook sees OAuth signups. When Supabase marks the address as verified by a known provider, we score the IP and signup bursts only. The Better Auth plugin does the same when you set checkOtherSignups: true. With the REST API, send the provider id as "auth_provider" and the flag from your auth platform as "email_verified". Without "email_verified": true, or with a provider id we do not know, we check the email as usual.

What does SignupBouncer store about my users?

Raw email addresses and IP addresses exist only in memory while a check runs. Per check we store the email domain, the part before the @ as an HMAC keyed per account, the IP's /24 (/48 for IPv6), the network owner (ASN), the score, the result (allow, challenge or block) and the reasons. We delete check-log entries about 30 days after the check, or later if our cleanup fails.

Do you block AI agents that sign up for people?

No. We check the email and the network, so an agent that signs up with its owner's inbox passes the email checks as its owner would. We recognize the published IP ranges of agents such as ChatGPT agent and mark them ai_agent, with no points. You can set the AI agent check to challenge. We still catch farms by what they reuse: burner domains, the same Gmail inbox in many spellings, and the same networks.

How is SignupBouncer different from a list of disposable domains?

A list blocks only the domains on it. SignupBouncer also looks up each domain's mail servers, which catches new domains on known burner mail hosts and domains that cannot receive mail. We count repeat signups from the same inbox across Gmail aliases. From the Starter plan, we also score datacenter, VPN, Tor and hijacked-network IPs. From the Pro plan, we score bursts of signups and residential-proxy IPs too.

Can I turn a check off or make it stricter on an app?

Yes. Each app has its own check settings on the Rules tab of your dashboard, where you can set most of the checks your plan counts to off, always challenge or always block. Your allow and block overrides still come first. Without an allow override, invalid addresses and domains that can't receive mail always block. You can change the same settings with the Rules API or from an AI assistant through our MCP server.

What does a refused user see?

They see your block message. With the Supabase hook in enforce mode, Supabase returns it to your app as the signup error. The default is "Please sign up with a permanent email address." With the REST API, the answer carries the message as block_message. You can add a "Why was this refused?" link to our page about the email's domain, which says how to sign up another way. In shadow mode, we refuse nobody.

Do I need SignupBouncer if I use Better Auth Sentinel?

Sentinel is Better Auth's paid security plugin. It counts accounts per browser fingerprint and blocks known disposable domains. With free-trial protection on, it refuses a signup with no device ID, such as one from a privacy-minded browser. We score those signups instead, from the email, the network on paid plans, and bursts of signups on the Pro plan. We also count repeats of the same inbox across all your apps. You can run both together.

Should I use email_guard instead?

email_guard is a free Postgres function for Supabase. It refuses domains on the disposable-email-domains list and a second signup from the same Gmail inbox. We add a larger list, and alias folding at Proton, Yandex, Yahoo and Fastmail. Our shadow mode shows you what we'd refuse before we refuse anything. On paid plans, SignupBouncer also scores the signup's network (from the Starter plan) and bursts of signups (from the Pro plan).

Data handling

  • Raw emails and IPs exist only in memory while a check runs, and we never store them.
  • Stored per check: email domain, the part before the @ as an HMAC keyed per account, the IP's /24 (/48 for IPv6), the ASN, the score, the result (allow, challenge or block), the reasons and the latency.
  • We delete check-log entries about 30 days after the check, or later if our cleanup fails.
  • To count repeat signups, we keep the normalized inbox as an HMAC keyed per account, with an entry per check, and a keyed HMAC of each exact address on each app. We delete each entry about 7 days after its check.
  • For repeat_ip, we keep the signup's IP address (its /64 for IPv6) as an HMAC keyed per account, per app and across your apps. Next to it we keep an HMAC of each inbox someone used to sign up from that address. We skip addresses that many people share, such as mobile networks and VPNs. We delete each inbox's entry about 7 days after its latest signup from that address.
  • We keep short-lived velocity counters per app and per account. The counters per /24, per hosting or VPN network, per keyed hash of the address pattern and per keyed hash of a custom email domain last 1 hour. The counters per inbox hash last 24 hours. We delete each entry when its window is up. The counters hold the /24 (/48 for IPv6) and the network owner (ASN) in plain text, as the check log does, and otherwise only keyed hashes and check ids.
  • We reuse hook retry answers for 10 minutes and delete them within 25 minutes, or later if our cleanup fails.
  • We cache mail-server lookups per domain for 1 hour, or 10 minutes when the domain cannot receive mail.
  • We store the email and IP overrides you add as HMACs too.
  • Our service is hosted in the United States.
  • We have a data processing agreement. We plan to offer an EU-only setting.

Your privacy policy

Our privacy information for end users says what we receive and keep about a signup, for how long, where we process it and who handles it. The page's address won't change, so you can link to it. Paste the paragraph below, or write your own.

If your policy has a table of processors, paste the whole row below into a spreadsheet, or copy each cell into a document.

In the row, "we" means your company. Delete the sentences about Ory, Supabase or email confirmations if your app doesn't use them.

Row for your table of processors