Docs / Guides
Proxies
Which task types need a proxy, the proxy formats the API accepts, and how to keep exit IP and user agent consistent so solved tokens verify on your side.
Some captcha deployments tie a solution to the IP that earned it: a token or cookie is only useful from the same exit IP, and often with the same user agent. Those types take proxy details in the task. Types that run fine from shared infrastructure accept none.
Proxy mode per task type
| Task type | Proxy mode | What the mode means |
|---|---|---|
| reCAPTCHA v2 | optional | Proxyless, or your own proxy with the proxy-capable name. |
| reCAPTCHA v3 | optional | Proxyless, or your own proxy with the proxy-capable name. |
| reCAPTCHA v3 Enterprise | optional | Use the Enterprise proxyless name, or the proxy-capable name with your own proxy. |
| Cloudflare Turnstile | none | Both TurnstileToken and TurnstileTokenProxyLess use SurSolver-managed egress. Caller proxy fields are ignored. |
| Cloudflare Challenge | required | Proxy required; no proxyless name. |
| Vercel | required | Proxy required; no proxyless name. |
| AWS Challenge | none | Silent AWS WAF Challenge token generation needs no caller proxy; this is not the separate AWS WAF CAPTCHA. |
| AWS CAPTCHA | required | AwsCaptchaCookie solves the visual CAPTCHA; solve and replay through the same sticky proxy. |
| FriendlyCaptcha | optional | Proxyless, or your own proxy with the proxy-capable name. |
| Altcha | none | Proxyless only; both accepted names work and a proxy is never required. |
| Prosopo | optional | Proxyless, or your own proxy with the proxy-capable name. |
| CaptchaFox | required | Proxy required; no proxyless name. |
| GeeTest | optional | Proxyless, or your own proxy with the proxy-capable name. |
| MTCaptcha | optional | Proxyless, or your own proxy with the proxy-capable name. |
| Lemin | optional | Use LeminTokenProxyLess, or LeminToken with your own proxy. |
| Imperva Reese84 | required | ImpervaCookie returns the reese84 value; keep the solve and replay IP unchanged. |
| Imperva UTMVC | required | ImpervaUtmvcCookie returns the ___utmvc value; preserve the proxy and site session. |
| Akamai | none | _abck: AkamaiCookie and AkamaiCookieProxyLess run through our own egress; replay from your IP with the task’s userAgent. A supplied proxy is not used. |
| Akamai SBSD | required | AkamaiSbsdCookie is bound to the solve’s IP; solve and replay through the same proxy. |
| Akamai BMP | none | Android sensor-header generation does not fetch the target URL and needs no proxy. |
| Kasada | none | KasadaToken and KasadaTokenProxyLess need no proxy; replay the returned headers from your IP. |
| Castle Web | none | CastleWebToken needs no proxy; send your client ip, country and userAgent. |
| Castle Android | none | Native app token generation needs no proxy; send the Castle public key and package details. |
| Image to Text | none | The task carries only the module id and the base64 image; no page is opened. |
| Shape | none | ShapeCookie and ShapeCookieProxyLess need no proxy; replay the returned headers and cookies from your IP. |
| DataDome | required | Proxy required; no proxyless name. |
| PerimeterX | required | Proxy required; no proxyless name. |
The name you send decides whether a proxy is required for an optional type: the
…TokenProxyLess form never needs one, while the proxy-capable …Token form requires
proxy details and a request without them is rejected with ERROR_INVALID_REQUEST.
Types marked required have no proxyless name at all — sending one answers
ERROR_TYPE_NOT_SUPPORTED.
Accepted proxy formats
Send the proxy as a string in task.proxy:
http://user:password@203.0.113.10:8000
socks5://user:password@203.0.113.10:1080
user:password@203.0.113.10:8000
203.0.113.10:8000
Only http and socks5 are supported; without a scheme, http is assumed.
https and socks4 are rejected with ERROR_INVALID_REQUEST before charging,
rather than reaching the manager and failing with 400 ERR_FLOW_INVALID.
Credentials are optional — a bare host:port is how IP-allowlisted proxies are used.
A string with exactly four colon-separated parts is always read as
user:password:host:port, with or without a scheme
(socks5://user:password:host:port). The order is not detected: some clients send the
opposite one (host:port:user:pass), and such a string is not rejected when it happens
to parse the other way — for example 203.0.113.10:8000:user:12345 would be taken as
user 203.0.113.10, password 8000, host user, port 12345, and the task would
be charged while using the wrong proxy. Convert strings in that order, or use the split
fields below. Other layouts, such as type:ip:port:user:pass, are rejected with
ERROR_INVALID_REQUEST.
Or send the split fields — the explicit form, the safest one to generate, and the
recommended one when migrating from a vendor whose string order differs. They are read
only when task.proxy is absent or empty:
{
"proxyType": "http",
"proxyAddress": "203.0.113.10",
"proxyPort": 8000,
"proxyLogin": "user",
"proxyPassword": "password"
}
proxyAddress and proxyPort are required together; proxyType is http or
socks5 and defaults to http when omitted. proxyLogin / proxyPassword are
optional. A missing or non-numeric port, an unparseable task.proxy string or an
unsupported scheme (in either form) is rejected with ERROR_INVALID_REQUEST.
Consistency rules
- Send the same
userAgentin the task and on every request that uses the result. For IP-bound types (including Cloudflare Challenge, Vercel and Akamai SBSD), solve and replay from the same exit IP. - Keep a sticky proxy session for IP-bound challenges: challenge, solve and the request
that consumes the cookie. Akamai
_abck, Kasada and Shape do not need your proxy. - Match the proxy class to what the target accepts. Anti-bot vendors commonly refuse datacenter ranges; choosing a type that runs proxyless avoids the question entirely.
- The proxy is part of the task, not a global setting: each
createTaskthat needs one carries its own details.