AI Agent Integration

Solve CAPTCHAs in Vercel Agent Browser

When your AI agent hits a Cloudflare Turnstile, reCAPTCHA, or hCaptcha challenge in Vercel's Agent Browser, GateSolve provides the token to get past it. Simple REST API. 100 free solves. No credit card.

The Problem

Vercel Agent Browser gives your AI agent a real browser. But real browsers hit real CAPTCHAs. When Cloudflare detects automated traffic — even from a legitimate agent browser — it throws up a Turnstile challenge.

Your agent can see the page. It can interact with elements. But it cannot solve the CAPTCHA widget. That's where GateSolve comes in.

How It Works

1

Agent detects CAPTCHA

Your agent encounters a CAPTCHA challenge during browsing. Extract the siteKey and page URL.

2

Submit to GateSolve

POST the CAPTCHA type, siteKey, and pageUrl to our API. Get back a job ID.

3

Poll or webhook

Poll the job status, or provide a callbackUrl to get notified when solved.

4

Inject token

Use the returned token to fill the CAPTCHA response field and submit the form.

Quick Start

REST API (works with any language)

# Submit a CAPTCHA solve request
curl -X POST https://gatesolve.dev/api/solve \
  -H "Content-Type: application/json" \
  -H "x-api-key: gs_your_key_here" \
  -d '{
    "type": "cloudflare-turnstile",
    "siteKey": "0x4AAAAAAA...",
    "pageUrl": "https://example.com/login"
  }'

# Poll for result
curl https://gatesolve.dev/api/solve?id=JOB_ID \
  -H "x-api-key: gs_your_key_here"

Python SDK

from gatesolve import GateSolve

solver = GateSolve(api_key="gs_your_key_here")

# Solve any CAPTCHA by URL + siteKey
result = solver.solve(
    type="cloudflare-turnstile",
    page_url="https://example.com/login",
    site_key="0x4AAAAAAA..."
)

# Inject the token into your agent's form submission
print(f"Token: {result.token}")

pip install gatesolve

Webhook (no polling needed)

# Submit with callback URL for async notification
curl -X POST https://gatesolve.dev/api/solve \
  -H "Content-Type: application/json" \
  -H "x-api-key: gs_your_key_here" \
  -d '{
    "type": "cloudflare-turnstile",
    "siteKey": "0x4AAAAAAA...",
    "pageUrl": "https://example.com",
    "callbackUrl": "https://your-agent.dev/webhook"
  }'

Supported CAPTCHAs

Cloudflare Turnstile

$0.02/solve

Most common on modern sites. Managed and invisible modes.

reCAPTCHA v2/v3

$0.03/solve

Google's CAPTCHA. Checkbox, invisible, and score-based.

hCaptcha

$0.03/solve

Privacy-focused alternative. Image and checkbox challenges.

GateSolve vs CapSolver for Agent Browser

FeatureGateSolveCapSolver
Free tier100 solves, no cardNo free tier
Turnstile price$0.02/solve$0.80/1K ($0.0008)
MCP serverOfficial registryNot available
Python SDKpip install gatesolvepip install capsolver
Webhook callbacksYesNo
Agent-first designBuilt for AI agentsBuilt for scrapers

Note: CapSolver is cheaper per-solve at scale. GateSolve offers free tier and agent-native features (MCP, webhooks).

Start solving in 30 seconds

100 free solves. No credit card. API key in one click.

Get Free API Key