Get started
Introduction
SafeConduct is one API and one balance for captcha solving. Each task goes to the provider that works best on the site you are solving.
Base URL
https://api.safeconduct.aiWhat it does
You send a captcha task: its type, the page and the sitekey. SafeConduct sends it to a solving provider and gives you back the token.
- It chooses the provider. The choice follows what each provider did on that site: how often its tokens worked, how long it took, and its price. You can also name the providers yourself.
- It retries. If a provider fails or runs out of time, the next one takes over, inside the same request.
- You pay for the solve only. A solved captcha costs the list price of the provider that solved it. A failed attempt costs nothing.
- It tells you what happened. Every answer says who solved the task, what it cost and each attempt.
Three ways in
Use the API your code already speaks. With all three, only the address and the key change.
| Format | Use it when | Calls |
|---|---|---|
| Native API | You are writing new code. One call can wait for the token, and the answer carries the full receipt. | /v1/tasks/solve, /v1/tasks |
| createTask | Your bot has a client for Anti-Captcha, CapSolver, CapMonster or 2Captcha’s newer API. | /createTask, /getTaskResult, /getBalance |
| in.php and res.php | Your bot uses 2Captcha’s original API, for example the 2captcha-python client. | /in.php, /res.php |
Send your key as Authorization: Bearer or X-API-Key with the native API, and as the client key with the other two.