Authentication
Pass your API key as clientKey in the JSON body of every request. No separate authorization header is required. Find your key in the dashboard. All methods use POST and JSON.
Base URL#
https://api.captcha-solver.com
Python SDK#
Requires Python 3.9 or newer. Install the official package:
pip install captcha-solver-api
Set the CAPTCHA_API_KEY environment variable, then create a client:
import os
from captcha_solver_api import CaptchaClient
with CaptchaClient(os.environ["CAPTCHA_API_KEY"], polling_interval=5) as client:
print(client.get_balance())
The client sends the key in JSON and adds X-SDK: python-sdk/<version> automatically. For asynchronous code, use AsyncCaptchaClient with async with. Keep your key out of public repositories. Complete examples.