CAPTCHA guides.

Code examples and fixes for reCAPTCHA v3, Kasada, and Ticketmaster TMPT. Pick your language, get a first solution, or work out why a request is being rejected.

Start here

PythonNode.jsKasada headersTMPT cookies

100 guides across the library

Page 1 of 5

Code examples

Solve reCAPTCHA Enterprise with Python

Install the Python SDK, configure a site profile, solve reCAPTCHA Enterprise, and submit the returned token.

Integration3 min read
Code examples

Solve reCAPTCHA Enterprise with Node.js

Install the Node.js SDK, request an Enterprise token, submit it with the matching proxy and browser identity, and handle failures without creating duplicate tasks.

Integration4 min read
Code examples

Request a reCAPTCHA Enterprise token with cURL

Make your first REST request, read the response, and retrieve a token when the solve finishes.

Integration4 min read
Code examples

Solve reCAPTCHA Enterprise with PHP

A complete PHP REST example: create a task, wait for the result, and read the token.

Integration2 min read
Code examples

Solve reCAPTCHA Enterprise with Go

Install the Go SDK, solve one Enterprise task, and submit its token with the correct proxy and browser headers.

Integration2 min read
Code examples

Solve reCAPTCHA Enterprise with C#

A complete C# REST example: create a task, wait for the result, and read the token.

Integration2 min read
Code examples

Solve reCAPTCHA Enterprise with Java

Request an Enterprise token with Java HttpClient and Gson, with complete source and compile/run commands.

Integration2 min read
reCAPTCHA Enterprise

Solve standard reCAPTCHA v3 with the API

Set recaptchaType to v3, retrieve the completed token, and submit it with the matching proxy and browser identity.

CAPTCHA concepts3 min read
reCAPTCHA Enterprise

reCAPTCHA v2, v3 and Enterprise: identify what you need

Distinguish checkbox and invisible v2 from score-based v3, interpret Enterprise scripts, and choose the correct task settings.

CAPTCHA concepts3 min read
reCAPTCHA Enterprise

Find the reCAPTCHA action on a page

Locate the action in execute calls or data-action attributes without guessing its value.

CAPTCHA concepts2 min read
reCAPTCHA Enterprise

Set up a reCAPTCHA site profile

Add a site profile, match its hostname and capture action, and fix missing or inactive profiles before solving.

CAPTCHA concepts3 min read
reCAPTCHA Enterprise

Why your reCAPTCHA v3 token gets a low score

Understand a low v3 score and check the action, site profile, proxy and browser headers before buying another solve.

CAPTCHA concepts2 min read
Errors and timeouts

The task is ready. Why is the reCAPTCHA token rejected?

Fix rejected ready tokens before paying for another solve: inspect the outgoing token, request context, lifetime and submitting client.

Troubleshooting3 min read
reCAPTCHA Enterprise

How long does a reCAPTCHA token last?

Classic and Enterprise reCAPTCHA tokens expire after two minutes and are single-use. Request the token just before submitting the protected request.

CAPTCHA concepts2 min read
Kasada and TMPT

Get Kasada headers with the API

Create and poll a Kasada task, retrieve its headers, and apply them with the returned browser identity and successful proxy.

Integration2 min read
Kasada and TMPT

Get a Ticketmaster TMPT cookie

Request an Event or Login TMPT cookie, wait for a ready result, and attach it without duplicating the cookie prefix.

Integration3 min read
Kasada and TMPT

TMPT vs Kasada: which Ticketmaster task do you need?

Choose the right task for a TMPT cookie, Kasada headers or a reCAPTCHA token, with request examples and integration links.

Integration3 min read
Kasada and TMPT

Ticketmaster returns 403 after a solve: what to check

Separate an API 403 from a Ticketmaster rejection and check how the solution was submitted.

Integration3 min read
Kasada and TMPT

Fix a TMPT cookie that is not being sent correctly

Diagnose TMPT cookie delivery, replace stale values, and attach the solution correctly in Python or Node.js.

Integration3 min read
Proxies and browser identity

Choose and configure a proxy for CAPTCHA solving

Proxy URL formatting, pinned sessions, and fixes for HTTP 407, unreachable targets, and rejected solutions.

API concepts3 min read
Proxies and browser identity

Use the proxy that actually solved the task

Map egressAttempts to the original proxy list, select the winner with an SDK helper, and reuse it with the returned browser identity.

API concepts2 min read
Proxies and browser identity

Use the returned user agent and client hints

Set User-Agent and sec-ch-ua from the ready solution, replace stale headers, and submit through the successful proxy.

API concepts2 min read
Errors and timeouts

Handle CAPTCHA task polling and timeouts

Wait defaults, finite polling and recovery after a timed-out task request.

Troubleshooting4 min read
Errors and timeouts

Recover a timed-out request without paying for another task

Reuse requestId to recover an existing task instead of creating another after a timeout.

Troubleshooting3 min read

Looking for a field or endpoint?

The API reference lists every request field, task state and response shape.

Open API reference