July 2026
AI agents are getting smarter every month. Claude can write code, browse the web, and reason about complex problems. Cursor can build entire applications. OpenAI's agents can navigate websites. But there's a fundamental gap: the web was built for humans, not machines.
Every AI agent eventually hits the same walls:
- Captchas — The web's immune system. reCAPTCHA, hCaptcha, Turnstile, Cloudflare challenges. Your agent can't solve them natively.
- JavaScript-only content — Modern SPAs and React apps return empty
<div> tags without JS execution. Basic HTTP clients see nothing.
- Email verification — Every SaaS requires email confirmation. Your agent needs a real inbox, not a fake one.
- SMS verification — Banking, social media, marketplaces all demand phone numbers. Your agent needs real temp numbers.
- Visual verification — Sometimes your agent needs to see a page — a screenshot beats parsing HTML.
The solution: UnblockAPI provides all six capabilities through a single API key with flat dollar pricing. Your agent calls us when it hits a wall — we return the result. No credits to manage, no five different services to integrate.
The Cost of DIY
Building these capabilities yourself means:
- Running headless Chromium clusters ($50-200/month in compute)
- Integrating with 2Captcha or Anti-Captcha (separate billing, per-type pricing)
- Managing temp email providers (MailTM, Guerrilla Mail APIs change constantly)
- SMS verification services (fragmented, expensive, unreliable)
- Web search APIs (SerpAPI, Brave Search — each their own integration)
Total: 5+ integrations, 5+ billing relationships, and constant maintenance. Or: one API key and flat pricing from $0.05/call.
July 2026
When you're building an AI agent that operates autonomously on the web, you have two options: build the infrastructure yourself or use a unified API. Here's the breakdown.
| Capability | DIY Cost/Month | DIY Complexity | UnblockAPI |
| Captcha Solving | $10-50 (2Captcha) | Medium — per-type pricing, polling | $0.10/solve, any type |
| Browser Rendering | $50-200 (server) | High — Chromium management, memory | $0.05/fetch |
| Temp Email | $0-10 (MailTM) | Medium — provider changes break things | $0.05/inbox |
| SMS Verification | $20-100 (fragmented) | High — country coverage, reliability | $0.50/number |
| Screenshots | Part of browser infra | High — full-page, viewport management | $0.05/shot |
| Web Search | $0-50 (SerpAPI) | Medium — rate limits, parsing | $0.05/search |
| Total | $80-410/month | 5 integrations to maintain | One API key |
Bottom line: At 1,000 API calls/month across all services, UnblockAPI costs ~$20-50. DIY costs $80-410/month before you write a line of integration code. And we ship an MCP server so your agent uses us as native tools.
July 2026
Claude Desktop with MCP (Model Context Protocol) is already powerful. But it can't solve captchas, render JavaScript, or verify emails. With UnblockAPI's MCP server, Claude gets 11 new tools.
Setup (30 seconds)
# 1. Get a free API key
curl -X POST https://api.unblockapi.com/api/v1/account/register/anonymous
# → {"api_key": {"key": "ub_abc123..."}}
# 2. Add to ~/AppData/Roaming/Claude/claude_desktop_config.json:
{
"mcpServers": {
"unblockapi": {
"command": "python",
"args": ["-m", "mcp_server.server"],
"env": {
"UNBLOCK_API_KEY": "ub_abc123...",
"UNBLOCK_API_URL": "https://api.unblockapi.com"
}
}
}
}
# 3. Restart Claude and ask:
"Take a screenshot of stripe.com/pricing"
"Solve the reCAPTCHA on example.com using site key 6LeIxAcT..."
"Search the web for 'latest AI agent frameworks 2026'"
11 MCP Tools Your Agent Gets
unblock_screenshot — Full-page PNG/JPEG screenshots
unblock_browser_fetch — JS-rendered HTML/text extraction
unblock_search — DuckDuckGo-backed web search
unblock_solve_captcha — 40+ captcha types, one tool
unblock_email_generate — Create disposable inbox
unblock_email_inbox — Poll inbox for verification codes
unblock_sms_number — Rent temp phone numbers
unblock_sms_check — Check for incoming SMS codes
unblock_sms_wait — Rent + wait for code (one call)
unblock_pricing — Current pricing and balance info
unblock_account — Account status and usage stats
Try it free: Register anonymously, get 5 free calls, no credit card. Your Claude instance becomes capable of interacting with any website — captchas, SPAs, email verification, and more.
July 2026
Captchas are the web's primary defense against automation. For AI agents, they're the #1 roadblock. Here's what every developer building autonomous agents needs to know.
Captcha Types Your Agent Will Face
| Type | Used By | Difficulty | UnblockAPI Cost |
| reCAPTCHA v2 | Google, millions of sites | Medium | $0.10 |
| reCAPTCHA v3 | Enterprise sites | Hard (score-based) | $0.10 |
| hCaptcha | Cloudflare, Discord | Medium | $0.10 |
| Turnstile | Cloudflare (newer) | Medium | $0.10 |
| FunCaptcha | Social platforms | Hard (3D rotation) | $0.10 |
| GeeTest v3/v4 | Asian platforms | Hard (slider) | $0.10 |
| Cloudflare Challenge | DDoS-protected sites | Hard | $0.10 |
All 40+ supported types cost the same $0.10 through UnblockAPI. No per-type surcharges. The API handles token freshness, retries, and provider failover automatically.
Example: Solving reCAPTCHA v2
curl -X POST https://api.unblockapi.com/api/v1/captcha/solve \
-H "Content-Type: application/json" \
-H "X-API-Key: ub_..." \
-d '{
"type": "recaptcha_v2",
"site_key": "6LeIxAcTAAAAAJcZVRqyHh71UMIEGNQ_MXjiZKhI",
"site_url": "https://example.com"
}'
# Response:
# {"token": "03AFcWeA...", "solved": true, "solve_time_ms": 8500, "credits_spent": 10}
The returned token can be submitted with your form — the site sees a solved captcha. Your agent continues its workflow uninterrupted.
July 2026
OpenAI's Agents SDK makes it easy to build autonomous agents that can use tools, browse the web, and complete multi-step tasks. But when your agent hits a captcha, a JS-only page, or an email verification wall — it's stuck. UnblockAPI fills that gap.
Architecture
# Your agent workflow
User Request → Agent Planner → Web Action → ROADBLOCK → UnblockAPI → Result → Continue
# Python example: OpenAI agent with UnblockAPI fallback
import httpx
from openai import OpenAI
UNBLOCK_KEY = "ub_..."
client = OpenAI()
async def solve_captcha_if_needed(page_html, url):
"""Detect captcha and solve it via UnblockAPI"""
if "recaptcha" in page_html.lower():
import re
site_key = re.search(r'data-sitekey="([^"]+)"', page_html)
if site_key:
async with httpx.AsyncClient() as http:
r = await http.post(
"https://api.unblockapi.com/api/v1/captcha/solve",
json={"type": "recaptcha_v2", "site_key": site_key.group(1), "site_url": url},
headers={"X-API-Key": UNBLOCK_KEY}
)
return r.json()["token"]
return None
Cost Breakdown for a Typical Agent Run
| Action | Tokens | UnblockAPI Cost |
| Browse 10 web pages | ~5,000 tokens | $0.50 (browser fetch) |
| Solve 2 captchas | ~0 (can't do it) | $0.20 |
| Verify 1 email | ~0 (can't do it) | $0.05 |
| Take 3 screenshots | ~0 (can't do it) | $0.15 |
| Total | 5,000 tokens (~$0.03) | $0.90 |
Your agent becomes 10x more capable for less than a dollar per run.
July 2026
LangChain and LangGraph power thousands of production AI agents. But the built-in WebBaseLoader and PlaywrightTool have serious limitations. Here's how to plug UnblockAPI into your LangChain agent for production-grade web interaction.
Custom LangChain Tool
from langchain.tools import BaseTool
from pydantic import BaseModel, Field
import httpx
class UnblockCaptchaInput(BaseModel):
site_url: str = Field(description="URL of the page with the captcha")
site_key: str = Field(description="reCAPTCHA site key from the page")
captcha_type: str = Field(default="recaptcha_v2")
class UnblockCaptchaTool(BaseTool):
name: str = "solve_captcha"
description: str = "Solve reCAPTCHA/hCaptcha/Turnstile captchas. Use when a page blocks automation."
args_schema: type = UnblockCaptchaInput
def _run(self, site_url, site_key, captcha_type="recaptcha_v2"):
import asyncio
return asyncio.run(self._arun(site_url, site_key, captcha_type))
async def _arun(self, site_url, site_key, captcha_type):
async with httpx.AsyncClient() as client:
r = await client.post(
"https://api.unblockapi.com/api/v1/captcha/solve",
json={"type": captcha_type, "site_key": site_key, "site_url": site_url},
headers={"X-API-Key": "ub_..."}
)
data = r.json()
return f"Captcha solved! Token: {data['token'][:20]}..."
Full Tool Set for LangChain Agents
Create similar tool classes for all six services. Your LangChain agent can then:
solve_captcha — Bypass any captcha automatically
fetch_rendered_page — Get JS-rendered HTML (SPAs, React apps)
generate_temp_email — Create disposable inbox for sign-ups
rent_temp_phone — Get SMS verification codes
take_screenshot — Visual page verification
search_web — Real-time web search
Production tip: Use LangGraph's ToolNode with conditional edges. If the agent's HTTP request returns a captcha page, route to the solve_captcha tool, then retry the original request with the solved token.
Ready to unblock your agents?
5 free calls. No credit card. Try any service right now.
Get your free API key