Skip to main content

NextSolver Python SDK — AI-Powered Captcha Solving API. CapSolver-compatible.

Project description

NextSolver Python SDK

Official Python SDK for NextSolver — AI-Powered Captcha Solving API.

CapSolver-compatible drop-in replacement. Change your base URL and you're live.

Installation

pip install nextsolver

Quick Start

from nextsolver import NextSolver

solver = NextSolver(api_key="YOUR_API_KEY")

# Solve AWS WAF (instant, ~50ms)
result = solver.solve_waf(
    images=["base64_image_1", "base64_image_2"],
    question="umbrella"
)
print(result)  # [False, True, False, True, False, False]

# Solve reCAPTCHA v2 (auto-polls until ready)
token = solver.solve_recaptcha_v2(
    website_url="https://example.com",
    website_key="6Le-wvkSAAAAAPBMRTvw0Q4Muexq9bi0DJwx_mJ-"
)
print(token)

Supported Captcha Types

Type Task Name Method
AWS WAF AwsWafClassification solve_waf()
Image/Text ImageToTextTask solve_image()
Math MathCaptcha solve()
Audio AudioTask solve_audio()
FriendlyCaptcha FriendlyCaptchaTaskProxyless solve_friendly()
reCAPTCHA v2 ReCaptchaV2TaskProxyless solve_recaptcha_v2()
FunCaptcha FunCaptchaTaskProxyless solve_funcaptcha()
FunCaptcha Classification FunCaptchaClassification solve()

Advanced Usage

# Custom base URL
solver = NextSolver(
    api_key="YOUR_KEY",
    base_url="https://your-server.com",
    timeout=180,
    poll_interval=5.0
)

# Low-level: create task + poll manually
resp = solver.create_task({"type": "AwsWafClassification", "images": [...], "question": "umbrella"})
result = solver.get_task_result(resp["taskId"])

# Check balance
balance = solver.get_balance()
print(f"Credits: {balance}")

API Documentation

Full docs: https://nextsolver.com/docs-api

License

Copyright (c) 2024-2026 NextSolver. MIT License — see LICENSE.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

nextsolver-1.0.0.tar.gz (4.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

nextsolver-1.0.0-py3-none-any.whl (5.2 kB view details)

Uploaded Python 3

File details

Details for the file nextsolver-1.0.0.tar.gz.

File metadata

  • Download URL: nextsolver-1.0.0.tar.gz
  • Upload date:
  • Size: 4.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.0rc1

File hashes

Hashes for nextsolver-1.0.0.tar.gz
Algorithm Hash digest
SHA256 9a83a9ff6ffc64471be86d9d6944ecf670ff33d74e975746895c70f0202c95ef
MD5 cb2337c210bb97cfaab6917f713564e8
BLAKE2b-256 22303c4cb9728d51527ced255482c04527c14f311509cd6434c79ed62b43c2bc

See more details on using hashes here.

File details

Details for the file nextsolver-1.0.0-py3-none-any.whl.

File metadata

  • Download URL: nextsolver-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 5.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.0rc1

File hashes

Hashes for nextsolver-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 7e19728831d03da4af50a65f745118abe666d1d0785cb1075846f76cfa398fc9
MD5 0a17c09d79e5ee5a7138c46fb7356647
BLAKE2b-256 1f4fa1b13b3db59b321447ef75046e0ee7fbacc75b9069abc3e11d21fe09fab6

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page