Solve a captcha
Solve hCaptcha, AWS WAF, CaptchaFox, Akamai BMP, Cloudflare Turnstile, the Cloudflare challenge, MTCaptcha and GeeTest v4 with one API call.
Solve hCaptcha, AWS WAF, CaptchaFox, Akamai BMP, Cloudflare Turnstile, Cloudflare Challenge, MTCaptcha, and GeeTest v4. You are charged only when a task succeeds.
Captcha types
Each type has its own page with step-by-step help, code and fixes. Click the name.
| Type | Name | Needs website_key |
Accepts rqdata |
Accepts cdata |
Requires proxy |
|---|---|---|---|---|---|
standard_hcaptcha |
hCaptcha (standard) | Yes | Optional | No | No |
enterprise_hcaptcha |
hCaptcha Enterprise | Yes | Optional | No | No |
hsw_hcaptcha |
hCaptcha HSW | Yes | Optional | No | No |
aws_waf |
AWS WAF | No | No | No | No |
captchafox |
CaptchaFox | Yes | No | No | No |
akamai |
Akamai BMP | No | No | No | No |
turnstile |
Cloudflare Turnstile | Yes | No | Optional | No |
cloudflare_challenge |
Cloudflare Challenge | No | No | No | Yes |
mtcaptcha |
MTCaptcha | Yes | No | No | No |
geetest |
GeeTest v4 | Yes (captcha_id) |
No | No | No |
Check live prices anytime with GET /api/captcha/v1/families. It shows current prices, including any discounts on your account:
curl -s -H "Authorization: Bearer $DRAXON_KEY" \
https://draxon.one/api/captcha/v1/families
Example response:
{
"data": [
{
"type": "standard_hcaptcha",
"label": "hCaptcha (standard)",
"requires_website_key": true,
"accepts_rqdata": true,
"accepts_cdata": false,
"requires_proxy": false,
"price_micros": 4000,
"price_usd": "0.004000"
},
{
"type": "enterprise_hcaptcha",
"label": "hCaptcha Enterprise",
"requires_website_key": true,
"accepts_rqdata": true,
"accepts_cdata": false,
"requires_proxy": false,
"price_micros": 8000,
"price_usd": "0.008000"
},
{
"type": "aws_waf",
"label": "AWS WAF",
"requires_website_key": false,
"accepts_rqdata": false,
"accepts_cdata": false,
"requires_proxy": false,
"price_micros": 800,
"price_usd": "0.000800"
},
{
"type": "captchafox",
"label": "CaptchaFox",
"requires_website_key": true,
"accepts_rqdata": false,
"accepts_cdata": false,
"requires_proxy": false,
"price_micros": 800,
"price_usd": "0.000800"
},
{
"type": "akamai",
"label": "Akamai BMP",
"requires_website_key": false,
"accepts_rqdata": false,
"accepts_cdata": false,
"requires_proxy": false,
"price_micros": 800,
"price_usd": "0.000800"
},
{
"type": "turnstile",
"label": "Cloudflare Turnstile",
"requires_website_key": true,
"accepts_rqdata": false,
"accepts_cdata": true,
"requires_proxy": false,
"price_micros": 750,
"price_usd": "0.000750"
},
{
"type": "cloudflare_challenge",
"label": "Cloudflare Challenge",
"requires_website_key": false,
"accepts_rqdata": false,
"accepts_cdata": false,
"requires_proxy": true,
"price_micros": 900,
"price_usd": "0.000900"
},
{
"type": "mtcaptcha",
"label": "MTCaptcha",
"requires_website_key": true,
"accepts_rqdata": false,
"accepts_cdata": false,
"requires_proxy": false,
"price_micros": 500,
"price_usd": "0.000500"
},
{
"type": "geetest",
"label": "GeeTest v4",
"requires_website_key": true,
"accepts_rqdata": false,
"accepts_cdata": false,
"requires_proxy": false,
"price_micros": 800,
"price_usd": "0.000800"
}
]
}
Money amounts in _micros fields are millionths of a dollar (1,000,000 = $1.00). The _usd field shows the same amount in standard dollars.
Create a task
Send POST /api/captcha/v1/tasks with your API key. To prevent duplicate charges if your network drops, send an Idempotency-Key header with a unique string.
Request fields
| Field | Type | Required | Description |
|---|---|---|---|
type |
string | Yes | One of standard_hcaptcha, enterprise_hcaptcha, hsw_hcaptcha, aws_waf, captchafox, akamai, turnstile, cloudflare_challenge, mtcaptcha, geetest. |
website_url |
string | Yes | Full URL of the page showing the captcha. |
website_key |
string | For hCaptcha, CaptchaFox, Turnstile, MTCaptcha & GeeTest | Site key from the page (for GeeTest, its captcha_id). |
rqdata |
string | Optional | Extra challenge payload for hCaptcha. |
cdata |
string | Optional | Turnstile widget’s cData value, up to 255 characters. |
action |
string | Optional | Action name, if the page sets one. |
proxy |
string | Optional, required for cloudflare_challenge |
Your proxy, user:pass@host:port (or with http://, https://, socks5://). Worker-solved types load the challenge through it from the worker’s phone; if the phone cannot use it the task fails with a proxy error instead of running without it. For cloudflare_challenge the returned cf_clearance cookie only works from the IP that earned it, so you must reuse the same proxy (and the returned user_agent) for every request that sends the cookie. |
user_agent |
string | Optional | Browser User-Agent string. |
screen |
string | Optional | Screen size the challenge sees, as WIDTHxHEIGHT (e.g. 1920x1080). Applied by types that run in a real browser; keep it consistent with your user_agent. |
invisible |
boolean | Optional | Set true if the captcha widget has no visible checkbox. Default false. |
Example request
curl -s -X POST https://draxon.one/api/captcha/v1/tasks \
-H "Authorization: Bearer $DRAXON_KEY" \
-H "Content-Type: application/json" \
-H "Idempotency-Key: 7b8a5b2c-623b-410a-8677-2b7e56230f21" \
-d '{
"type": "standard_hcaptcha",
"website_url": "https://example.com/login",
"website_key": "10000000-ffff-ffff-ffff-000000000001"
}'
Response (201 Created):
{
"id": "7b8a5b2c-623b-410a-8677-2b7e56230f21",
"type": "standard_hcaptcha",
"status": "queued",
"website_host": "example.com",
"cost_micros": 4000,
"cost_usd": "0.004000",
"charged_micros": 0,
"attempts": 0,
"created_at": "2026-10-09T10:00:00Z",
"completed_at": null,
"solution": null,
"error": null
}
The task price is set aside — reserved — from your balance while it runs. You are charged only if it succeeds.
Get the result
Wait for the result in one request by adding ?wait=30 (any value from 0 to 120 seconds):
curl -s -H "Authorization: Bearer $DRAXON_KEY" \
"https://draxon.one/api/captcha/v1/tasks/7b8a5b2c-623b-410a-8677-2b7e56230f21?wait=30"
Solved response (200 OK):
{
"id": "7b8a5b2c-623b-410a-8677-2b7e56230f21",
"type": "standard_hcaptcha",
"status": "solved",
"website_host": "example.com",
"cost_micros": 4000,
"cost_usd": "0.004000",
"charged_micros": 4000,
"attempts": 1,
"created_at": "2026-10-09T10:00:00Z",
"completed_at": "2026-10-09T10:00:06Z",
"solution": {
"token": "P1_eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9...",
"user_agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64)..."
},
"error": null
}
You can also poll without ?wait, or receive a notification to your server when the task finishes (see /docs/webhooks).
Task statuses
queued: Waiting to start.processing: In progress.solved: Solved successfully.solution.tokencontains the response token.failed: Could not be solved.expired: Took too long and timed out.
Tasks usually complete in seconds. Any task that is not finished within ~3 minutes expires. When a task ends in failed or expired, charged_micros is 0 and the reserved amount returns to your balance.
Use the solution token
- hCaptcha and CaptchaFox: Submit
solution.tokenas the captcha form value (usually theh-captcha-responseorcaptchafox-solutionhidden input). - AWS WAF: Set an
aws-waf-tokencookie with the exact value fromsolution.tokenon your target requests. - Akamai BMP: Send the cookies in
solution.cookies(orsolution.cookie_headeras-is) with your request to the target, using the sameuser_agentyou sent on the task. - Cloudflare Turnstile: Submit
solution.tokenas the form value the page expects (usuallycf-turnstile-response), usingsolution.user_agentfor the request that redeems it. - Cloudflare Challenge: Use
solution.cookies.cf_clearance(orsolution.cookie_headeras-is) together withsolution.user_agenton every request to the target — thecf_clearancecookie only works from the IP that earned it, so keep using the sameproxyyou sent on the task. With a rotating proxy, send a sticky session that lasts several minutes: a solve takes 25-40 seconds, and a session that changes IP during or right after it (for example a 1-minute session) gets a cookie the target rejects. - MTCaptcha: Put
solution.token(it looks likev1(…)) in the page’s hiddenmtcaptcha-verifiedtokenfield and submit the form. - GeeTest v4:
solution.tokenis GeeTest’spass_token;solution.captcha_id,solution.lot_number,solution.gen_timeandsolution.captcha_outputcome with it. Send all of them the way the page does; the site validates them together.
Task history and stats
List recent tasks:
curl -s -H "Authorization: Bearer $DRAXON_KEY" \
"https://draxon.one/api/captcha/v1/tasks?limit=20&status=solved"
Check your 30-day solving statistics:
curl -s -H "Authorization: Bearer $DRAXON_KEY" \
"https://draxon.one/api/captcha/v1/stats?days=30"
For common task failure codes and HTTP errors, see /docs/errors.