# SignupBouncer > SignupBouncer is an API that checks new signups for disposable emails, Gmail aliases and repeat accounts. Each check answers allow, challenge or block, with a score and the reasons. It looks at the email (disposable domains, domains that cannot receive mail, mail servers classified as burner mail hosts, Gmail dot and +tag aliases, the same inbox checked again) and the IP (datacenter, VPN, Tor, hijacked networks). On paid plans, the IP checks count toward the score. On the Free plan, they show in the log and don't change the score. It is built for AI apps whose free credits get farmed with throwaway accounts. ## Docs Each docs page below has a web address and, beside it, a Markdown copy with the same text. When you cite a page, link its web address. Before you choose the header for ip, find out where the app is hosted. If you are a coding agent and can't tell from the project, ask the person you're working for. - [Docs](https://signupbouncer.com/docs) ([Markdown](https://signupbouncer.com/docs.md)): Block disposable emails at signup with a Supabase hook, Ory, Keycloak or the REST API from Next.js, Firebase, Express, Hono, Better Auth or Python. - [Supabase hook](https://signupbouncer.com/docs/supabase) ([Markdown](https://signupbouncer.com/docs/supabase.md)): Install the SignupBouncer hook in Supabase Auth, find your first check on the dashboard, and turn the hook off again. No code in your app. - [Second look at confirmation for Supabase](https://signupbouncer.com/docs/supabase/confirm) ([Markdown](https://signupbouncer.com/docs/supabase/confirm.md)): Add an /auth/confirm route and our token hook to Supabase, so we look at a challenged signup again when the person confirms their email. - [Ory web hook](https://signupbouncer.com/docs/ory) ([Markdown](https://signupbouncer.com/docs/ory.md)): Add the SignupBouncer web hook to Ory Network or self-hosted Kratos, find your first check on the dashboard, and take the hook out again. - [Keycloak extension](https://signupbouncer.com/docs/keycloak) ([Markdown](https://signupbouncer.com/docs/keycloak.md)): Add the SignupBouncer step to the Keycloak 26 registration form, find your first check on the dashboard, and take the step out again. - [REST API](https://signupbouncer.com/docs/api) ([Markdown](https://signupbouncer.com/docs/api.md)): Call POST /v1/check from your signup handler, report email confirmations for a second look, and read or change an app's rules. - [Code for your stack](https://signupbouncer.com/docs/code) ([Markdown](https://signupbouncer.com/docs/code.md)): Copy-paste code that checks each signup for disposable emails and repeat accounts in Next.js, Express, Hono, Python, Firebase Auth and Better Auth. - [Check signups with fetch in TypeScript](https://signupbouncer.com/docs/code/fetch) ([Markdown](https://signupbouncer.com/docs/code/fetch.md)): One TypeScript file that checks each signup for disposable emails and repeat accounts, for Node 18 and later, Deno, Bun and Cloudflare Workers. - [Check signups in Next.js](https://signupbouncer.com/docs/code/nextjs) ([Markdown](https://signupbouncer.com/docs/code/nextjs.md)): Check Next.js App Router signups for disposable emails and repeat accounts before you create the user. Every file you need is on this page. - [Check signups in Express](https://signupbouncer.com/docs/code/express) ([Markdown](https://signupbouncer.com/docs/code/express.md)): An Express signup route that checks each new account for disposable emails and repeat signups before you create the user. Both files are on this page. - [Check signups in Hono](https://signupbouncer.com/docs/code/hono) ([Markdown](https://signupbouncer.com/docs/code/hono.md)): A Hono signup route that checks each new account for disposable emails and repeat signups before you create the user. Both files are on this page. - [Check signups in Python](https://signupbouncer.com/docs/code/python) ([Markdown](https://signupbouncer.com/docs/code/python.md)): One Python file that checks each signup for disposable emails and repeat accounts before you create the user, in Django, Flask, FastAPI or any backend. - [Check signups in Firebase Auth](https://signupbouncer.com/docs/code/firebase) ([Markdown](https://signupbouncer.com/docs/code/firebase.md)): A Firebase Auth blocking function that checks each signup for disposable emails and repeat accounts before Firebase creates the user. - [Check signups in Better Auth](https://signupbouncer.com/docs/code/better-auth) ([Markdown](https://signupbouncer.com/docs/code/better-auth.md)): Add the SignupBouncer plugin to Better Auth to check each email and password signup for disposable emails and repeat accounts before you create the user. - [Reason codes](https://signupbouncer.com/docs/reasons) ([Markdown](https://signupbouncer.com/docs/reasons.md)): Every reason code SignupBouncer returns, the points it adds to the score, the lowest plan it counts on, and how the velocity reasons work. - [Rules](https://signupbouncer.com/docs/rules) ([Markdown](https://signupbouncer.com/docs/rules.md)): Choose what each check does on an app: our default, off, always challenge or always block. Then turn on a link that tells a refused person why. - [MCP server](https://signupbouncer.com/docs/mcp) ([Markdown](https://signupbouncer.com/docs/mcp.md)): Add the SignupBouncer MCP server to Claude, Cursor or VS Code. Check addresses, fetch the code for your stack and change an app's rules. ## Pages - [Guides](https://signupbouncer.com/guides): how-to articles, listed under Guides below - [Sign up](https://signupbouncer.com/signup): a free account with an email address and a password, no card. You create API keys per app on the dashboard - [OpenAPI](https://signupbouncer.com/openapi.json): the REST API as an OpenAPI 3.1 document - [Pricing](https://signupbouncer.com/pricing): plans and limits - [Disposable email checker](https://signupbouncer.com/disposable-email-checker): check one email (and IP) in the browser, no account. What each check looks at, the one API call for a signup flow, and answers to common questions - [Signup audit](https://signupbouncer.com/audit): check an app's existing users without installing anything. Run one SQL query (Supabase, Postgres, MySQL) or paste a list of addresses. You send only email domains and counts, and the answer is how many accounts are on burner domains or repeat the same Gmail inbox - [Better Auth plugin](https://signupbouncer.com/integrations/better-auth): the @signupbouncer/better-auth plugin (npm and JSR). What it refuses, install and config, what a refused user sees, OAuth signups, shadow mode, and what happens when SignupBouncer is slow or down - [Integrations](https://signupbouncer.com/integrations): every platform SignupBouncer plugs into (Supabase, Ory, Better Auth, Keycloak, Firebase Auth), the stacks with tested code (Next.js, Express, Hono, Python, any server with fetch), the REST API and the MCP server, each linking to its install - [Supabase integration](https://signupbouncer.com/integrations/supabase): the Before User Created hook. What it refuses, how it compares with email_guard, install in the dashboard or with the CLI, what a refused user sees, and what happens when SignupBouncer is slow or down - [Ory integration](https://signupbouncer.com/integrations/ory): the registration web hook on Ory Network or self-hosted Ory Kratos. What it refuses, install in the Ory Console or in kratos.yml, what a refused user sees, and what happens when SignupBouncer is slow or down - [Keycloak integration](https://signupbouncer.com/integrations/keycloak): the open-source step for the Keycloak 26 registration form. Install, setup behind a proxy, how to check it works, what a refused user sees, and what happens when SignupBouncer is slow or down - [Firebase integration](https://signupbouncer.com/integrations/firebase): the Firebase Auth blocking function, with both files it needs. Which signups it checks, install with a secret, what a refused user sees, and what happens when SignupBouncer is slow or down - [Next.js integration](https://signupbouncer.com/integrations/nextjs): the signup check for a Next.js App Router route handler or server action, with every file it needs. Install, the client IP, what a refused user sees, and what happens when SignupBouncer is slow or down - [Python integration](https://signupbouncer.com/integrations/python): a Python function for Django, Flask, FastAPI or any other backend that refuses disposable emails and repeat signups before you create the user - [Temp mail checker](https://signupbouncer.com/temp-mail-checker): the free checker for temp mail addresses, what each result means, and what a domain list misses - [Email typo checker](https://signupbouncer.com/email-typo-checker): the free checker for typos of big mail providers' domains (gmial.com for gmail.com), which typos it catches and which it misses - [VPN and datacenter IP checker](https://signupbouncer.com/vpn-ip-checker): the free checker for an IP address on its own. Which hosting networks, VPN servers, Tor exits and iCloud Private Relay addresses it recognizes, and where its VPN coverage stops - [Arcjet alternative](https://signupbouncer.com/alternatives/arcjet): Arcjet and SignupBouncer compared from Arcjet's own docs, when Arcjet is the better pick, and how to switch or run both - [UserCheck alternative](https://signupbouncer.com/alternatives/usercheck): UserCheck and SignupBouncer compared from UserCheck's own docs, when UserCheck is the better pick, and how to switch or run both - [Glossary](https://signupbouncer.com/glossary): one short page per signup-abuse term, each with its definition first: Disposable email, Plus addressing (+tags), Gmail dot trick, MX record, Datacenter IP, Tor exit node, Privacy relay, Catch-all domain, Free-trial abuse, Velocity rule, Shadow mode, Fail-open - [Burner domains](https://signupbouncer.com/burner/): disposable domains our harvester found on temp-mail sites or with mail servers classified as burner mail hosts, and the domains of well-known temp-mail services such as https://signupbouncer.com/burner/mailinator.com, one page each. The public part of our list is a plain text file, one domain per line, at https://signupbouncer.com/burner/burner-domains.txt (rebuilt every hour, CC0 for our own part, upstream license notices in its header). A copy is on GitHub at https://github.com/signupbouncer/burner-domains (raw file: https://raw.githubusercontent.com/signupbouncer/burner-domains/master/burner-domains.txt). Each domain's page has a sentence to cite, with the page's address and the earliest exact day an open list added the domain or SignupBouncer recorded it. It also gives the latest day SignupBouncer recorded it, and any later day an open list still carried it - [Why was my signup refused?](https://signupbouncer.com/why): for a person an app refused. Enter an email address, and the page says what we know about its domain (disposable, a well-known provider, cannot receive email, or nothing against it) and how to sign up another way. It never shows an app's settings or checks. A lookup whose result is about the domain itself has a sentence to cite, with the page's address and the date of the lookup. "We know nothing against", "We could not look up" and a result that holds only because a parent domain is on our lists have none - [MCP server](https://signupbouncer.com/docs/mcp): https://signupbouncer.com/mcp, the free checker and the code per stack as tools for AI assistants - [Full text for LLMs](https://signupbouncer.com/llms-full.txt): everything here plus the API, the code per stack, reason codes and data handling ## Install - Supabase auth hook (no code): in the Supabase dashboard open Authentication, Hooks, add a "Before User Created" HTTPS hook, and paste the hook URL (https://signupbouncer.com/hook/supabase/app_...) and hook secret (v1,whsec_...) from the SignupBouncer dashboard, which shows the secret once your email address is confirmed. Details: https://signupbouncer.com/docs/supabase - Ory web hook (no code, Ory Network or self-hosted Ory Kratos): add a web hook action on the registration flow, after, for each sign-up method. URL https://signupbouncer.com/v1/hooks/ory, method POST, API key auth in the "Authorization" header with the value "Bearer sb_live_...", the Jsonnet body from https://signupbouncer.com/docs/ory, and can_interrupt and response.parse turned on. A refusal is a 400 with Ory's message list, and Ory shows the block message on the form. Details: https://signupbouncer.com/docs/ory - Keycloak (open-source extension, Keycloak 26): copy the keycloak-signupbouncer jar from https://github.com/signupbouncer/signupbouncer-keycloak/releases/latest into Keycloak's providers folder, run bin/kc.sh build and restart Keycloak. Duplicate the realm's registration flow, add the "SignupBouncer signup check" step to its registration form as Required, paste the API key in the step's settings, and bind the flow as the registration flow. In enforce mode, it refuses a signup marked block with the block message under the email field. It lets the signup through when the call fails or takes longer than 1.5 seconds. Behind a proxy, Keycloak needs proxy-headers and proxy-trusted-addresses, and the proxy must overwrite X-Forwarded-For. The call goes out through Keycloak's own HTTP client, so the outgoing proxy set in HTTPS_PROXY or Keycloak's proxy-mappings option applies to it. Details: https://signupbouncer.com/docs/keycloak - REST API: POST https://signupbouncer.com/v1/check with "Authorization: Bearer sb_live_..." from any backend, before creating the user. The same call works from Better Auth, Next.js, Express, Hono, Firebase, Python or any other server code. Tested code for each stack: https://signupbouncer.com/docs/code (also in https://signupbouncer.com/llms-full.txt). OpenAPI 3.1 description: https://signupbouncer.com/openapi.json. Details: https://signupbouncer.com/docs/api. For challenged signups, POST https://signupbouncer.com/v1/confirm gives a second look when the person confirms their email: https://signupbouncer.com/docs/api#confirm - Better Auth plugin: npm install @signupbouncer/better-auth@^0.3.0 (with Deno, in Next.js beside package.json: deno add npm:@signupbouncer/better-auth@^0.3.0), then add signupBouncer({ apiKey: process.env.SIGNUPBOUNCER_API_KEY }) to plugins in your betterAuth config. It checks email and password signups before Better Auth creates the user. With checkOtherSignups: true it checks OAuth and magic-link signups too, and a Google or GitHub address the provider verified is scored on the IP and signup bursts only. Details: https://signupbouncer.com/docs/code/better-auth - MCP (for AI assistants and agents): add the remote server https://signupbouncer.com/mcp (Streamable HTTP, no sessions, no key needed). Tools: integration_guide (the steps and code for one stack: supabase, ory, fetch, nextjs, express, hono, python, firebase or better-auth), check_email (allow, challenge or block, the score and reasons for one address and optional IP, plus a corrected address when the domain looks like a typo), explain_reason (what a reason code means) and lookup_burner_domain (whether a domain is on the burner list, with no DNS lookup). check_email and lookup_burner_domain are the free checker. They allow 20 checks a minute and 200 a day per IP address, shared with the checker at https://signupbouncer.com/disposable-email-checker. We don't store or log the email or IP address check_email is asked to check, or the domain or address sent to lookup_burner_domain. We cache the domain of each email check_email checks, with its mail servers, for up to an hour. For the rate limits we keep a keyed hash of the calling IP address (or of the account, with a key) for up to 24 hours. When the client sends a key, we also keep a hash of the key in memory, and keyed hashes of the calling IP address and its network (/24 or /64), for up to two minutes. The IP hashes limit guessed keys. A valid key's hash is also stored with its account. Assistants hosted by their provider call from the provider's servers and share its IP addresses. Calls through claude.ai, Claude Desktop and Claude's mobile apps come from Anthropic's servers, and everyone using them shares 300 checks a minute and 5,000 a day. Send your API key as "Authorization: Bearer sb_live_..." on /mcp for your account's own free allowance: 20 checks a minute and 200 a day per account, not counted as checks against your plan. If you send a key that is not valid, the call gets a 401. check_email counts every reason, including reasons that count only on paid plans, so its score can differ from your app's. With an API key, two more tools work with an app's rules: get_rules reads them and update_rules changes them, as the Rules API does (below). update_rules saves the settings it changes, including any text such as the block message, with the app's other settings. We keep them until the user changes them again or deletes the account, or for 7 days after the user removes the app. They stay in our encrypted nightly backups for about 31 days after that, longer if a nightly backup fails. update_rules changes live signup blocking for that app, so confirm each change with the user first. Without a key, the server lists only the other four tools, and a call to either rules tool says how to get a key. Details: https://signupbouncer.com/docs/mcp - Rules API: GET and PATCH https://signupbouncer.com/v1/apps/{app}/rules read and change an app's Rules settings with an API key. A PATCH can change live signup blocking for that app, so confirm each change with the user first. Details: https://signupbouncer.com/docs/api#rules-api - Check settings: on the dashboard's Rules tab or with the Rules API, most checks can be left at our default, turned off, or set to always challenge or always block, on one app. A setting applies to the checks the plan counts. With two or more apps, the Rules tab copies one app's Rules settings to another. The mode is not copied, and overrides come along only when you tick that box. Details: https://signupbouncer.com/docs/rules#check-settings New apps start in shadow mode. We check and log signups and block nothing. Act on the "action" field, never on "verdict". In shadow mode "action" is always "allow". When calling the REST API, give the call a short timeout and allow the signup if it fails or times out, so a problem on our side never blocks your users. The Supabase and Ory hooks do this for you while our relay in front of them is reachable. Our service answers allow when it hits an error or takes longer than 1.2 seconds, and the relay answers allow when our service is down or does not answer within 1.5 seconds. If Supabase or Ory cannot reach the relay, it refuses the signup. ## Get a key Sign up at https://signupbouncer.com/signup with an email address and a password. Then confirm the address with the link we email. Until you do, the dashboard shows no hook secret and you can't create API keys. The Free plan needs no card. The Supabase hook needs no API key either, only the hook URL and hook secret on each app's Integration tab. For the REST API, the account owner chooses "Create API key" on that app's 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 it 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. ## Testing 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 in the dashboard. Test checks count toward your monthly allowance. Retries of the same exact address on an app count as a single signup in the windows. Gmail dots and +tags share an inbox. So within 7 days, a second spelling on the same app adds at least 70 repeat_inbox points, and we refuse it at the default cutoffs. The same address on another app adds points on a smaller scale. Use a different inbox for independent tests, test in shadow mode, or add an Always allow override for your address on the Rules tab, which covers its dots and +tags. On a company domain whose mail Google hosts, the override covers only the exact address, so add each +tag address. For IP-only checks, send a stable attempt_id (1 to 128 letters, digits, . _ : or -) and reuse it on retries. Without an address or attempt_id each call counts separately. The id deduplicates the counters, but not billing or API responses. ## Scope SignupBouncer scores a signup's email address and IP address. On the Pro plan, it also scores bursts of signups and repeat signups with different inboxes from the same home IP address. It scores residential-proxy IPs on the Pro plan too. Captchas, phone number checks, device fingerprinting and mailbox (SMTP) probing are outside it. 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. AI agents that sign up for a person, such as ChatGPT agent, are not blocked. From the Starter plan, an IP in the published ranges of such an agent gets the reason ai_agent with 0 points instead of datacenter_ip. The email, repeat and burst reasons still apply. An app can set ai_agent to challenge or block on the Rules tab or with the Rules API. ## Guides - [Keep burner signups from using up your Supabase email limit](https://signupbouncer.com/guides/supabase-bot-signups): SignupBouncer's Before User Created hook refuses burner signups before Supabase creates the user, so they don't use up Supabase's hourly limit on confirmation emails. - [Block burner emails in the Next.js SaaS starter](https://signupbouncer.com/guides/nextjs-saas-starter): Add a SignupBouncer check to the starter's signup action before it hashes the password. Then switch to Enforce to refuse disposable addresses and limit repeat signups from the same inbox. - [Build an AI image generator with Next.js and Supabase](https://signupbouncer.com/guides/ai-image-credits): Give users 10 free credits, track image usage, and use a Supabase hook to block disposable emails and limit repeat Gmail signups. ## Pricing You pay per account, and all your apps share its checks. Every plan is on sale. - Free: $0, 1,000 checks a month, 1 app. Email: burner domains, burner mail servers, domains that cannot receive mail, Gmail aliases, repeat inboxes. IP and velocity checks run but don't change the score. Your log lists their results. After 1,000 checks in a month, we let signups through unchecked until the month ends. - Starter: $19 a month or $190 a year, 10,000 checks a month, 3 apps. Everything in the Free plan. Datacenter, VPN, Tor and hijacked-network IP checks count toward the score. Extra checks at $2 per 1,000, up to a $38 monthly cap you can change. Yearly billing: no extra checks. - Pro: $49 a month or $490 a year, 50,000 checks a month, unlimited apps. Everything in the Starter plan. We score bursts of signups from the same network, inbox, name-and-number pattern or custom domain. A third inbox from the same home IP within 7 days counts toward the score. Residential-proxy detection. Extra checks at $2 per 1,000, up to a $98 monthly cap you can change. Yearly billing: no extra checks. - Scale: $129 a month or $1,290 a year, 250,000 checks a month, unlimited apps. Everything in the Pro plan. Team seats: teammates manage your apps, but billing, API keys and the team stay yours. Burner feed export: download the burner-domain data we may share, as JSON or CSV. Extra checks at $2 per 1,000, up to a $258 monthly cap you can change. Yearly billing: no extra checks. On every plan: - Shadow mode: new apps only log what we would block until you switch to enforce. - Check settings per app: set most checks your plan counts to off, challenge or block. - Allow and block overrides for an email, a domain, an IP or an IP range. - Your own message for refused signups, and an optional "Why was this refused?" link. - Rules API and MCP server: change an app's settings from code or an AI assistant. To start on a paid plan, choose it at https://signupbouncer.com/pricing. You create the account, then pay by card through Stripe. The plan starts once the payment goes through. Or start on the Free plan and choose a plan from the dashboard later. The billing rules (extra checks and their cap, plan changes, failed payments, canceling and refunds) are in https://signupbouncer.com/llms-full.txt and the Terms of Service (https://signupbouncer.com/terms). For a question about a payment, email support@signupbouncer.com. ## Optional - [Privacy Policy](https://signupbouncer.com/privacy): what we collect about customers and checked signups, who handles it, how long we keep it - [Privacy for end users](https://signupbouncer.com/privacy/end-users): for the people who sign up to apps that use SignupBouncer. What we receive and keep about a signup, for how long, where it is processed and who handles it. Customers can link it from their own privacy policies - [Terms of Service](https://signupbouncer.com/terms): the terms of use, including the billing rules (extra checks and their cap, plan changes, failed payments, canceling and refunds) - [Data processing agreement](https://signupbouncer.com/dpa): what our Terms of Service and Privacy Policy say about the personal data of your end users, the people who sign up to your app - [Status](https://signupbouncer.com/status): live state of the check API, the Supabase hook and the data, and recent incidents (also https://signupbouncer.com/status.json) - [Plugin manifest](https://signupbouncer.com/.well-known/ai-plugin.json): the API described in the ai-plugin.json format that agent directories read