CaptchaFox
CaptchaFox: parameters, request, response and the 2Captcha method of CaptchaFoxTask.
On this page
CaptchaFox: the slider widget with a site key. It is solved only through your proxy and with your User-Agent.
| Status | coming soon |
| Type codes | CaptchaFoxTask — with your proxy |
| Proxy | required — your proxy |
| Also accepted as | — |
| Price | set when the type is switched on — see pricing |
Rules#
userAgentis required: the answer works only with the browser that sends it.- Only with your proxy: the answer is bound to the IP address it was obtained from. See Proxies.
Parameters#
Fields of the task object in createTask:
ParameterDescription
typestringrequired- Task type:
CaptchaFoxTask. websiteURLstringrequired- Full address of the page with the captcha: http(s), up to 2048 characters, a public site.
websiteKeystringrequired- Site key of the widget on the page. Letters, digits and
_ - . :, up to 128 characters. apiServerstring- API server of the widget. Absolute http(s) URL of a public site, up to 2048 characters.
userAgentstringrequired- User-Agent of the browser that will use the answer, up to 512 characters. Required for this captcha.
proxyTypestringhttp(default),https,socks4orsocks5.proxyAddressstringrequired- IP address or host name of the proxy. Private and local addresses are rejected.
proxyPortintegerrequired- Proxy port, 1–65535.
proxyLoginstring- Proxy login, up to 256 characters. Stored encrypted.
proxyPasswordstring- Proxy password, up to 256 characters. Stored encrypted.
Request#
A CaptchaFoxTask task:
{
"clientKey": "YOUR_API_KEY",
"task": {
"type": "CaptchaFoxTask",
"websiteURL": "https://example.com/login",
"websiteKey": "SITE-KEY-1234",
"userAgent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/145.0.0.0 Safari/537.36",
"proxyType": "http",
"proxyAddress": "203.0.113.10",
"proxyPort": 8080,
"proxyLogin": "user",
"proxyPassword": "pass"
}
}Response#
getTaskResult once the task is solved:
{
"errorId": 0,
"status": "ready",
"solution": {
"token": "TOKEN_eyJhbGciOiJIUzI1NiJ9…",
"userAgent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/145.0.0.0 Safari/537.36"
},
"cost": "0.001500",
"ip": "198.51.100.7",
"createTime": 1793370000,
"endTime": 1793370012,
"solveCount": 1
}2Captcha in.php#
The same task through the 2Captcha API: method=captchafox, parameters → task fields:
| in.php | task |
|---|---|
sitekey | websiteKey |
pageurl | websiteURL |
useragent | userAgent |
userAgent | userAgent |
api_server | apiServer |
res.php returns token of the solution as text (OK|…), or in request with json=1.