The complete SurSolver API reference, generated from the public OpenAPI document. Enable JavaScript for the interactive explorer with copy-ready requests; the same operations, fields and examples are below for every visitor and crawler.
Tasks
Captcha solve submission and retrieval.
Create a task
POST /createTask
Returns a taskId. Use it with getTaskResult. Each submission creates a new charged task.
Request fields
| Field | Type | Required | Description |
|---|---|---|---|
clientKey |
string | yes | Your API key (sur_…), created in the dashboard. |
task |
object | yes | Task parameters for the selected type. |
task.type |
string | yes | Captcha type, for example ReCaptchaV2TokenProxyLess. See GET /v1/task-types. |
task.module |
string | no | ImageToTextTask module ID, a numeric string without leading zeros. Match the sample images on the Image to Text solver page. |
task.body |
string | no | ImageToTextTask: one captcha image as raw base64, with no data URL prefix or whitespace. No websiteURL, proxy or userAgent is required. Read solution.answer. |
task.websiteURL |
string | no | Full URL of the page the check runs on, path and query included. |
task.websiteKey |
string | no | Site key of the widget on that page. Lemin: Required Lemin Cropped Captcha identifier beginning with CROPPED_, copied from the widget's script URL. MTCaptcha: Required MTCaptcha public site key in MTPublic-<id> form. Prosopo: Required Procaptcha site key: an SS58 address beginning with 5. |
task.publicKey |
string | no | Castle public key of the Android application (pk_…). |
task.packageName |
string | no | Android package name, for example com.twitter.android. |
task.packageVersion |
string | no | Android package version name, for example 12.25.0-prod.01. |
task.packageBuild |
integer | no | Android package build number (versionCode), as a positive integer. |
task.deviceId |
string | no | Optional device UUID to reuse; omit it to generate a device ID. Castle Android: When supplied, the token and returned clientId/deviceId use this UUID; omit it to let the solver derive a device ID. Akamai BMP: The UUID selects the same catalog device and Android ID on later calls. It is returned in lowercase; omit it to generate a new UUID. |
task.version |
string | no | Akamai BMP SDK version. Currently 4.2.1 is supported. If you receive an unsupported-version error, contact support with the SDK version and app package name to request support. |
task.appPackage |
string | no | Android package name of the application using the Akamai BMP SDK, for example com.example.android. |
task.appVersion |
string | no | Android application's version name, for example 1.0.0. |
task.appVersionCode |
integer | no | Android application's integer versionCode. |
task.serverURL |
string | no | Public http(s) API URL configured in the application's Akamai BMP SDK. Sensor generation does not fetch it. |
task.appSignatureSHA1 |
string | no | Optional SHA-1 of the Android application's signing certificate: 40 hexadecimal characters without separators. Omit it to use the generator's all-zero signature. |
task.lang |
string | no | Device locale in language_COUNTRY form. |
task.numTouchTaps |
integer | no | Number of touch taps to include in the BMP sensor payload. |
task.numSensorEvents |
integer | no | Number of sensor events, rounded down to a power of two. |
task.cprSignal |
string | no | Optional CPR signal from the server challenge; empty when omitted. |
task.cprToken |
string | no | Optional CPR token from the server challenge; empty when omitted. |
task.powResponse |
string | no | Optional proof-of-work response for the server challenge; empty when omitted. |
task.ccaToken |
string | no | Optional CCA token from the server challenge; empty when omitted. |
task.serverSignal |
string | no | Optional server signal from the challenge; empty when omitted. |
task.jsSignals |
string | no | Optional JavaScript signals from the server challenge; empty when omitted. |
task.gt |
string | no | GeeTest v3 site key. Send gt and a fresh challenge, or captchaId for v4; never mix versions. |
task.challenge |
string | no | GeeTest v3 challenge from the site's register endpoint. Fetch a fresh value immediately before each task. |
task.captchaId |
string | no | GeeTest v4 captcha_id from initGeetest4 or the widget's load request. Omit gt and challenge. |
task.captchaUrl |
string | no | Required complete, fresh DataDome slider or interstitial page URL captured from the blocked session. Preserve its query and proxy session. No URL discovery is performed. A t=bv URL is rejected before charging; change proxy and recapture. |
task.testKey |
string | no | Optional MTCaptcha QA key for a site you control. Enables the vendor's test mode; omit for normal solves. |
task.pageAction |
string | no | The action the page passes to grecaptcha.execute, when it sets one. Default submit. |
task.minScore |
number | no | reCAPTCHA v3 Enterprise only (default 0.7): 0.3 or below runs one execute and answers fastest; above 0.3 runs a second one and returns its higher-scoring token, which takes longer. Classic reCAPTCHA v3 accepts it but ignores it. Google shows the score only to the site's server, so no value guarantees one. |
task.enterprisePayload |
object | no | Reserved for reCAPTCHA v2 Enterprise. Not supported by reCAPTCHA v3 Enterprise. |
task.isInvisible |
boolean | no | Send true for an invisible widget: the iframe URL has size=invisible and the page shows no checkbox. |
task.recaptchaDataSValue |
string | no | The one-time data-s value some Google pages render the widget with. |
task.apiDomain |
string | no | Where the page loads the widget script from. Send recaptcha.net only when the page uses www.recaptcha.net. |
task.cookies |
string | no | Your session cookies for the page: a Cookie header value (name=value; name2=value2, set on the page's host) or NDJSON (one JSON object per line). Akamai: Required with webSensor: true: session cookies captured after the page's scripts load, including a script-visible _abck and any bm_sz or ak_bmsc cookies. _abck may be set by the sensor script response. Send a Cookie header value or NDJSON (one JSON object per line). Optional otherwise. Akamai SBSD: Cookies set by the SBSD page response (bm_s, bm_sc, bm_so, bm_sz), as a Cookie header value (name=value; name2=value2) or NDJSON (one JSON object per line). Send them with scriptUrls and, when available, pageData. Without the captured session cookies, the site may keep answering 429. |
task.action |
string | no | The widget's data-action (or the action argument of turnstile.render), when the page sets one. At most 32 characters of A-Z a-z 0-9 _ -. |
task.cData |
string | no | The widget's data-cdata (or the cData argument of turnstile.render), when set. At most 255 characters of A-Z a-z 0-9 _ -. |
task.challengeURL |
string | no | Required for Altcha: the widget's challengeurl, an absolute public https URL. Without challengeJSON the solver fetches a fresh challenge from it. |
task.challengeJSON |
object | no | Optional for Altcha: the challenge the widget received ({algorithm, challenge, maxnumber, salt, signature}), as an object or that JSON as a string. When present nothing is fetched and exactly this challenge is solved. Challenges are single-use, so send a fresh one for each task. |
task.pageData |
string | no | HTML of the page you already fetched, so the solver does not fetch it again. At most 256 KiB. Cloudflare Challenge: HTML of the challenged URL as you fetched it, through the same proxy: the "Just a moment..." page, or a normal page that carries the challenge script. The <script> tags that load /cdn-cgi/challenge-platform/ are enough. With it the solver does not fetch the page. At most 256 KiB. Akamai: HTML of the page as you fetched it. Supplies the sensor seed alongside the required scriptUrls. At most 256 KiB. Akamai SBSD: HTML of the SBSD interstitial as you fetched it, alongside scriptUrls and that response's cookies. At most 256 KiB. |
task.verify |
string | no | A protected same-origin path, such as /api/account, that must answer 200 after the solve; otherwise the task fails. Akamai: Only with webSensor: true: a protected path or URL on the websiteURL origin, such as /api/account, that must answer 2xx after the solve; otherwise the task fails. |
task.webSensor |
boolean | no | Akamai: false (default) for the classic pixel and sensor scripts. true for a page that runs Akamai's web sensor script, the one that posts sensor_data to its own path; then scriptUrls starts with that sensor script and cookies is required. |
task.scriptUrl |
string | no | Required URL of the site's protection script for task types that take a script. Send one absolute public http(s) URL, not a list. FriendlyCaptcha: Required URL of the widget script loaded by the page, including its SDK version. widget.module.min.js or widget.min.js identifies v1; site.min.js identifies v2. No separate version field is needed. AWS Challenge: The site's exact AWS WAF Challenge loader URL. Must use https, have a path ending in /challenge.js, and have no URL fragment. It can be first-party or AWS-hosted; copy the complete URL from the challenged page, including its query string. This is not the CAPTCHA script. Kasada: Required exact HTTPS loader URL with two lowercase UUID path segments: https://<host>/<uuid>/<uuid>/p.js. Keep its query string; fragments and other paths are rejected before charging. Vercel: Required same-origin HTTPS worker at /.well-known/vercel/security/static/challenge.v2.min.js. Other versions, query strings and fragments are rejected before charging. Shape: Required exact Shape loader URL, including its query string. Must use HTTPS without a URL fragment, for example https://example.com/vendor/loader.js. Imperva UTMVC: Required absolute UT.mvc script URL captured from the current block, normally /_Incapsula_Resource?SWJIYLWA=... on the protected site. No automatic discovery is performed. |
task.sensorUrl |
string | no | Required Imperva Reese84 sensor script URL captured from the current blocked page; a ?s= query on it is fine. Send it with that session's visible incap_ses cookies. |
task.utmvcUrl |
string | no | Optional Imperva Reese84 UT.mvc bootstrap URL; send it only when the blocked page loads one (/_Incapsula_Resource?SWJIYLWA=...). |
task.iframeUrl |
string | no | Optional for ImpervaCookie and ImpervaUtmvcCookie: the block iframe URL from the current session; send it only when the blocked page has an iframe#main-iframe. |
task.scriptUrls |
array | no | Required non-empty list of absolute public http(s) script URLs. See the task type for ordering. Akamai: Required Akamai script URLs from the page. With webSensor: false (default), send the pixel and sensor URLs; no sensor-first order is required. With true, put the sensor script at index 0, then the pixel and any async script; these other scripts load after the first sensor POST. Send an array even for one script. Akamai SBSD: Required SBSD interstitial script URLs in execution order, including the ?v=…&t=… layer. Send a list even for one script, with that response's cookies. |
task.targetUrl |
string | no | The protected request the Shape headers are for. Must use HTTPS without a URL fragment, for example https://www.starbucks.com/apiproxy/v1/account/signin. |
task.method |
string | no | HTTP method of that protected request. |
task.userAgent |
string | no | Your browser's User-Agent: the Windows Chrome string of the client that will use the result, for example Chrome/155.0.0.0. Send the same one when you replay the result. An unsupported value returns ERROR_WRONG_USERAGENT with the accepted strings in supportedUserAgents. |
task.ip |
string | no | Required for Castle Web: public IPv4 or IPv6 address of the client that will replay the token. |
task.country |
string | no | Optional two-letter country code (e.g. US, TR). Defaults to US. Castle Web: Required two-letter ISO country code matching the client IP (e.g. TR, US). |
task.proxy |
string | no | Proxy URL (http://user:password@host:port or socks5://user:password@host:port) or user:password:host:port. A bare host:port uses HTTP. HTTPS and SOCKS4 proxies are not supported. Alternatively use the split proxy fields. Ignored by proxy=none task types. |
task.proxyType |
string | no | Protocol for the split proxy fields. Defaults to http when omitted; other schemes are rejected before charging. |
task.proxyAddress |
string | no | Proxy hostname or IP address. |
task.proxyPort |
object | no | Proxy port, as a number or a numeric string. |
task.proxyLogin |
string | no | Proxy username, if authentication is required. |
task.proxyPassword |
string | no | Proxy password, if authentication is required. |
appId |
string | no | Optional referral app ID (app_…). |
Request example
{
"clientKey": "sur_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
"task": {
"type": "ReCaptchaV3TokenProxyLess",
"websiteURL": "https://example.com/login",
"websiteKey": "6Le...",
"userAgent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/155.0.0.0 Safari/537.36"
}
}
Response 200
Task accepted (errorId: 0, status: "idle") or an error (errorId: 1).
Get a task result
POST /getTaskResult
Poll every 3 seconds until status is ready. The result is in solution. Execution timeout returns ERROR_TASK_TIMEOUT; results expire after 30 minutes. See Task lifecycle.
Request fields
| Field | Type | Required | Description |
|---|---|---|---|
clientKey |
string | yes | Raw API key, same credential as createTask. |
taskId |
string | yes | The taskId returned by POST /createTask: tsk_ followed by 24 hex characters. |
Request example
{
"clientKey": "sur_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
"taskId": "tsk_9c1f4e2a7b0d5e6f7a8b9c0d"
}
Response 200
Still processing, ready with a solution, or an error (errorId: 1).
Example
{
"errorId": 0,
"status": "ready",
"solution": {
"gRecaptchaResponse": "<token>"
}
}
Captchas
Castle Web
POST /createTask
Submit a task and collect its result with getTaskResult.
Request fields
| Field | Type | Required | Description |
|---|---|---|---|
clientKey |
string | yes | Your API key (sur_…), created in the dashboard. |
task |
object | yes | Task parameters for the selected type. |
task.type |
string | yes | Task type for Castle Web. |
task.websiteURL |
string | yes | Full URL of the page the check runs on, path and query included. |
task.ip |
string | yes | Required for Castle Web: public IPv4 or IPv6 address of the client that will replay the token. |
task.country |
string | yes | Required two-letter ISO country code matching the client IP (e.g. TR, US). |
task.userAgent |
string | yes | Your browser's User-Agent: the Windows Chrome string of the client that will use the result, for example Chrome/155.0.0.0. Send the same one when you replay the result. An unsupported value returns ERROR_WRONG_USERAGENT with the accepted strings in supportedUserAgents. |
appId |
string | no | Optional referral app ID (app_…). |
Request example
{
"clientKey": "sur_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
"task": {
"type": "CastleWebToken",
"websiteURL": "https://x.com/i/flow/login",
"ip": "88.241.19.44",
"country": "TR",
"userAgent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/155.0.0.0 Safari/537.36"
}
}
Response 200
Task accepted (errorId: 0, status: "idle") or an error (errorId: 1).
Result. Poll getTaskResult with the taskId. A solved Castle Web task answers:
{
"errorId": 0,
"status": "ready",
"solution": {
"token": "<token>",
"cuid": "<cuid>",
"country": "<country>",
"timezone": "<timezone>",
"acceptLanguage": "<acceptLanguage>",
"secChUa": "<secChUa>",
"secChUaFullVersionList": "<secChUaFullVersionList>",
"secChUaMobile": "<secChUaMobile>",
"secChUaPlatform": "<secChUaPlatform>",
"secChUaPlatformVersion": "<secChUaPlatformVersion>",
"secChUaArch": "<secChUaArch>",
"secChUaBitness": "<secChUaBitness>"
}
}
Castle Android
POST /createTask
Generate an Android request token using publicKey, packageName, packageVersion and integer packageBuild. Optionally reuse deviceId for the same device. Send solution.token as x-castle-request-token and solution.clientId as x-castle-client-id. No website URL, proxy or browser userAgent is required.
Request fields
| Field | Type | Required | Description |
|---|---|---|---|
clientKey |
string | yes | Your API key (sur_…), created in the dashboard. |
task |
object | yes | Task parameters for the selected type. |
task.type |
string | yes | Task type for Castle Android. |
task.publicKey |
string | yes | Castle public key of the Android application (pk_…). |
task.packageName |
string | yes | Android package name, for example com.twitter.android. |
task.packageVersion |
string | yes | Android package version name, for example 12.25.0-prod.01. |
task.packageBuild |
integer | yes | Android package build number (versionCode), as a positive integer. |
task.deviceId |
string | no | When supplied, the token and returned clientId/deviceId use this UUID; omit it to let the solver derive a device ID. |
appId |
string | no | Optional referral app ID (app_…). |
Request example
{
"clientKey": "sur_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
"task": {
"type": "CastleAndroidToken",
"publicKey": "pk_JCd5PXLQaxvtdFhyrh7URMsHjfNEvf37",
"packageName": "com.twitter.android",
"packageVersion": "12.25.0-prod.01",
"packageBuild": 312250001,
"deviceId": "46b5cb3b-2dc3-4967-9683-0902394c9094"
}
}
Response 200
Task accepted (errorId: 0, status: "idle") or an error (errorId: 1).
Result. Poll getTaskResult with the taskId. A solved Castle Android task answers:
{
"errorId": 0,
"status": "ready",
"solution": {
"token": "<token>",
"clientId": "46b5cb3b-2dc3-4967-9683-0902394c9094",
"deviceId": "46b5cb3b-2dc3-4967-9683-0902394c9094",
"deviceModel": "GPJ41"
}
}
reCAPTCHA v3
POST /createTask
Submit a task and collect its result with getTaskResult.
Request fields
| Field | Type | Required | Description |
|---|---|---|---|
clientKey |
string | yes | Your API key (sur_…), created in the dashboard. |
task |
object | yes | Task parameters for the selected type. |
task.type |
string | yes | Task type for reCAPTCHA v3. |
task.websiteURL |
string | yes | Full URL of the page the check runs on, path and query included. |
task.websiteKey |
string | yes | Site key of the widget on that page. |
task.userAgent |
string | yes | Your browser's User-Agent: the Windows Chrome string of the client that will use the result, for example Chrome/155.0.0.0. Send the same one when you replay the result. An unsupported value returns ERROR_WRONG_USERAGENT with the accepted strings in supportedUserAgents. |
task.pageAction |
string | no | The action the page passes to grecaptcha.execute, when it sets one. Default submit. |
task.minScore |
number | no | reCAPTCHA v3 Enterprise only (default 0.7): 0.3 or below runs one execute and answers fastest; above 0.3 runs a second one and returns its higher-scoring token, which takes longer. Classic reCAPTCHA v3 accepts it but ignores it. Google shows the score only to the site's server, so no value guarantees one. |
task.apiDomain |
string | no | Where the page loads the widget script from. Send recaptcha.net only when the page uses www.recaptcha.net. |
task.cookies |
string | no | Your session cookies for the page: a Cookie header value (name=value; name2=value2, set on the page's host) or NDJSON (one JSON object per line). |
task.country |
string | no | Optional two-letter country code (e.g. US, TR). Defaults to US. |
task.proxy |
string | no | Proxy URL (http://user:password@host:port or socks5://user:password@host:port) or user:password:host:port. A bare host:port uses HTTP. HTTPS and SOCKS4 proxies are not supported. Alternatively use the split proxy fields. Ignored by proxy=none task types. |
task.proxyType |
string | no | Protocol for the split proxy fields. Defaults to http when omitted; other schemes are rejected before charging. |
task.proxyAddress |
string | no | Proxy hostname or IP address. |
task.proxyPort |
object | no | Proxy port, as a number or a numeric string. |
task.proxyLogin |
string | no | Proxy username, if authentication is required. |
task.proxyPassword |
string | no | Proxy password, if authentication is required. |
appId |
string | no | Optional referral app ID (app_…). |
Request example
{
"clientKey": "sur_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
"task": {
"type": "ReCaptchaV3TokenProxyLess",
"websiteURL": "https://example.com/login",
"websiteKey": "6Le...",
"userAgent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/155.0.0.0 Safari/537.36"
}
}
Response 200
Task accepted (errorId: 0, status: "idle") or an error (errorId: 1).
Result. Poll getTaskResult with the taskId. A solved reCAPTCHA v3 task answers:
{
"errorId": 0,
"status": "ready",
"solution": {
"gRecaptchaResponse": "<token>"
}
}
reCAPTCHA v3 Enterprise
POST /createTask
Submit a task and collect its result with getTaskResult.
Request fields
| Field | Type | Required | Description |
|---|---|---|---|
clientKey |
string | yes | Your API key (sur_…), created in the dashboard. |
task |
object | yes | Task parameters for the selected type. |
task.type |
string | yes | Task type for reCAPTCHA v3 Enterprise. |
task.websiteURL |
string | yes | Full URL of the page the check runs on, path and query included. |
task.websiteKey |
string | yes | Site key of the widget on that page. |
task.userAgent |
string | yes | Your browser's User-Agent: the Windows Chrome string of the client that will use the result, for example Chrome/155.0.0.0. Send the same one when you replay the result. An unsupported value returns ERROR_WRONG_USERAGENT with the accepted strings in supportedUserAgents. |
task.pageAction |
string | no | The action the page passes to grecaptcha.execute, when it sets one. Default submit. |
task.minScore |
number | no | reCAPTCHA v3 Enterprise only (default 0.7): 0.3 or below runs one execute and answers fastest; above 0.3 runs a second one and returns its higher-scoring token, which takes longer. Classic reCAPTCHA v3 accepts it but ignores it. Google shows the score only to the site's server, so no value guarantees one. |
task.apiDomain |
string | no | Where the page loads the widget script from. Send recaptcha.net only when the page uses www.recaptcha.net. |
task.cookies |
string | no | Your session cookies for the page: a Cookie header value (name=value; name2=value2, set on the page's host) or NDJSON (one JSON object per line). |
task.country |
string | no | Optional two-letter country code (e.g. US, TR). Defaults to US. |
task.proxy |
string | no | Proxy URL (http://user:password@host:port or socks5://user:password@host:port) or user:password:host:port. A bare host:port uses HTTP. HTTPS and SOCKS4 proxies are not supported. Alternatively use the split proxy fields. Ignored by proxy=none task types. |
task.proxyType |
string | no | Protocol for the split proxy fields. Defaults to http when omitted; other schemes are rejected before charging. |
task.proxyAddress |
string | no | Proxy hostname or IP address. |
task.proxyPort |
object | no | Proxy port, as a number or a numeric string. |
task.proxyLogin |
string | no | Proxy username, if authentication is required. |
task.proxyPassword |
string | no | Proxy password, if authentication is required. |
appId |
string | no | Optional referral app ID (app_…). |
Request example
{
"clientKey": "sur_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
"task": {
"type": "ReCaptchaV3EnterpriseTokenProxyLess",
"websiteURL": "https://example.com/login",
"websiteKey": "YOUR_SITE_KEY",
"userAgent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/155.0.0.0 Safari/537.36"
}
}
Response 200
Task accepted (errorId: 0, status: "idle") or an error (errorId: 1).
Result. Poll getTaskResult with the taskId. A solved reCAPTCHA v3 Enterprise task answers:
{
"errorId": 0,
"status": "ready",
"solution": {
"gRecaptchaResponse": "<token>"
}
}
Turnstile
POST /createTask
Both TurnstileToken and TurnstileTokenProxyLess use SurSolver-managed egress. Caller proxy fields are ignored, not stored or forwarded.
Request fields
| Field | Type | Required | Description |
|---|---|---|---|
clientKey |
string | yes | Your API key (sur_…), created in the dashboard. |
task |
object | yes | Task parameters for the selected type. |
task.type |
string | yes | Task type for Turnstile. |
task.websiteURL |
string | yes | Full URL of the page the check runs on, path and query included. |
task.websiteKey |
string | yes | Site key of the widget on that page. |
task.userAgent |
string | yes | Your browser's User-Agent: the Windows Chrome string of the client that will use the result, for example Chrome/155.0.0.0. Send the same one when you replay the result. An unsupported value returns ERROR_WRONG_USERAGENT with the accepted strings in supportedUserAgents. |
task.action |
string | no | The widget's data-action (or the action argument of turnstile.render), when the page sets one. At most 32 characters of A-Z a-z 0-9 _ -. |
task.cData |
string | no | The widget's data-cdata (or the cData argument of turnstile.render), when set. At most 255 characters of A-Z a-z 0-9 _ -. |
task.country |
string | no | Optional two-letter country code (e.g. US, TR). Defaults to US. |
appId |
string | no | Optional referral app ID (app_…). |
Request example
{
"clientKey": "sur_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
"task": {
"type": "TurnstileTokenProxyLess",
"websiteURL": "https://example.com/login",
"websiteKey": "0x4AAAA...",
"userAgent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/155.0.0.0 Safari/537.36"
}
}
Response 200
Task accepted (errorId: 0, status: "idle") or an error (errorId: 1).
Result. Poll getTaskResult with the taskId. A solved Turnstile task answers:
{
"errorId": 0,
"status": "ready",
"solution": {
"token": "1.sr2Dp42KQi9V-8J4jcWUaOvb-kaxegfpH9NtEm…"
}
}
Cloudflare Challenge
POST /createTask
Solve the Cloudflare "Just a moment" challenge for the challenged URL through your proxy. solution.cf_clearance is the clearance cookie; solution.__cf_bm is added when the solve returned it, and the optional solution.cookies object maps every returned cookie name to its value. Replay with the same proxy and userAgent. This type needs your proxy: send proxy or the split proxy fields.
Request fields
| Field | Type | Required | Description |
|---|---|---|---|
clientKey |
string | yes | Your API key (sur_…), created in the dashboard. |
task |
object | yes | Task parameters for the selected type. |
task.type |
string | yes | Task type for Cloudflare Challenge. |
task.websiteURL |
string | yes | Full URL of the page the check runs on, path and query included. |
task.userAgent |
string | yes | Your browser's User-Agent: the Windows Chrome string of the client that will use the result, for example Chrome/155.0.0.0. Send the same one when you replay the result. An unsupported value returns ERROR_WRONG_USERAGENT with the accepted strings in supportedUserAgents. |
task.pageData |
string | no | HTML of the challenged URL as you fetched it, through the same proxy: the "Just a moment..." page, or a normal page that carries the challenge script. The <script> tags that load /cdn-cgi/challenge-platform/ are enough. With it the solver does not fetch the page. At most 256 KiB. |
task.country |
string | no | Optional two-letter country code (e.g. US, TR). Defaults to US. |
task.proxy |
string | no | Proxy URL (http://user:password@host:port or socks5://user:password@host:port) or user:password:host:port. A bare host:port uses HTTP. HTTPS and SOCKS4 proxies are not supported. Alternatively use the split proxy fields. Ignored by proxy=none task types. |
task.proxyType |
string | no | Protocol for the split proxy fields. Defaults to http when omitted; other schemes are rejected before charging. |
task.proxyAddress |
string | no | Proxy hostname or IP address. |
task.proxyPort |
object | no | Proxy port, as a number or a numeric string. |
task.proxyLogin |
string | no | Proxy username, if authentication is required. |
task.proxyPassword |
string | no | Proxy password, if authentication is required. |
appId |
string | no | Optional referral app ID (app_…). |
Request example
{
"clientKey": "sur_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
"task": {
"type": "CloudflareChallengeCookie",
"websiteURL": "https://example.com/login",
"userAgent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/155.0.0.0 Safari/537.36",
"proxyType": "http",
"proxyAddress": "proxy.example.com",
"proxyPort": 8080,
"proxyLogin": "YOUR_PROXY_LOGIN",
"proxyPassword": "YOUR_PROXY_PASSWORD"
}
}
Response 200
Task accepted (errorId: 0, status: "idle") or an error (errorId: 1).
Result. Poll getTaskResult with the taskId. A solved Cloudflare Challenge task answers:
{
"errorId": 0,
"status": "ready",
"solution": {
"cf_clearance": "LYBXDV8dComLAC30wBzzCxcfEUUtgRl7DfuhAJgw…",
"__cf_bm": "<__cf_bm>",
"cookies": {
"cf_clearance": "LYBXDV8dComLAC30wBzzCxcfEUUtgRl7DfuhAJgw…",
"__cf_bm": "<__cf_bm>"
}
}
}
Vercel
POST /createTask
websiteURL, scriptUrl, userAgent and your proxy are required. scriptUrl must be the same-origin HTTPS challenge.v2.min.js worker under /.well-known/vercel/security/static/, without a query or fragment. solution._vcrcs is the cookie value; the optional solution.cookies object maps every returned cookie name to its value. This type needs your proxy: send proxy or the split proxy fields.
Request fields
| Field | Type | Required | Description |
|---|---|---|---|
clientKey |
string | yes | Your API key (sur_…), created in the dashboard. |
task |
object | yes | Task parameters for the selected type. |
task.type |
string | yes | Task type for Vercel. |
task.websiteURL |
string | yes | Full URL of the page the check runs on, path and query included. |
task.scriptUrl |
string | yes | Required same-origin HTTPS worker at /.well-known/vercel/security/static/challenge.v2.min.js. Other versions, query strings and fragments are rejected before charging. |
task.userAgent |
string | yes | Your browser's User-Agent: the Windows Chrome string of the client that will use the result, for example Chrome/155.0.0.0. Send the same one when you replay the result. An unsupported value returns ERROR_WRONG_USERAGENT with the accepted strings in supportedUserAgents. |
task.country |
string | no | Optional two-letter country code (e.g. US, TR). Defaults to US. |
task.proxy |
string | no | Proxy URL (http://user:password@host:port or socks5://user:password@host:port) or user:password:host:port. A bare host:port uses HTTP. HTTPS and SOCKS4 proxies are not supported. Alternatively use the split proxy fields. Ignored by proxy=none task types. |
task.proxyType |
string | no | Protocol for the split proxy fields. Defaults to http when omitted; other schemes are rejected before charging. |
task.proxyAddress |
string | no | Proxy hostname or IP address. |
task.proxyPort |
object | no | Proxy port, as a number or a numeric string. |
task.proxyLogin |
string | no | Proxy username, if authentication is required. |
task.proxyPassword |
string | no | Proxy password, if authentication is required. |
appId |
string | no | Optional referral app ID (app_…). |
Request example
{
"clientKey": "sur_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
"task": {
"type": "VercelCookie",
"websiteURL": "https://example.com/login",
"scriptUrl": "https://example.com/.well-known/vercel/security/static/challenge.v2.min.js",
"userAgent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/155.0.0.0 Safari/537.36",
"proxyType": "http",
"proxyAddress": "proxy.example.com",
"proxyPort": 8080,
"proxyLogin": "YOUR_PROXY_LOGIN",
"proxyPassword": "YOUR_PROXY_PASSWORD"
}
}
Response 200
Task accepted (errorId: 0, status: "idle") or an error (errorId: 1).
Result. Poll getTaskResult with the taskId. A solved Vercel task answers:
{
"errorId": 0,
"status": "ready",
"solution": {
"_vcrcs": "<_vcrcs>",
"cookies": {
"_vcrcs": "<_vcrcs>"
}
}
}
FriendlyCaptcha
POST /createTask
Submit a task and collect its result with getTaskResult.
Request fields
| Field | Type | Required | Description |
|---|---|---|---|
clientKey |
string | yes | Your API key (sur_…), created in the dashboard. |
task |
object | yes | Task parameters for the selected type. |
task.type |
string | yes | Task type for FriendlyCaptcha. |
task.websiteURL |
string | yes | Full URL of the page the check runs on, path and query included. |
task.websiteKey |
string | yes | Site key of the widget on that page. |
task.scriptUrl |
string | yes | Required URL of the widget script loaded by the page, including its SDK version. widget.module.min.js or widget.min.js identifies v1; site.min.js identifies v2. No separate version field is needed. |
task.userAgent |
string | yes | Your browser's User-Agent: the Windows Chrome string of the client that will use the result, for example Chrome/155.0.0.0. Send the same one when you replay the result. An unsupported value returns ERROR_WRONG_USERAGENT with the accepted strings in supportedUserAgents. |
task.country |
string | no | Optional two-letter country code (e.g. US, TR). Defaults to US. |
task.proxy |
string | no | Proxy URL (http://user:password@host:port or socks5://user:password@host:port) or user:password:host:port. A bare host:port uses HTTP. HTTPS and SOCKS4 proxies are not supported. Alternatively use the split proxy fields. Ignored by proxy=none task types. |
task.proxyType |
string | no | Protocol for the split proxy fields. Defaults to http when omitted; other schemes are rejected before charging. |
task.proxyAddress |
string | no | Proxy hostname or IP address. |
task.proxyPort |
object | no | Proxy port, as a number or a numeric string. |
task.proxyLogin |
string | no | Proxy username, if authentication is required. |
task.proxyPassword |
string | no | Proxy password, if authentication is required. |
appId |
string | no | Optional referral app ID (app_…). |
Request example
{
"clientKey": "sur_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
"task": {
"type": "FriendlyCaptchaTokenProxyLess",
"websiteURL": "https://example.com/login",
"websiteKey": "FC...",
"scriptUrl": "https://example.com/script.js",
"userAgent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/155.0.0.0 Safari/537.36"
}
}
Response 200
Task accepted (errorId: 0, status: "idle") or an error (errorId: 1).
Result. Poll getTaskResult with the taskId. A solved FriendlyCaptcha task answers:
{
"errorId": 0,
"status": "ready",
"solution": {
"token": "<token>"
}
}
Altcha
POST /createTask
Submit a task and collect its result with getTaskResult.
Request fields
| Field | Type | Required | Description |
|---|---|---|---|
clientKey |
string | yes | Your API key (sur_…), created in the dashboard. |
task |
object | yes | Task parameters for the selected type. |
task.type |
string | yes | Task type for Altcha. |
task.websiteURL |
string | yes | Full URL of the page the check runs on, path and query included. |
task.userAgent |
string | yes | Your browser's User-Agent: the Windows Chrome string of the client that will use the result, for example Chrome/155.0.0.0. Send the same one when you replay the result. An unsupported value returns ERROR_WRONG_USERAGENT with the accepted strings in supportedUserAgents. |
task.challengeURL |
string | yes | Required for Altcha: the widget's challengeurl, an absolute public https URL. Without challengeJSON the solver fetches a fresh challenge from it. |
task.challengeJSON |
object | no | Optional for Altcha: the challenge the widget received ({algorithm, challenge, maxnumber, salt, signature}), as an object or that JSON as a string. When present nothing is fetched and exactly this challenge is solved. Challenges are single-use, so send a fresh one for each task. |
task.country |
string | no | Optional two-letter country code (e.g. US, TR). Defaults to US. |
appId |
string | no | Optional referral app ID (app_…). |
Request example
{
"clientKey": "sur_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
"task": {
"type": "AltchaTokenProxyLess",
"websiteURL": "https://example.com/login",
"userAgent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/155.0.0.0 Safari/537.36",
"challengeURL": "https://example.com/challenge"
}
}
Response 200
Task accepted (errorId: 0, status: "idle") or an error (errorId: 1).
Result. Poll getTaskResult with the taskId. A solved Altcha task answers:
{
"errorId": 0,
"status": "ready",
"solution": {
"token": "eyJhbGdvcml0aG0iOiJTSEEtMjU2IiwiY2hhbGxl…"
}
}
Prosopo
POST /createTask
Submit a task and collect its result with getTaskResult.
Request fields
| Field | Type | Required | Description |
|---|---|---|---|
clientKey |
string | yes | Your API key (sur_…), created in the dashboard. |
task |
object | yes | Task parameters for the selected type. |
task.type |
string | yes | Task type for Prosopo. |
task.websiteURL |
string | yes | Full URL of the page the check runs on, path and query included. |
task.websiteKey |
string | yes | Required Procaptcha site key: an SS58 address beginning with 5. |
task.userAgent |
string | yes | Your browser's User-Agent: the Windows Chrome string of the client that will use the result, for example Chrome/155.0.0.0. Send the same one when you replay the result. An unsupported value returns ERROR_WRONG_USERAGENT with the accepted strings in supportedUserAgents. |
task.country |
string | no | Optional two-letter country code (e.g. US, TR). Defaults to US. |
task.proxy |
string | no | Proxy URL (http://user:password@host:port or socks5://user:password@host:port) or user:password:host:port. A bare host:port uses HTTP. HTTPS and SOCKS4 proxies are not supported. Alternatively use the split proxy fields. Ignored by proxy=none task types. |
task.proxyType |
string | no | Protocol for the split proxy fields. Defaults to http when omitted; other schemes are rejected before charging. |
task.proxyAddress |
string | no | Proxy hostname or IP address. |
task.proxyPort |
object | no | Proxy port, as a number or a numeric string. |
task.proxyLogin |
string | no | Proxy username, if authentication is required. |
task.proxyPassword |
string | no | Proxy password, if authentication is required. |
appId |
string | no | Optional referral app ID (app_…). |
Request example
{
"clientKey": "sur_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
"task": {
"type": "ProsopoTokenProxyLess",
"websiteURL": "https://example.com/login",
"websiteKey": "5E7QGuzYgLJMH6qXQiCw62AUuLxPXRs1E6jitV4w8zTjDcKr",
"userAgent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/155.0.0.0 Safari/537.36"
}
}
Response 200
Task accepted (errorId: 0, status: "idle") or an error (errorId: 1).
Result. Poll getTaskResult with the taskId. A solved Prosopo task answers:
{
"errorId": 0,
"status": "ready",
"solution": {
"token": "<token>"
}
}
CaptchaFox
POST /createTask
Submit a task and collect its result with getTaskResult. This type needs your proxy: send proxy or the split proxy fields.
Request fields
| Field | Type | Required | Description |
|---|---|---|---|
clientKey |
string | yes | Your API key (sur_…), created in the dashboard. |
task |
object | yes | Task parameters for the selected type. |
task.type |
string | yes | Task type for CaptchaFox. |
task.websiteURL |
string | yes | Full URL of the page the check runs on, path and query included. |
task.websiteKey |
string | yes | Site key of the widget on that page. |
task.userAgent |
string | yes | Your browser's User-Agent: the Windows Chrome string of the client that will use the result, for example Chrome/155.0.0.0. Send the same one when you replay the result. An unsupported value returns ERROR_WRONG_USERAGENT with the accepted strings in supportedUserAgents. |
task.country |
string | no | Optional two-letter country code (e.g. US, TR). Defaults to US. |
task.proxy |
string | no | Proxy URL (http://user:password@host:port or socks5://user:password@host:port) or user:password:host:port. A bare host:port uses HTTP. HTTPS and SOCKS4 proxies are not supported. Alternatively use the split proxy fields. Ignored by proxy=none task types. |
task.proxyType |
string | no | Protocol for the split proxy fields. Defaults to http when omitted; other schemes are rejected before charging. |
task.proxyAddress |
string | no | Proxy hostname or IP address. |
task.proxyPort |
object | no | Proxy port, as a number or a numeric string. |
task.proxyLogin |
string | no | Proxy username, if authentication is required. |
task.proxyPassword |
string | no | Proxy password, if authentication is required. |
appId |
string | no | Optional referral app ID (app_…). |
Request example
{
"clientKey": "sur_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
"task": {
"type": "CaptchaFoxToken",
"websiteURL": "https://example.com/login",
"websiteKey": "YOUR_SITE_KEY",
"userAgent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/155.0.0.0 Safari/537.36",
"proxyType": "http",
"proxyAddress": "proxy.example.com",
"proxyPort": 8080,
"proxyLogin": "YOUR_PROXY_LOGIN",
"proxyPassword": "YOUR_PROXY_PASSWORD"
}
}
Response 200
Task accepted (errorId: 0, status: "idle") or an error (errorId: 1).
Result. Poll getTaskResult with the taskId. A solved CaptchaFox task answers:
{
"errorId": 0,
"status": "ready",
"solution": {
"token": "<token>"
}
}
GeeTest v3 / v4
POST /createTask
Send gt and a fresh challenge for v3, or captchaId for v4. Slide challenges are supported. Results contain the version-specific verification fields.
Request fields
| Field | Type | Required | Description |
|---|---|---|---|
clientKey |
string | yes | Your API key (sur_…), created in the dashboard. |
task |
object | yes | Task parameters for the selected type. |
task.type |
string | yes | Task type for GeeTest v3 / v4. |
task.websiteURL |
string | yes | Full URL of the page the check runs on, path and query included. |
task.userAgent |
string | yes | Your browser's User-Agent: the Windows Chrome string of the client that will use the result, for example Chrome/155.0.0.0. Send the same one when you replay the result. An unsupported value returns ERROR_WRONG_USERAGENT with the accepted strings in supportedUserAgents. |
task.gt |
string | no | GeeTest v3 site key. Send gt and a fresh challenge, or captchaId for v4; never mix versions. |
task.challenge |
string | no | GeeTest v3 challenge from the site's register endpoint. Fetch a fresh value immediately before each task. |
task.captchaId |
string | no | GeeTest v4 captcha_id from initGeetest4 or the widget's load request. Omit gt and challenge. |
task.country |
string | no | Optional two-letter country code (e.g. US, TR). Defaults to US. |
task.proxy |
string | no | Proxy URL (http://user:password@host:port or socks5://user:password@host:port) or user:password:host:port. A bare host:port uses HTTP. HTTPS and SOCKS4 proxies are not supported. Alternatively use the split proxy fields. Ignored by proxy=none task types. |
task.proxyType |
string | no | Protocol for the split proxy fields. Defaults to http when omitted; other schemes are rejected before charging. |
task.proxyAddress |
string | no | Proxy hostname or IP address. |
task.proxyPort |
object | no | Proxy port, as a number or a numeric string. |
task.proxyLogin |
string | no | Proxy username, if authentication is required. |
task.proxyPassword |
string | no | Proxy password, if authentication is required. |
appId |
string | no | Optional referral app ID (app_…). |
Request example
{
"clientKey": "sur_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
"task": {
"type": "GeeTestTokenProxyLess",
"websiteURL": "https://example.com/login",
"userAgent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/155.0.0.0 Safari/537.36",
"gt": "0123456789abcdef0123456789abcdef",
"challenge": "abcdef0123456789abcdef0123456789"
}
}
Response 200
Task accepted (errorId: 0, status: "idle") or an error (errorId: 1).
Result. Poll getTaskResult with the taskId. A solved GeeTest v3 / v4 task answers:
{
"errorId": 0,
"status": "ready",
"solution": {
"challenge": "<challenge>",
"validate": "<validate>",
"seccode": "<seccode>"
}
}
MTCaptcha
POST /createTask
Send the MTPublic websiteKey and the page URL to obtain a verified token. Visible text challenges are not currently supported by this token task.
Request fields
| Field | Type | Required | Description |
|---|---|---|---|
clientKey |
string | yes | Your API key (sur_…), created in the dashboard. |
task |
object | yes | Task parameters for the selected type. |
task.type |
string | yes | Task type for MTCaptcha. |
task.websiteURL |
string | yes | Full URL of the page the check runs on, path and query included. |
task.websiteKey |
string | yes | Required MTCaptcha public site key in MTPublic-<id> form. |
task.userAgent |
string | yes | Your browser's User-Agent: the Windows Chrome string of the client that will use the result, for example Chrome/155.0.0.0. Send the same one when you replay the result. An unsupported value returns ERROR_WRONG_USERAGENT with the accepted strings in supportedUserAgents. |
task.testKey |
string | no | Optional MTCaptcha QA key for a site you control. Enables the vendor's test mode; omit for normal solves. |
task.country |
string | no | Optional two-letter country code (e.g. US, TR). Defaults to US. |
task.proxy |
string | no | Proxy URL (http://user:password@host:port or socks5://user:password@host:port) or user:password:host:port. A bare host:port uses HTTP. HTTPS and SOCKS4 proxies are not supported. Alternatively use the split proxy fields. Ignored by proxy=none task types. |
task.proxyType |
string | no | Protocol for the split proxy fields. Defaults to http when omitted; other schemes are rejected before charging. |
task.proxyAddress |
string | no | Proxy hostname or IP address. |
task.proxyPort |
object | no | Proxy port, as a number or a numeric string. |
task.proxyLogin |
string | no | Proxy username, if authentication is required. |
task.proxyPassword |
string | no | Proxy password, if authentication is required. |
appId |
string | no | Optional referral app ID (app_…). |
Request example
{
"clientKey": "sur_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
"task": {
"type": "MtCaptchaTokenProxyLess",
"websiteURL": "https://example.com/login",
"websiteKey": "MTPublic-YOURKEY",
"userAgent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/155.0.0.0 Safari/537.36"
}
}
Response 200
Task accepted (errorId: 0, status: "idle") or an error (errorId: 1).
Result. Poll getTaskResult with the taskId. A solved MTCaptcha task answers:
{
"errorId": 0,
"status": "ready",
"solution": {
"token": "<token>"
}
}
AWS Challenge
POST /createTask
Solve the silent AWS WAF JavaScript challenge, not AWS WAF CAPTCHA. No caller proxy is required. Set solution["aws-waf-token"] as the aws-waf-token cookie and apply the optional solution.cookies name-to-value object.
Request fields
| Field | Type | Required | Description |
|---|---|---|---|
clientKey |
string | yes | Your API key (sur_…), created in the dashboard. |
task |
object | yes | Task parameters for the selected type. |
task.type |
string | yes | Task type for AWS Challenge. |
task.websiteURL |
string | yes | Full URL of the page the check runs on, path and query included. |
task.scriptUrl |
string | yes | The site's exact AWS WAF Challenge loader URL. Must use https, have a path ending in /challenge.js, and have no URL fragment. It can be first-party or AWS-hosted; copy the complete URL from the challenged page, including its query string. This is not the CAPTCHA script. |
task.userAgent |
string | yes | Your browser's User-Agent: the Windows Chrome string of the client that will use the result, for example Chrome/155.0.0.0. Send the same one when you replay the result. An unsupported value returns ERROR_WRONG_USERAGENT with the accepted strings in supportedUserAgents. |
task.country |
string | no | Optional two-letter country code (e.g. US, TR). Defaults to US. |
appId |
string | no | Optional referral app ID (app_…). |
Request example
{
"clientKey": "sur_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
"task": {
"type": "AwsChallengeCookie",
"websiteURL": "https://example.com/login",
"scriptUrl": "https://example.com/__challenge_ID/ID/ID/challenge.js",
"userAgent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/155.0.0.0 Safari/537.36"
}
}
Response 200
Task accepted (errorId: 0, status: "idle") or an error (errorId: 1).
Result. Poll getTaskResult with the taskId. A solved AWS Challenge task answers:
{
"errorId": 0,
"status": "ready",
"solution": {
"aws-waf-token": "21f6d7d8-3f12-4e66-84ba-39fef03d9b9d:IAoApL5psZq1gQAA:s/5nYuiPR2p7j+DQrS23+wV6ceMLThQMZmgKKqXRpomdB2GOx+jWr0wtQj6VHWEILT5eCBh06ghfPnMQxEk0pUPJ12OoN85NnY7C9FQ8IsdEcB0CG5udYE4UCGndOjkcaB1ajJQCmXcKxl5ROkaewvMAHTzgCHVoDYvlIua9yD2VV3eQkwrSETKseJoY9DTeCHF4y5NhfkXZq2AFtk3y4jajYkae1cPPkQ098BtQfULaUzlRwwwFVSA5x/WG7NJqnihZ8D2ZSypVHKcmMGEvVHyMiVER9eyrJn2waTs=",
"cookies": {
"aws-waf-token": "21f6d7d8-3f12-4e66-84ba-39fef03d9b9d:IAoApL5psZq1gQAA:s/5nYuiPR2p7j+DQrS23+wV6ceMLThQMZmgKKqXRpomdB2GOx+jWr0wtQj6VHWEILT5eCBh06ghfPnMQxEk0pUPJ12OoN85NnY7C9FQ8IsdEcB0CG5udYE4UCGndOjkcaB1ajJQCmXcKxl5ROkaewvMAHTzgCHVoDYvlIua9yD2VV3eQkwrSETKseJoY9DTeCHF4y5NhfkXZq2AFtk3y4jajYkae1cPPkQ098BtQfULaUzlRwwwFVSA5x/WG7NJqnihZ8D2ZSypVHKcmMGEvVHyMiVER9eyrJn2waTs="
}
}
}
Akamai
POST /createTask
Solve the Akamai Bot Manager sensor for the page that loads it. webSensor defaults to false: send the pixel and sensor URLs; no sensor-first order is required. With true, put the sensor first and send the page response cookies including _abck. The other scripts load after the first sensor POST. solution._abck is the validated cookie; solution.cookies maps every returned cookie name to its value. Replay with the task userAgent.
Request fields
| Field | Type | Required | Description |
|---|---|---|---|
clientKey |
string | yes | Your API key (sur_…), created in the dashboard. |
task |
object | yes | Task parameters for the selected type. |
task.type |
string | yes | Task type for Akamai. |
task.websiteURL |
string | yes | Full URL of the page the check runs on, path and query included. |
task.scriptUrls |
array | yes | Required Akamai script URLs from the page. With webSensor: false (default), send the pixel and sensor URLs; no sensor-first order is required. With true, put the sensor script at index 0, then the pixel and any async script; these other scripts load after the first sensor POST. Send an array even for one script. |
task.userAgent |
string | yes | Your browser's User-Agent: the Windows Chrome string of the client that will use the result, for example Chrome/155.0.0.0. Send the same one when you replay the result. An unsupported value returns ERROR_WRONG_USERAGENT with the accepted strings in supportedUserAgents. |
task.pageData |
string | no | HTML of the page as you fetched it. Supplies the sensor seed alongside the required scriptUrls. At most 256 KiB. |
task.webSensor |
boolean | no | Akamai: false (default) for the classic pixel and sensor scripts. true for a page that runs Akamai's web sensor script, the one that posts sensor_data to its own path; then scriptUrls starts with that sensor script and cookies is required. |
task.verify |
string | no | Only with webSensor: true: a protected path or URL on the websiteURL origin, such as /api/account, that must answer 2xx after the solve; otherwise the task fails. |
task.cookies |
string | no | Required with webSensor: true: session cookies captured after the page's scripts load, including a script-visible _abck and any bm_sz or ak_bmsc cookies. _abck may be set by the sensor script response. Send a Cookie header value or NDJSON (one JSON object per line). Optional otherwise. |
task.country |
string | no | Optional two-letter country code (e.g. US, TR). Defaults to US. |
appId |
string | no | Optional referral app ID (app_…). |
Request example
{
"clientKey": "sur_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
"task": {
"type": "AkamaiCookieProxyLess",
"websiteURL": "https://example.com/login",
"scriptUrls": [
"https://example.com/akam/13/1a2b3c4d",
"https://example.com/aB3dE5fG7h/kL1mN3pQ5r"
],
"userAgent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/155.0.0.0 Safari/537.36"
}
}
Response 200
Task accepted (errorId: 0, status: "idle") or an error (errorId: 1).
Result. Poll getTaskResult with the taskId. A solved Akamai task answers:
{
"errorId": 0,
"status": "ready",
"solution": {
"_abck": "27BE0762A028D5ECC19E445E149B898D~0~YAAQw…",
"cookies": {
"SID": "3d023fe0-c00c-406d-ac8c-a778f6966e01",
"CTT": "f13ec06437ee5524947613e755d3be36",
"bby_rdp": "l",
"vt": "01a14b6f-a8d9-7024-bb83-7b8c75715bc1",
"bp": "2",
"akacd_PR_www_bestbuy_com": "3969719770~rv=36~id=4f6dae15bd350f65acb0…",
"bm_s": "YAAQwsQUAhztaTuhAQAAY6xvSwY4wEgbgc6BZlRe…",
"bm_so": "7DD0CBAE674105C9C8F28848E00180372617592F…",
"bm_sz": "076AE0D2C46D5B96C3C73CA5059ED703~YAAQwsQ…",
"bby_cbc_lb": "p-browse-e",
"ak_bmsc": "868E7DB25CE5747A532A19E3ACC2E828~0000000…",
"_abck": "27BE0762A028D5ECC19E445E149B898D~0~YAAQw…",
"bm_lso": "7DD0CBAE674105C9C8F28848E00180372617592F…"
}
}
}
Akamai SBSD
POST /createTask
Solve the Akamai SBSD interstitial with its scripts, session cookies and your proxy. solution._abck is the cookie value; solution.cookies maps every returned cookie name to its value. Replay through the same proxy and userAgent. This type needs your proxy: send proxy or the split proxy fields.
Request fields
| Field | Type | Required | Description |
|---|---|---|---|
clientKey |
string | yes | Your API key (sur_…), created in the dashboard. |
task |
object | yes | Task parameters for the selected type. |
task.type |
string | yes | Task type for Akamai SBSD. |
task.websiteURL |
string | yes | Full URL of the page the check runs on, path and query included. |
task.scriptUrls |
array | yes | Required SBSD interstitial script URLs in execution order, including the ?v=…&t=… layer. Send a list even for one script, with that response's cookies. |
task.userAgent |
string | yes | Your browser's User-Agent: the Windows Chrome string of the client that will use the result, for example Chrome/155.0.0.0. Send the same one when you replay the result. An unsupported value returns ERROR_WRONG_USERAGENT with the accepted strings in supportedUserAgents. |
task.pageData |
string | no | HTML of the SBSD interstitial as you fetched it, alongside scriptUrls and that response's cookies. At most 256 KiB. |
task.verify |
string | no | A protected same-origin path, such as /api/account, that must answer 200 after the solve; otherwise the task fails. |
task.cookies |
string | no | Cookies set by the SBSD page response (bm_s, bm_sc, bm_so, bm_sz), as a Cookie header value (name=value; name2=value2) or NDJSON (one JSON object per line). Send them with scriptUrls and, when available, pageData. Without the captured session cookies, the site may keep answering 429. |
task.country |
string | no | Optional two-letter country code (e.g. US, TR). Defaults to US. |
task.proxy |
string | no | Proxy URL (http://user:password@host:port or socks5://user:password@host:port) or user:password:host:port. A bare host:port uses HTTP. HTTPS and SOCKS4 proxies are not supported. Alternatively use the split proxy fields. Ignored by proxy=none task types. |
task.proxyType |
string | no | Protocol for the split proxy fields. Defaults to http when omitted; other schemes are rejected before charging. |
task.proxyAddress |
string | no | Proxy hostname or IP address. |
task.proxyPort |
object | no | Proxy port, as a number or a numeric string. |
task.proxyLogin |
string | no | Proxy username, if authentication is required. |
task.proxyPassword |
string | no | Proxy password, if authentication is required. |
appId |
string | no | Optional referral app ID (app_…). |
Request example
{
"clientKey": "sur_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
"task": {
"type": "AkamaiSbsdCookie",
"websiteURL": "https://example.com/login",
"scriptUrls": [
"https://example.com/script.js"
],
"userAgent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/155.0.0.0 Safari/537.36",
"proxyType": "http",
"proxyAddress": "proxy.example.com",
"proxyPort": 8080,
"proxyLogin": "YOUR_PROXY_LOGIN",
"proxyPassword": "YOUR_PROXY_PASSWORD"
}
}
Response 200
Task accepted (errorId: 0, status: "idle") or an error (errorId: 1).
Result. Poll getTaskResult with the taskId. A solved Akamai SBSD task answers:
{
"errorId": 0,
"status": "ready",
"solution": {
"_abck": "<_abck>",
"cookies": {
"_abck": "<_abck>"
}
}
}
Akamai BMP
POST /createTask
Generate an Android SDK sensor payload without a proxy or script URL. Send solution.header as x-acf-sensor-data on the protected app request.
Request fields
| Field | Type | Required | Description |
|---|---|---|---|
clientKey |
string | yes | Your API key (sur_…), created in the dashboard. |
task |
object | yes | Task parameters for the selected type. |
task.type |
string | yes | Task type for Akamai BMP. |
task.version |
string | yes | Akamai BMP SDK version. Currently 4.2.1 is supported. If you receive an unsupported-version error, contact support with the SDK version and app package name to request support. |
task.appPackage |
string | yes | Android package name of the application using the Akamai BMP SDK, for example com.example.android. |
task.appVersion |
string | yes | Android application's version name, for example 1.0.0. |
task.appVersionCode |
integer | yes | Android application's integer versionCode. |
task.serverURL |
string | yes | Public http(s) API URL configured in the application's Akamai BMP SDK. Sensor generation does not fetch it. |
task.appSignatureSHA1 |
string | no | Optional SHA-1 of the Android application's signing certificate: 40 hexadecimal characters without separators. Omit it to use the generator's all-zero signature. |
task.deviceId |
string | no | The UUID selects the same catalog device and Android ID on later calls. It is returned in lowercase; omit it to generate a new UUID. |
task.lang |
string | no | Device locale in language_COUNTRY form. |
task.numTouchTaps |
integer | no | Number of touch taps to include in the BMP sensor payload. |
task.numSensorEvents |
integer | no | Number of sensor events, rounded down to a power of two. |
task.cprSignal |
string | no | Optional CPR signal from the server challenge; empty when omitted. |
task.cprToken |
string | no | Optional CPR token from the server challenge; empty when omitted. |
task.powResponse |
string | no | Optional proof-of-work response for the server challenge; empty when omitted. |
task.ccaToken |
string | no | Optional CCA token from the server challenge; empty when omitted. |
task.serverSignal |
string | no | Optional server signal from the challenge; empty when omitted. |
task.jsSignals |
string | no | Optional JavaScript signals from the server challenge; empty when omitted. |
appId |
string | no | Optional referral app ID (app_…). |
Request example
{
"clientKey": "sur_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
"task": {
"type": "AkamaiBmpTask",
"version": "4.2.1",
"appPackage": "com.example.android",
"appVersion": "1.0.0",
"appVersionCode": 1,
"serverURL": "https://api.example.com",
"deviceId": "46b5cb3b-2dc3-4967-9683-0902394c9094"
}
}
Response 200
Task accepted (errorId: 0, status: "idle") or an error (errorId: 1).
Result. Poll getTaskResult with the taskId. A solved Akamai BMP task answers:
{
"errorId": 0,
"status": "ready",
"solution": {
"header": "<x-acf-sensor-data>",
"version": "4.2.1",
"deviceId": "46b5cb3b-2dc3-4967-9683-0902394c9094",
"deviceManufacturer": "<device manufacturer>",
"deviceModel": "<device model>",
"osVersion": "<Android version>"
}
}
Kasada
POST /createTask
websiteURL, userAgent and the exact HTTPS scriptUrl with two lowercase UUID path segments followed by /p.js are required. Preserve the query; fragments are rejected. A ready result requires token, kpsdkCd and acceptLanguage. kpsdkH and kpsdkV are optional. Use the challenge response for one protected request. No caller proxy is used.
Request fields
| Field | Type | Required | Description |
|---|---|---|---|
clientKey |
string | yes | Your API key (sur_…), created in the dashboard. |
task |
object | yes | Task parameters for the selected type. |
task.type |
string | yes | Task type for Kasada. |
task.websiteURL |
string | yes | Full URL of the page the check runs on, path and query included. |
task.scriptUrl |
string | yes | Required exact HTTPS loader URL with two lowercase UUID path segments: https://<host>/<uuid>/<uuid>/p.js. Keep its query string; fragments and other paths are rejected before charging. |
task.userAgent |
string | yes | Your browser's User-Agent: the Windows Chrome string of the client that will use the result, for example Chrome/155.0.0.0. Send the same one when you replay the result. An unsupported value returns ERROR_WRONG_USERAGENT with the accepted strings in supportedUserAgents. |
task.country |
string | no | Optional two-letter country code (e.g. US, TR). Defaults to US. |
appId |
string | no | Optional referral app ID (app_…). |
Request example
{
"clientKey": "sur_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
"task": {
"type": "KasadaTokenProxyLess",
"websiteURL": "https://example.com/login",
"scriptUrl": "https://example.com/11111111-1111-1111-1111-111111111111/22222222-2222-2222-2222-222222222222/p.js",
"userAgent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/155.0.0.0 Safari/537.36"
}
}
Response 200
Task accepted (errorId: 0, status: "idle") or an error (errorId: 1).
Result. Poll getTaskResult with the taskId. A solved Kasada task answers:
{
"errorId": 0,
"status": "ready",
"solution": {
"token": "084RhbZ241g6WCVmT7TI4Qocfxp3rTB9JAqCA7pC…",
"kpsdkCd": "{\"workTime\":1792266975504,\"id\":\"c61ec70d…",
"kpsdkH": "01F47DxTPakzMm2tqdC3JSScDjKyQ=",
"kpsdkV": "j-1.2.904",
"acceptLanguage": "en-US,en;q=0.9"
}
}
Shape Security
POST /createTask
Generate headers for targetUrl and method using the page and its Shape loader. scriptUrl and targetUrl must use HTTPS without URL fragments. Parse solution.token as a non-empty JSON header map; acceptLanguage is required. Replay the optional solution.cookies name-to-value object and the task userAgent with the headers. No caller proxy is used. The solve stamps an internal probe; your application body belongs only to replay.
Request fields
| Field | Type | Required | Description |
|---|---|---|---|
clientKey |
string | yes | Your API key (sur_…), created in the dashboard. |
task |
object | yes | Task parameters for the selected type. |
task.type |
string | yes | Task type for Shape Security. |
task.websiteURL |
string | yes | Full URL of the page the check runs on, path and query included. |
task.scriptUrl |
string | yes | Required exact Shape loader URL, including its query string. Must use HTTPS without a URL fragment, for example https://example.com/vendor/loader.js. |
task.targetUrl |
string | yes | The protected request the Shape headers are for. Must use HTTPS without a URL fragment, for example https://www.starbucks.com/apiproxy/v1/account/signin. |
task.userAgent |
string | yes | Your browser's User-Agent: the Windows Chrome string of the client that will use the result, for example Chrome/155.0.0.0. Send the same one when you replay the result. An unsupported value returns ERROR_WRONG_USERAGENT with the accepted strings in supportedUserAgents. |
task.method |
string | no | HTTP method of that protected request. |
task.country |
string | no | Optional two-letter country code (e.g. US, TR). Defaults to US. |
appId |
string | no | Optional referral app ID (app_…). |
Request example
{
"clientKey": "sur_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
"task": {
"type": "ShapeCookieProxyLess",
"websiteURL": "https://example.com/login",
"scriptUrl": "https://example.com/script.js",
"targetUrl": "https://example.com/api/login",
"userAgent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/155.0.0.0 Safari/537.36"
}
}
Response 200
Task accepted (errorId: 0, status: "idle") or an error (errorId: 1).
Result. Poll getTaskResult with the taskId. A solved Shape Security task answers:
{
"errorId": 0,
"status": "ready",
"solution": {
"token": "{\"x-dq7hy5l1-f\":\"A5Kpb0uhAQAAhBL6CVeCkROKahgrOGp0sbnwMZP8…\",\"x-dq7hy5l1-b\":\"54zjgh\",\"x-dq7hy5l1-c\":\"AMCuV0uhAQAAYZIXe32Crbcw85au1b1HoNe6V7wr…\",\"x-dq7hy5l1-d\":\"ADaAhIDBCKGBgQGAAYIQgISigaIAwBGAzPpCxg_3…\",\"x-dq7hy5l1-z\":\"q\",\"x-dq7hy5l1-a\":\"uB0OaTlC5YY=sRXBusdkognyEsf17Z3gZA=Ja9_y…\"}",
"cookies": {
"tiWQK2tY": "A5Kpb0uhAQAAr3uQ7UDFGfTbB4CRebEIAvvtvFXi…"
},
"acceptLanguage": "en-US,en;q=0.9"
}
}
DataDome
POST /createTask
Solve the device check or slider. solution.datadome is the datadome cookie value and the optional solution.cookies object maps every returned cookie name to its value. Send the complete, fresh captchaUrl captured from the blocked session with your proxy. No URL discovery is performed. A t=bv URL is rejected before charging. ready means a cookie was generated, not guaranteed acceptance by the application. This type needs your proxy: send proxy or the split proxy fields.
Request fields
| Field | Type | Required | Description |
|---|---|---|---|
clientKey |
string | yes | Your API key (sur_…), created in the dashboard. |
task |
object | yes | Task parameters for the selected type. |
task.type |
string | yes | Task type for DataDome. |
task.websiteURL |
string | yes | Full URL of the page the check runs on, path and query included. |
task.userAgent |
string | yes | Your browser's User-Agent: the Windows Chrome string of the client that will use the result, for example Chrome/155.0.0.0. Send the same one when you replay the result. An unsupported value returns ERROR_WRONG_USERAGENT with the accepted strings in supportedUserAgents. |
task.captchaUrl |
string | yes | Required complete, fresh DataDome slider or interstitial page URL captured from the blocked session. Preserve its query and proxy session. No URL discovery is performed. A t=bv URL is rejected before charging; change proxy and recapture. |
task.cookies |
string | no | Your session cookies for the page: a Cookie header value (name=value; name2=value2, set on the page's host) or NDJSON (one JSON object per line). |
task.country |
string | no | Optional two-letter country code (e.g. US, TR). Defaults to US. |
task.proxy |
string | no | Proxy URL (http://user:password@host:port or socks5://user:password@host:port) or user:password:host:port. A bare host:port uses HTTP. HTTPS and SOCKS4 proxies are not supported. Alternatively use the split proxy fields. Ignored by proxy=none task types. |
task.proxyType |
string | no | Protocol for the split proxy fields. Defaults to http when omitted; other schemes are rejected before charging. |
task.proxyAddress |
string | no | Proxy hostname or IP address. |
task.proxyPort |
object | no | Proxy port, as a number or a numeric string. |
task.proxyLogin |
string | no | Proxy username, if authentication is required. |
task.proxyPassword |
string | no | Proxy password, if authentication is required. |
appId |
string | no | Optional referral app ID (app_…). |
Request example
{
"clientKey": "sur_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
"task": {
"type": "DataDomeCookie",
"websiteURL": "https://example.com/login",
"userAgent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/155.0.0.0 Safari/537.36",
"captchaUrl": "https://geo.captcha-delivery.com/captcha/?initialCid=YOUR_CAPTURE&t=fe",
"proxyType": "http",
"proxyAddress": "proxy.example.com",
"proxyPort": 8080,
"proxyLogin": "YOUR_PROXY_LOGIN",
"proxyPassword": "YOUR_PROXY_PASSWORD"
}
}
Response 200
Task accepted (errorId: 0, status: "idle") or an error (errorId: 1).
Result. Poll getTaskResult with the taskId. A solved DataDome task answers:
{
"errorId": 0,
"status": "ready",
"solution": {
"datadome": "<datadome>",
"cookies": {
"datadome": "<datadome>"
}
}
}
Image to Text
POST /createTask
Read the text of a classic image captcha from the image alone. Send the module id that matches the captcha library and the base64 image; the characters come back in solution.answer. No URL, proxy or userAgent.
Request fields
| Field | Type | Required | Description |
|---|---|---|---|
clientKey |
string | yes | Your API key (sur_…), created in the dashboard. |
task |
object | yes | Task parameters for the selected type. |
task.type |
string | yes | Task type for Image to Text. |
task.module |
string | yes | ImageToTextTask module ID, a numeric string without leading zeros. Match the sample images on the Image to Text solver page. |
task.body |
string | yes | ImageToTextTask: one captcha image as raw base64, with no data URL prefix or whitespace. No websiteURL, proxy or userAgent is required. Read solution.answer. |
appId |
string | no | Optional referral app ID (app_…). |
Request example
{
"clientKey": "sur_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
"task": {
"type": "ImageToTextTask",
"module": "1",
"body": "UklGRnQJAABXRUJQVlA4WAoAAAAQAAAAfwAAfwAAQUxQSKoCAAABDzD/ERGCrvz/jSTl9z9VjeaOufkP2XlN8QST4enF8xjeRGcyfOtqz/sQz/IGZITo/GV4k6E1eDM92Kna3v4H+qsbTxrR/wnAnx3+AtTFmw4Popvt1OswwbDToMM2bPtTDAaYtImdKkIPD7a5CTCIbfbAE0IbiwAEynlCBHyLADwIeJN7EJgAaHETcBOAXm4XMGg3AHoABrkeYADsauMJwLacQUxuohb7AWBiNE+4LdnPWiAMkwddBt4m14pcIEW0/YjKMSHlKcyhmUyNnmKV21DObTJ1ynN+XSh5t9CCWCQs2ryA4hpKGrktUyd+wzmtmCehtENNYlLLImvTZQJCuX4w8+4NBDR3P7tgldHnDwBV4YVYe+MAIBKEbOZuVCLx5/MZ54I0MqsOZopauJFnqzeNVsYyihSz5YwQlkTc7H3KGKCcc27cMMbDyBcuGu0Dh/Gmii98SMqSLzBGzRd+16ItMd62ly98BX3Lc4jyNl+YZiZzPDh7hYNkFua0VJ7i8DtpvjKRz3AQqyGaGtfxJXGZ1XXnN7daERPAh6TM1IwH1/mQCCVR3rGIwoc+FQOgEllkzIUPFY0FKnE4xqiFD727wUDFABiN8CFuHHTnRdhzXWgjF+RG9vximdkTBXyMHxxq2POWS/xWhbDnHHs+VmBTMqLxHdest/13qZdMbHLS9s/aQTJK5Kztux4n7/H4jmCO2b77DOk1HrkVumQO8UQ55jTPUPtFstamPKccy2yrj3cY1d/xCkVzzGoPzoVXqDJ9o/kovGJ+Mn3SFqLYGW3QIej+fCItcEHMbPHHNoPGLC9OyedGNZbfndIDuaWnEOV3uikXdmJFfkc/hyFW5OdWwJrM0P5Rub7Dg02XJ+ddnlrosh9dHpy4DsFt7WLRBX83T/80/+cBVlA4IKQGAAAwIwCdASqAAIAAPmEqkEYkIqGhK5TqWIAMCWQIcAWAA3QC2ZLvYDOLwzubfFXK/nR649BXpP8wD9X/1O9XT1h/zL0Afsp6wX92/aT3FegB/Y/9F6vX/I9iz9lPYJ/VX0o/28+B79sP26+Af9i///1gHCH/y3s3/u3QE6bOOixxRWb1tc/xmaS/4v53PO1/3fJf9Hf+H3Bv5V/aurd+03sZ/syd1iRxiALU6OfvkpcVmRERbTjAaUHT0fiNSPGefaNb6MV34Ad+ZGlEsTHBEFNkI7cfAG+63mThtEldEqQHtjIb16ZC3J81Wsk87D7NP/f9Gi2cviSi3HtYH/uKtr6PSc5Sj2f8rx/s37OkZKybXP+huKirV3FVWDFtI90lLKiEgAD+2w3s8K0DpS/hA0kwevMHhUrM///LoY/jrozjJ2IXs4z/NymEFo0LZ/SJIquXypopGp9nvzfQZf2ONbjuAIsqOdTfggoljZfjKP2AKMyjvqldrXXp6Hj7sPp/U+Jbisyfbw3zgyK2yXpfR/idYpbt+5gnOr5fZlDxvOlZCwtcC/FweBhyPO3/IeS2Fn1wz5mjZPnYQwvXmC4SftGUg+dgM+IGvn0zT2F/BwQswve4gDPnCupGcJNwEZnK6A95aIKCLVtiP0PlbBgLEm4JYhVdv0mfQ2/MYkiK1bies43KTsL/7T+LJuTftqk/YDYKBF1AhOrFj9EgL6tI5MnZoXtNwPVJrh+dCcttqwi6eOjwGUS8WnEakngdKQuffqsA3N+RsGYcfdRx66IPKsGDJ1Mj5S8UMM8N9I4C1FW7g1qBP/o/seV0+RHPAZKUDy1fAM6jJxXhC/nlGuf3+SoJWOfc6G1cwtiJhgRJadwyZuw4QcNv0DN+3AMYRaE99gJH3p//CnZdHjtsJo6yW5GtWeqj47QNZo5BiOyewYZaKZN1cMNqeht6k2zOZfoXs5PMR6P9lWp1UD+uyMl71LJ7d26RDWbn76DfSsvrQjKjhulF326dRF68Xe2b0t01r7/AD/KUDIf7/Lf1yZeLXUs0r7U3d84lYGv9B1lYweYGuNZS8KGCcX4rAbkN67J29KVNi7novTWGr1awL4Rfd5yut0HUjHGMjbsjYoHuF/a5BPWC1GZUhJNj4B7kXfV/bYqs6PYCyd573OfluomnjBwthd1v+62onPKRyWlMvn4Twm+1TLj++Xni9Y9nLs/QFN+0nzU+d/x5OjxAOpZLPcNbhQfbVwgr9kiY3sO8o4GhPTVnXr6Gpheb1IuPPvxiNhYbdEGq8kuMAfS9WvSO1ID18TfoLwf5B7z9owi4e96UELie4ZRKx72CEH/7oa6e5oVyBuAAi4tYeg4F1xfvBr33uWfg4UNFy4e8+L9L8QuicbdccaBnT/DoZwSomTqnxYlQbB8BqQUKX/+mCVHixqhV/8CEf7uzBSwKpxN60cOsm2dP4i6u/gSP8FYjSB5/Y6L6ooqoff1HLgSh996G0Fq428iixCaue3aEe3aAF/7avJem5PKtBIGD81+aP9q1Vt4cgud92g+5YzZ6Bg4zwZD5fFPgKw+N+E9jCTuVWnC/m8UYgF8pm+bqOa0k/ujZ4bOfxAfctVIB4fKj21HCGW9SLTD3QD/J8O3TPnMqwVoApuMzAwg74q23yj61fNldQbrgiSX4jwdYkiZIgvlA4HzOoa+yfsVAHXV3BCxTvpLnmEAcYuZELtu+iHkPYGo6DVD9pQK/3fkLQyQplmL+y2IhMx5oJrhsEzKicMoAADP1zn//AVl7XREM7qK8dsDz2+oVGc0FeV0CPtiOLot2qRTrNrg8lG0TDPKWzY2HSdPecOrjxpXb/WK5vxo5yA50Q4KOyl8f4yzlCTI7L37h05fPiozf/pKdpvAPpvc8LuOgDRaJB7Pu1p7b29WIRelQoLVfvgvQOldfyG+jP3VuTM4qnhf2fv/0qjSSF2Q2P+Lo7Cc107vSi4l0XINcYoz8ExUrG7bwSML+/pkeZcE+tXPPFoJPunKr5ZF3zSTg+G6TExMvVE2rhyEARzx78NYVARuyHUCSkYE2J7Y8vqBPYYhDGWJX2Z/QdiW+uiLo4ES7F2ZLs/iabUq5JGakLU4NfBvIzZWp0i5oFR0zoVpq501KsFkl43YQrV1eIyJS961V1aiHIbvF+3bUFgQmJSAUCve33siouySIohwPTmcg3fFa2NOF3Q9/cVD70kNH4QfmPOKdfl/KCrG4+md1DTu3xR5AksBQE3Ve/UJ6jEvwAAAAAAAAAA=="
}
}
Response 200
Task accepted (errorId: 0, status: "idle") or an error (errorId: 1).
Result. Poll getTaskResult with the taskId. A solved Image to Text task answers:
{
"errorId": 0,
"status": "ready",
"solution": {
"answer": "<recognized text>"
}
}
Lemin
POST /createTask
Submit a task and collect its result with getTaskResult.
Request fields
| Field | Type | Required | Description |
|---|---|---|---|
clientKey |
string | yes | Your API key (sur_…), created in the dashboard. |
task |
object | yes | Task parameters for the selected type. |
task.type |
string | yes | Task type for Lemin. |
task.websiteURL |
string | yes | Full URL of the page the check runs on, path and query included. |
task.websiteKey |
string | yes | Required Lemin Cropped Captcha identifier beginning with CROPPED_, copied from the widget's script URL. |
task.userAgent |
string | yes | Your browser's User-Agent: the Windows Chrome string of the client that will use the result, for example Chrome/155.0.0.0. Send the same one when you replay the result. An unsupported value returns ERROR_WRONG_USERAGENT with the accepted strings in supportedUserAgents. |
task.country |
string | no | Optional two-letter country code (e.g. US, TR). Defaults to US. |
task.proxy |
string | no | Proxy URL (http://user:password@host:port or socks5://user:password@host:port) or user:password:host:port. A bare host:port uses HTTP. HTTPS and SOCKS4 proxies are not supported. Alternatively use the split proxy fields. Ignored by proxy=none task types. |
task.proxyType |
string | no | Protocol for the split proxy fields. Defaults to http when omitted; other schemes are rejected before charging. |
task.proxyAddress |
string | no | Proxy hostname or IP address. |
task.proxyPort |
object | no | Proxy port, as a number or a numeric string. |
task.proxyLogin |
string | no | Proxy username, if authentication is required. |
task.proxyPassword |
string | no | Proxy password, if authentication is required. |
appId |
string | no | Optional referral app ID (app_…). |
Request example
{
"clientKey": "sur_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
"task": {
"type": "LeminTokenProxyLess",
"websiteURL": "https://example.com/login",
"websiteKey": "CROPPED_YOUR_CAPTCHA_ID",
"userAgent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/155.0.0.0 Safari/537.36"
}
}
Response 200
Task accepted (errorId: 0, status: "idle") or an error (errorId: 1).
Result. Poll getTaskResult with the taskId. A solved Lemin task answers:
{
"errorId": 0,
"status": "ready",
"solution": {
"answer": "<recognized text>",
"challenge_id": "<challenge_id>"
}
}
Imperva Reese84
POST /createTask
Send the sensorUrl captured from the blocked page, plus your proxy, userAgent and cookies containing a script-visible incap_ses cookie; add utmvcUrl and iframeUrl only when that page has them. No URL discovery is performed. solution.reese84 is the cookie value; the optional solution.cookies object maps every returned cookie name to its value. This type needs your proxy: send proxy or the split proxy fields.
Request fields
| Field | Type | Required | Description |
|---|---|---|---|
clientKey |
string | yes | Your API key (sur_…), created in the dashboard. |
task |
object | yes | Task parameters for the selected type. |
task.type |
string | yes | Task type for Imperva Reese84. |
task.websiteURL |
string | yes | Full URL of the page the check runs on, path and query included. |
task.userAgent |
string | yes | Your browser's User-Agent: the Windows Chrome string of the client that will use the result, for example Chrome/155.0.0.0. Send the same one when you replay the result. An unsupported value returns ERROR_WRONG_USERAGENT with the accepted strings in supportedUserAgents. |
task.sensorUrl |
string | yes | Required Imperva Reese84 sensor script URL captured from the current blocked page; a ?s= query on it is fine. Send it with that session's visible incap_ses cookies. |
task.cookies |
string | yes | Your session cookies for the page: a Cookie header value (name=value; name2=value2, set on the page's host) or NDJSON (one JSON object per line). |
task.utmvcUrl |
string | no | Optional Imperva Reese84 UT.mvc bootstrap URL; send it only when the blocked page loads one (/_Incapsula_Resource?SWJIYLWA=...). |
task.iframeUrl |
string | no | Optional for ImpervaCookie and ImpervaUtmvcCookie: the block iframe URL from the current session; send it only when the blocked page has an iframe#main-iframe. |
task.country |
string | no | Optional two-letter country code (e.g. US, TR). Defaults to US. |
task.proxy |
string | no | Proxy URL (http://user:password@host:port or socks5://user:password@host:port) or user:password:host:port. A bare host:port uses HTTP. HTTPS and SOCKS4 proxies are not supported. Alternatively use the split proxy fields. Ignored by proxy=none task types. |
task.proxyType |
string | no | Protocol for the split proxy fields. Defaults to http when omitted; other schemes are rejected before charging. |
task.proxyAddress |
string | no | Proxy hostname or IP address. |
task.proxyPort |
object | no | Proxy port, as a number or a numeric string. |
task.proxyLogin |
string | no | Proxy username, if authentication is required. |
task.proxyPassword |
string | no | Proxy password, if authentication is required. |
appId |
string | no | Optional referral app ID (app_…). |
Request example
{
"clientKey": "sur_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
"task": {
"type": "ImpervaCookie",
"websiteURL": "https://example.com/login",
"userAgent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/155.0.0.0 Safari/537.36",
"sensorUrl": "https://example.com/sensor.js",
"cookies": "incap_ses_123=YOUR_CAPTURE; visid_incap_123=YOUR_CAPTURE",
"proxyType": "http",
"proxyAddress": "proxy.example.com",
"proxyPort": 8080,
"proxyLogin": "YOUR_PROXY_LOGIN",
"proxyPassword": "YOUR_PROXY_PASSWORD"
}
}
Response 200
Task accepted (errorId: 0, status: "idle") or an error (errorId: 1).
Result. Poll getTaskResult with the taskId. A solved Imperva Reese84 task answers:
{
"errorId": 0,
"status": "ready",
"solution": {
"reese84": "<reese84>",
"cookies": {
"reese84": "<reese84>"
}
}
}
Imperva UTMVC
POST /createTask
Generate the ___utmvc cookie value for the protected site, returned as solution.___utmvc with an optional solution.cookies name-to-value object. scriptUrl and a script-visible incap_ses session cookie are required; iframeUrl is optional. Capture the URLs from the current block; no URL discovery is performed. Cookie generation does not guarantee that a separate access policy will allow the request. This type needs your proxy: send proxy or the split proxy fields.
Request fields
| Field | Type | Required | Description |
|---|---|---|---|
clientKey |
string | yes | Your API key (sur_…), created in the dashboard. |
task |
object | yes | Task parameters for the selected type. |
task.type |
string | yes | Task type for Imperva UTMVC. |
task.websiteURL |
string | yes | Full URL of the page the check runs on, path and query included. |
task.userAgent |
string | yes | Your browser's User-Agent: the Windows Chrome string of the client that will use the result, for example Chrome/155.0.0.0. Send the same one when you replay the result. An unsupported value returns ERROR_WRONG_USERAGENT with the accepted strings in supportedUserAgents. |
task.scriptUrl |
string | yes | Required absolute UT.mvc script URL captured from the current block, normally /_Incapsula_Resource?SWJIYLWA=... on the protected site. No automatic discovery is performed. |
task.cookies |
string | yes | Your session cookies for the page: a Cookie header value (name=value; name2=value2, set on the page's host) or NDJSON (one JSON object per line). |
task.iframeUrl |
string | no | Optional for ImpervaCookie and ImpervaUtmvcCookie: the block iframe URL from the current session; send it only when the blocked page has an iframe#main-iframe. |
task.country |
string | no | Optional two-letter country code (e.g. US, TR). Defaults to US. |
task.proxy |
string | no | Proxy URL (http://user:password@host:port or socks5://user:password@host:port) or user:password:host:port. A bare host:port uses HTTP. HTTPS and SOCKS4 proxies are not supported. Alternatively use the split proxy fields. Ignored by proxy=none task types. |
task.proxyType |
string | no | Protocol for the split proxy fields. Defaults to http when omitted; other schemes are rejected before charging. |
task.proxyAddress |
string | no | Proxy hostname or IP address. |
task.proxyPort |
object | no | Proxy port, as a number or a numeric string. |
task.proxyLogin |
string | no | Proxy username, if authentication is required. |
task.proxyPassword |
string | no | Proxy password, if authentication is required. |
appId |
string | no | Optional referral app ID (app_…). |
Request example
{
"clientKey": "sur_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
"task": {
"type": "ImpervaUtmvcCookie",
"websiteURL": "https://example.com/login",
"userAgent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/155.0.0.0 Safari/537.36",
"scriptUrl": "https://example.com/_Incapsula_Resource?SWJIYLWA=YOUR_CAPTURE",
"cookies": "incap_ses_123=YOUR_CAPTURE; visid_incap_123=YOUR_CAPTURE",
"proxyType": "http",
"proxyAddress": "proxy.example.com",
"proxyPort": 8080,
"proxyLogin": "YOUR_PROXY_LOGIN",
"proxyPassword": "YOUR_PROXY_PASSWORD"
}
}
Response 200
Task accepted (errorId: 0, status: "idle") or an error (errorId: 1).
Result. Poll getTaskResult with the taskId. A solved Imperva UTMVC task answers:
{
"errorId": 0,
"status": "ready",
"solution": {
"___utmvc": "<___utmvc>",
"cookies": {
"___utmvc": "<___utmvc>"
}
}
}
AWS CAPTCHA
POST /createTask
Solve the visual AWS WAF CAPTCHA page using its protected website URL. Set solution["aws-waf-token"] as the aws-waf-token cookie and apply the optional solution.cookies object, through the same proxy and userAgent. The silent AWS WAF Challenge uses a separate task type. This type needs your proxy: send proxy or the split proxy fields.
Request fields
| Field | Type | Required | Description |
|---|---|---|---|
clientKey |
string | yes | Your API key (sur_…), created in the dashboard. |
task |
object | yes | Task parameters for the selected type. |
task.type |
string | yes | Task type for AWS CAPTCHA. |
task.websiteURL |
string | yes | Full URL of the page the check runs on, path and query included. |
task.userAgent |
string | yes | Your browser's User-Agent: the Windows Chrome string of the client that will use the result, for example Chrome/155.0.0.0. Send the same one when you replay the result. An unsupported value returns ERROR_WRONG_USERAGENT with the accepted strings in supportedUserAgents. |
task.cookies |
string | no | Your session cookies for the page: a Cookie header value (name=value; name2=value2, set on the page's host) or NDJSON (one JSON object per line). |
task.country |
string | no | Optional two-letter country code (e.g. US, TR). Defaults to US. |
task.proxy |
string | no | Proxy URL (http://user:password@host:port or socks5://user:password@host:port) or user:password:host:port. A bare host:port uses HTTP. HTTPS and SOCKS4 proxies are not supported. Alternatively use the split proxy fields. Ignored by proxy=none task types. |
task.proxyType |
string | no | Protocol for the split proxy fields. Defaults to http when omitted; other schemes are rejected before charging. |
task.proxyAddress |
string | no | Proxy hostname or IP address. |
task.proxyPort |
object | no | Proxy port, as a number or a numeric string. |
task.proxyLogin |
string | no | Proxy username, if authentication is required. |
task.proxyPassword |
string | no | Proxy password, if authentication is required. |
appId |
string | no | Optional referral app ID (app_…). |
Request example
{
"clientKey": "sur_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
"task": {
"type": "AwsCaptchaCookie",
"websiteURL": "https://example.com/login",
"userAgent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/155.0.0.0 Safari/537.36",
"proxyType": "http",
"proxyAddress": "proxy.example.com",
"proxyPort": 8080,
"proxyLogin": "YOUR_PROXY_LOGIN",
"proxyPassword": "YOUR_PROXY_PASSWORD"
}
}
Response 200
Task accepted (errorId: 0, status: "idle") or an error (errorId: 1).
Result. Poll getTaskResult with the taskId. A solved AWS CAPTCHA task answers:
{
"errorId": 0,
"status": "ready",
"solution": {
"aws-waf-token": "<aws-waf-token>",
"cookies": {
"aws-waf-token": "<aws-waf-token>"
}
}
}
Catalog
Public billable-service price list (unauthenticated).
Public service catalog
GET /v1/services
Active services and prices in USD.
Response 200
Catalog.
Accepted task types
GET /v1/task-types
Accepted task types, input fields, solution fields and error codes.
Response 200
Task types.
Account
Profile, dashboard, usage, balance.
Get the balance
POST /getBalance
Returns the account cash balance in USD. Package quota is shown in the dashboard.
Request fields
| Field | Type | Required | Description |
|---|---|---|---|
clientKey |
string | yes | Your API key. |
Request example
{
"clientKey": "sur_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
}
Response 200
{"errorId": 0, "balance": 9.987} or an error (errorId: 1).
Deposits
Deposit addresses and status checks authenticated with your API key.
List deposit coins and networks
GET /v1/deposits/currencies
Select a coin and one of its networks. minimum_amount is the current minimum USD amount.
Response 200
Available coin/network pairs and USD minimum.
Response 401
Invalid API key.
Response 502
Currency catalog unavailable.
Create a deposit
POST /v1/deposits
Send coin, network and a USD amount string. Transfer pay_amount to pay_address on the selected network; include payin_extra_id when present. Creating an address does not credit your balance.
Request fields
| Field | Type | Required | Description |
|---|---|---|---|
amount |
object | yes | Positive USD decimal string. See the current minimum in GET /v1/deposits/currencies. |
coin |
string | yes | Coin ticker, case-insensitive, e.g. USDT or btc. |
network |
string | yes | Network label, case-insensitive, e.g. TRC20; aliases TRX/ERC20-ETH/BSC-BEP20 accepted. |
Response 201
Deposit address and amount.
Response 400
Invalid amount or coin/network pair.
Response 401
Invalid API key.
Response 429
Too many deposit requests.
Response 502
Payment provider unavailable.
Response 503
Deposits or throttling unavailable.
Check a deposit
POST /v1/deposits/{id}/sync
Refresh a deposit owned by your account. Poll no faster than every 10 seconds. credited is true only when this call added credit; credited_at indicates credit already applied. Finished payments credit the account once. Missing and foreign ids both return 404.
Response 200
Deposit status and credit state.
Response 400
Invalid deposit id.
Response 401
Invalid API key.
Response 404
Deposit not found.
Response 502
Status provider unavailable.
Machine-readable spec: /openapi.json.