Skip to content

ohmycaptcha

Self-hosted captcha-solving API compatible with the YesCaptcha protocol

Permissive (OSI) · MIT AI-native

Listed by , founder & editor

23

Health

Dormant

Overview

Stars

912

Last commit

9 months ago

Mar 2026

Repository age

9 months

since Mar 2026

Latest version

–

Contributors

–

Releases

0

last 12 months

Language

Python

OhMyCaptcha is a captcha-solving service that exposes a YesCaptcha-style asynchronous API. Clients create a task with createTask, then poll getTaskResult. It was built as a third-party solver for flow2api and similar tools that expect those calls.

It supports 19 task types. Twelve use Playwright with Chromium for reCAPTCHA v2 and v3, hCaptcha and Cloudflare Turnstile. The rest cover image-to-text and image classification, using a multimodal model. That can be a local Qwen model served through SGLang or a cloud OpenAI-compatible endpoint.

The service is written in Python with FastAPI and uses the MIT license. Tasks sit in an in-memory queue with a 10-minute TTL. You can run it locally, or deploy it to Render or Hugging Face Spaces with Docker.

It stands in for hosted captcha-solving services that use the YesCaptcha protocol.

Who it's for

Developers running flow2api

It implements the createTask and getTaskResult calls that integration expects.

Skip if: Your tool uses a different captcha API.

Self-hosters who want a local vision model for captchas

Image tasks can use a Qwen model on your own SGLang server.

Skip if: You have no GPU or do not want to run a model server.

The problem it solves

Hosted captcha-solving services charge per request and need an outside account. This project gives you a compatible API you run yourself, with your own model backend.

Strengths

  • 19 task types across reCAPTCHA, hCaptcha, Turnstile and image captchas
  • Implements the YesCaptcha createTask, getTaskResult and getBalance calls
  • Works with a local SGLang model or any OpenAI-compatible endpoint
  • Deploys locally, on Render or on Hugging Face Spaces
  • MIT license

Trade-offs

  • No commits since March 2026 and no releases in the past year
  • Task queue is in memory, so tasks are lost on restart
  • Needs Playwright with Chromium installed
  • Using it may violate the terms of sites that deploy captchas

Self-host ohmycaptcha

Self-hostable
Yes

Quick start

python -m venv .venv && source .venv/bin/activate
pip install -r requirements.txt
playwright install --with-deps chromium
python main.py

From the project's own install instructions. Check the docs for production settings.

Frequently asked questions

Is it free?

Yes, it is MIT licensed. A cloud model endpoint, if you use one, bills you separately.

Can I self-host it?

Yes. It runs locally with Python, or on Render or Hugging Face Spaces with Docker.

Which captchas does it handle?

reCAPTCHA v2 and v3, hCaptcha, Cloudflare Turnstile, plus image-to-text and image classification tasks.

Is it compatible with YesCaptcha clients?

It implements the createTask, getTaskResult and getBalance calls of the YesCaptcha protocol.

Similar tools in Web scraping tools

zimit

Web scraping tools

Docker-based scraper that turns any website into an offline ZIM archive

871 53 today Active GPL-3.0

Change Detection

Web scraping tools

Android app that watches web pages and shows you exactly what changed

761 110 5 days ago Active Apache-2.0

reader

Web scraping tools

TypeScript library that scrapes and crawls sites into markdown for AI agents

581 42 2 months ago Slowing Apache-2.0

Replaces Firecrawl

pagesift

Web scraping tools

Self-hosted Rust engine that turns URLs and documents into Markdown, with a Firecrawl API

310 38 today Thriving Apache-2.0

Replaces Firecrawl

teracrawl

Web scraping tools

Self-hosted API that turns web pages and Google results into Markdown for LLM pipelines

291 34 12 months ago Dormant MIT

x-twitter-scraper

Web scraping tools

Hosted X (Twitter) data API and MCP server for agents and developers who need tweet

230 25 yesterday Active MIT