AceCaptcha docs
AceCaptcha is a hosted bot check for your forms and sign-ins. Your page gets a single-use token, your backend redeems it, and the answer is a decision: let them in, let them in with limits, or block them.
How it works
- 01Your pageruns the check
- 02Tokensingle-use, expires in 5 minutes
- 03Your backendgets it with the form
- 04Siteverifytoken + your secret
- 05Decisionallowallow_limitedblock
- Your page loads the AceCaptcha client and places the check in a form. It runs when the visitor uses the form.
- The check gives your page a single-use token.
- The token goes to your own backend with the form or request.
- Your backend POSTs the token with your site’s secret to siteverify and acts on
decision:allow,allow_limitedorblock.
Tokens expire 5 minutes after they’re issued and work once.
What it catches
AceCaptcha stops the bots that pass as people: automation frameworks, DevTools-driven fleets and anti-detect browsers. It’s a reputation check: devices are judged over time, on hundreds of signals, and anti-detect browser profiles get unmasked. What it looks at stays private.
What visitors see
Most real visitors see nothing: the check runs in the background. In enforce mode, when a check isn’t clean, a short visible check can appear where you placed it, and solving it lets the visitor through. See the visible check.
The answer is a decision
Siteverify tells your backend what to do with the request: allow it, allow_limited (proceed with tighter limits) or block it.
Important
Act on decision, not on success
success: true only means the token is genuine, unexpired and unused. A handler that checks only success lets blocked bots through. See Siteverify.
Sitekey and secret
Each site you create in the dashboard has two keys:
- a sitekey,
ace_site_followed by 22 letters and digits. It’s public and goes in your page; - a secret,
ace_secret_followed by 43 letters and digits. It stays on your server and is shown once.
Sites also set their hostnames, a mode and a protection level. See Sites and keys.