ai-agent

unicaps

A unified Python API for CAPTCHA solving services.
234 stars17 forksPythonUpdated 5/12/2025100% free · open source
What it does

Provides a single Python interface to send CAPTCHAs to multiple solving services (2Captcha, Anti‑Captcha, CapMonster, etc.) and get the solution back.

When to use it
  • •Your web‑scraping bot hits a site that serves image or reCAPTCHA challenges and you need an automated solve.
  • •You already have accounts with a solving provider and want to switch providers without changing code.
  • •You are building a SaaS that needs to outsource CAPTCHA solving and want a plug‑and‑play library.
Ready-to-paste prompt
```python
from unicaps import CaptchaSolver

# Use Anti-Captcha for a hCaptcha challenge
solver = CaptchaSolver(provider='anticaptcha', api_key='YOUR_ANTICAPTCHA_KEY')

solution = solver.solve_hcaptcha(
    site_key='10000000-ffff-ffff-ffff-000000000001',
    url='https://accounts.google.com/ServiceLogin',
    proxy='http://user:pass@12.34.56.78:3128'  # optional but often required
)
print('hCaptcha token:', solution.token)
```
Heads up: The library only forwards the request to the external solving service – you must have a funded account and a valid API key for the chosen provider; without it, `solve_*` calls will raise an authentication error.
Saves to your device
Use with Claude
New

Skip the builder — one click puts this in Claude, Cursor, Antigravity and more.

🔑 Needs an API key

Works after you add credentials — the setup agent will ask you for them.

Try it instantly — no install
Claude Code
mkdir -p ~/.claude/skills/unicaps && curl -fsSL https://workflowstacks.com/api/skills/unicaps/claude-skill -o ~/.claude/skills/unicaps/SKILL.md
Open in another AI app

Opens the app with this repo with the prompt ready to go — no copy-paste needed.

Connect the whole catalog (MCP)
claude mcp add --transport http workflowstacks https://workflowstacks.com/api/mcp

Adds a WorkflowStacks connector to Claude Code: search and load any skill here by chatting.

How unicaps works
Codeflow
Free to inspect

Unicaps is a medium Python project (~5.4k lines across 62 code files, plus 9 test files). Setup is light: installs like a normal app. Reading the code is optional. Last commit 18 months ago, Apache-2.0 license, has a test suite.

Size
Medium codebase
~5.4k lines · 62 code files · 45 min skim
Setup
One-command install
Installs like a normal app. Reading the code is optional.
Runs on
Python
No API keys detected
Python 100%
Where to start reading
  1. 1
    README.md
    Start here — what it does and how to install it
  2. 2
    requirements.txt
    Dependencies and the commands it exposes
  3. 3
    unicaps/__init__.py
    Inside unicaps/ — the main logic begins here
  4. 4
    examples/README.MD
    A worked example — copy this to get going
What's in each folder
unicaps/Core code — the actual logic35 files
examples/Examples you can copy27 files
tests/Tests — proof it works10 files
.github/CI / automation (GitHub Actions)2 files
READMEHas testsDocumentedCI checksExamples includedApache-2.0 licenseLast update 18 mo ago
Quick Actions
Details
Creator
sergey-scat
Language
Python
Category
ai-agent
Published
7/17/2020

Are you the creator of this tool? and earn 85% of every sale.

Show it off in your README:

Featured on WorkflowStacks
[![Featured on WorkflowStacks](https://workflowstacks.com/api/badge/unicaps.svg)](https://workflowstacks.com/skills/unicaps?utm_source=github&utm_medium=badge)
🔥 Hot this week, in your inbox
Skills like this, every Monday.

The five fastest-growing open-source AI skills, ranked by GitHub star growth. One email a week, unsubscribe anytime.