Code examples.
Complete API, SDK, browser automation and agent integrations with code you can adapt.
Code examples
59 guides in Code examples
Page 2 of 3
Use Guzzle with the CAPTCHA task API
A PHP Guzzle create-and-poll helper with a shared deadline, requestId recovery, and matching proxy and browser headers for token submission.
Call the CAPTCHA API from Spring Boot
A synchronous Spring RestClient helper using Gson, with dependency setup, task polling, and recovery after an uncertain create request.
Call solvethree from an ASP.NET Core backend
A .NET 8 REST helper with DI registration, cancellation, task status handling and recovery after a timeout.
Use the Go SDK in a Gin handler
Add a bounded Gin solve route using the official Go SDK, and recover existing tasks after cancellation without paying for duplicate work.
Solve reCAPTCHA Enterprise with Ruby
A standard-library Ruby REST example with HTTPS, explicit timeouts, task polling, and request-ID recovery.
Solve reCAPTCHA Enterprise with Rust
A Rust REST client for reCAPTCHA Enterprise, with Cargo dependencies, finite polling, error handling, and timeout recovery.
Call the CAPTCHA API from PowerShell
A PowerShell script that creates one reCAPTCHA Enterprise task, polls its ID, and keeps recovery information when a request fails.
Test the CAPTCHA API with HTTPie
Create and retrieve a reCAPTCHA Enterprise task with HTTPie, distinguish HTTP success from task readiness, and recover without creating duplicate work.
Test solvethree in Postman
Import the Postman collection, configure private variables, and retrieve a task without accidentally creating another.
Test the CAPTCHA API in Insomnia
Configure Insomnia, create a reCAPTCHA Enterprise task, and retrieve its result without response chaining.
Use the CAPTCHA task API in Make
Make HTTP module settings, status filters, and a saved-task-ID polling pattern for reCAPTCHA Enterprise.
Use the Node.js SDK in AWS Lambda
Package the SDK for Lambda, bound solving by the remaining execution time, and recover interrupted tasks without creating duplicate work.
Call the CAPTCHA API from Cloudflare Workers
Create and retrieve reCAPTCHA Enterprise tasks from a Worker, recover timed-out requests, and hand off target submission to a proxy-capable client.
Submit a CAPTCHA solution with Playwright for Python
Connect the synchronous solvethree SDK to async Playwright, fill your form’s token field, and inspect the submission response.
Use the CAPTCHA API with Selenium in Java
Java 21 and Selenium setup for requesting a reCAPTCHA Enterprise token and submitting it through Chrome with the same proxy and browser identity.
Use the CAPTCHA API with Selenium in C#
Create a reCAPTCHA Enterprise task in C#, then submit its token through Selenium Chrome with the matching proxy and browser identity.
Use solvethree in a Scrapy downloader middleware
A Scrapy middleware for one configured form target, with nonblocking solving, proxy and browser identity handling, and stable request IDs.
Use the Go SDK with chromedp
Solve reCAPTCHA Enterprise in Go, submit its token with chromedp, and check the application's actual result.
Solve CAPTCHA tasks concurrently in Go
Solve tasks with a bounded Go worker pool, submit each solution immediately, and recover interrupted jobs without creating duplicate tasks.
Handle Go SDK errors and recover interrupted tasks
Inspect Go SDK errors and recover interrupted tasks using the original inputs, request ID, and task ID.
Test a Go CAPTCHA integration without spending credit
Run a local Go SDK test that returns pending, then ready, and checks for exactly one task creation.
Use the synchronous Python SDK from asyncio
Offload synchronous solves to worker threads without blocking asyncio, and handle cancellation without accidentally creating duplicate tasks.
Handle Python SDK errors without duplicating solves
Catch Python SDK errors and recover existing tasks using task_id or the original requestId.
Handle CAPTCHA task results safely in TypeScript
Narrow TaskResult by status, poll the same task ID, and distinguish tokens from Kasada headers.
Looking for a field or endpoint?
The API reference lists every request field, task state and response shape.