Skip to main content

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.

Metadata

Release files for nextsolver 1.0.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for nextsolver 1.0.0
File Size Uploaded Provenance Actions
nextsolver-1.0.0.tar.gz 4.6 kB Without provenance Details for nextsolver-1.0.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for nextsolver 1.0.0
File Interpreter ABI Platform Actions
nextsolver-1.0.0-py3-none-any.whl Python 3 none any Details for nextsolver-1.0.0-py3-none-any.whl

Total release size: 9.8 kB

Release files / nextsolver-1.0.0.tar.gz

Download URL nextsolver-1.0.0.tar.gz
Size 4.6 kB
Tags Source
SHA-256 checksum
How to use checksums
9a83a9ff6ffc64471be86d9d6944ecf670ff33d74e975746895c70f0202c95ef
BLAKE2b-256 checksum
How to use checksums
22303c4cb9728d51527ced255482c04527c14f311509cd6434c79ed62b43c2bc
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.11.0rc1

Release files / nextsolver-1.0.0-py3-none-any.whl

Download URL nextsolver-1.0.0-py3-none-any.whl
Size 5.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
7e19728831d03da4af50a65f745118abe666d1d0785cb1075846f76cfa398fc9
BLAKE2b-256 checksum
How to use checksums
1f4fa1b13b3db59b321447ef75046e0ee7fbacc75b9069abc3e11d21fe09fab6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.11.0rc1

Security for nextsolver 1.0.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

1.0.0 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page