What is CaptchaFox?
CaptchaFox is a captcha that many European websites use because it is built with privacy rules in mind. You see a small box on a form. Often a quick check in the background is enough. When it isn’t, CaptchaFox asks you to do a small task, like sliding a puzzle piece into place.
When you pass, CaptchaFox puts a token into the form. The website checks that token with CaptchaFox when you send the form. You’ll find it on sign-up and login pages, contact forms, newsletter forms and shops.
Without the token, the form is refused, and that’s what stops a script. DraxonCloud gives your script the token through a simple API, so it can send the form like a person who passed the check.
How to solve CaptchaFox with DraxonCloud
- Copy the address of the page with the CaptchaFox box.
- Copy the CaptchaFox site key from the page.
- Send both to our API with the type
captchafox. - Wait for the answer in one request.
- Put the token in the
captchafox-solutionfield and submit.
What you send
website_url: the full address of the page that shows CaptchaFox, likehttps://example.com/contact.website_key: the CaptchaFox site key. It is a public ID the site gives its widget. To find it:- Right-click the page, choose “View page source” and search for
data-sitekey. It sits on the CaptchaFox element. - If the widget is added by a script, open the developer tools, go to the Network tab, reload, and look for requests to CaptchaFox. The site key is part of them.
- Right-click the page, choose “View page source” and search for
That’s all this type needs. No extra data, no proxy.
What you get back
A solved task gives you solution.token, the CaptchaFox response token.
To use it:
- Put it in the hidden form field named
captchafox-solution. - Submit the form from the same page address you sent us.
- If the site sends the token another way, for example inside a JSON body, pass the captcha once by hand with the Network tab open and copy what the page sends.
- Use it soon after you get it. Tokens are meant to be used once.
A quick example
Start a task:
curl -s -X POST https://draxon.one/api/captcha/v1/tasks \
-H "Authorization: Bearer $DRAXON_KEY" \
-H "Content-Type: application/json" \
-d '{
"type": "captchafox",
"website_url": "https://example.com/contact",
"website_key": "sk_your_captchafox_site_key"
}'
Wait for the answer:
curl -s -H "Authorization: Bearer $DRAXON_KEY" \
"https://draxon.one/api/captcha/v1/tasks/<id>?wait=30"
When it’s ready (some fields left out):
{
"status": "solved",
"solution": {
"token": "eyJhbGciOiJIUzI1NiJ9.eyJzayI6..."
}
}
Then send your form with captchafox-solution=<solution.token>.
Already using another service?
- CapSolver and Anti-Captcha style:
createTaskwithCaptchaFoxTaskorCaptchaFoxTaskProxyless, pluswebsiteURLandwebsiteKey. - 2Captcha style:
in.phpwithmethod=captchafox,sitekeyandpageurl.
Change the address to ours and use your DraxonCloud key. The formats are on Compatible APIs.
When the site says no
Most problems come from one of a few small mistakes. Here is what to check, in order:
- The site key. Copy it again from the page you submit on. A key from the sign-up page won’t help on the contact page if the site uses different ones.
- The page address. Send the address of the page with the form, not the site’s home page.
- The field name. The token goes in
captchafox-solution. If the page sends it somewhere else, follow the page. - The timing. If minutes pass between getting the token and sending the form, get a new one.
- The rest of the form. Sometimes the captcha is fine and another field is missing, like a hidden form ID or a session cookie. Compare your request with the one your browser sends.
If a task ends as failed, nothing is charged, and you can simply send a new one.
What it costs
You pay for each solved CaptchaFox. The live price is in the box at the top of this page and on the pricing page. We set the price aside when the task starts, charge it only when you get a token, and give it all back if the task fails or runs out of time. A task is never charged twice.
Tips that save you time
- Take the site key from the page you submit. If you copy it from another page of the site, it may not match.
- Fill the right field. The form field is
captchafox-solution, not the name of the widget. - Get the token right before you submit. Don’t keep a stock of tokens.
- Check what the page sends. One look at the Network tab saves a lot of guessing.
- Use
?wait=30so one request brings back the answer. - Retry with an
Idempotency-Keyafter a network error, so you never pay twice.
Every field, code sample and error is in the CaptchaFox docs.