reCAPTCHA v2 solver
that returns a token.
Send the sitekey and page URL, get back a g-recaptcha-response token your form can submit. Checkbox, invisible and callback variants on one endpoint.
- From
- $0.00598 / solve
- Billed
- On success
- Variants
- 3
1{2 "status": "ready",3 "type": "recaptcha_v2",4 "solution": {5 "token": "03AGdBq25S..."6 },7 "cost": "0.00598"8}and automation teams
One endpoint for every
reCAPTCHA v2 variant.
The three v2 variants differ only in how the token is delivered to the page. CaptchaNo normalises them so your integration does not change.
The classic "I'm not a robot" widget. Pass sitekey and pageurl, receive the response token.
No visible widget. Same request shape — set the invisible flag and submit the token as normal.
When the page reads the token through a JavaScript callback instead of a form field, the request is the same: pass the returned token to that callback.
Send your own proxy, user agent and cookies so the token is minted from the same session that will spend it.
v2 tokens expire in about 120 seconds. Each task reports createdAt and solveTime, so you can tell how old a token is before you spend it.
Plain HTTPS and JSON. Working examples for Python, Node, PHP and cURL, plus Selenium, Puppeteer and Playwright.
How to solve reCAPTCHA v2 with the API
Four steps from a blocked form to a submitted one. The same flow works from Python, Node.js, Go, PHP or plain cURL.
- 01Find the sitekey.
Look for the data-sitekey attribute on the reCAPTCHA element, or the k= parameter in the URL of the reCAPTCHA iframe. Note whether the widget is invisible (data-size="invisible").
- 02Send the task.
POST /v1/solve with your API key in the Authorization header and a JSON body with type recaptcha_v2, url and sitekey, plus invisible: true when it applies. Add ?wait=60 to get the answer in the same call.
- 03Put the token where the page expects it.
Write solution.token into the hidden g-recaptcha-response field. If the widget declares a data-callback, call that function with the token, because some pages only enable the submit button from the callback.
- 04Submit within two minutes.
Google accepts each token once and for about two minutes, so request it just before you submit. If you sent a proxy with the task, submit through that same proxy.
What reCAPTCHA v2 checks
The checkbox is the visible part. Most of the decision is made before anyone clicks.
When the widget loads, Google assesses the browser, its cookies and how the page is used. A low-risk visitor gets a tick straight away; a riskier one is shown an image challenge.
The grid of traffic lights or crosswalks appears only when Google is unsure. Passing it produces the same kind of token as an instant tick.
The site sends the token and its secret key to Google's siteverify endpoint. Google replies with success or failure and the hostname the token was issued for, so a token from another site fails.
Invisible v2 runs the same check without a checkbox, usually when a button is pressed, and shows images only if the risk check fails.
Errors you may see, and what to do
Every API error has a stable code. Anything that does not return a usable token is not billed.
The sitekey was rejected for that page. Copy it from the same page you send as url, not from another subdomain or an old version of the page.
The challenge could not be solved this time. Send the task again; the failed attempt was not billed.
The proxy string is malformed or the proxy refused the connection. Use the form http://user:pass@host:port, or a socks4:// or socks5:// address.
Usually the token was spent after it expired, from a different IP than the solve, or on a page the sitekey does not belong to. Solve right before submitting, through the same proxy.
Guides that help
Easily connect with your AI agents
Expose solving as a tool, and an agent clears challenges itself instead of stalling.
One tool. Wrap a single HTTP call and any agent framework can use it.
@tool
def solve_captcha(kind: str, sitekey: str, url: str) -> str:
"""Call when a captcha blocks the task."""
return solve({"type": kind, "sitekey": sitekey,
"url": url})["token"]A typed result. Something the model can branch on, with the cost of every call.
{
"status": "ready",
"solution": { "token": "03AGdBq25S…" },
"cost": "0.00598"
}Great for side projects and small tools. Fast, simple, no overkill.
Perfect for scaling with less effort. Simple, solid, dependable.
Built for high volume and speed. CaptchaNo at full force.
Actual price may vary based on the exchange rate in place between USD and local currency at the time of payment processing or invoicing. Prices exclude all taxes, levies and duties and are paid in USD.
Scale Plans
High-volume plans for teams that need more power and dedicated support. Get access to higher concurrency, volume pricing and priority support.
For teams scaling their data pipelines
Power at your pace with custom solutions
Frequently asked questions
Everything you need to know about CaptchaNo reCAPTCHA v2.
Ready to solve reCAPTCHA v2?
Start with a free trial and scale per solve. No minimum commitment.