ImpervaToken
Solve an Imperva / Incapsula block through your own proxy and get back the full cookie jar to replay.
Imperva (formerly Incapsula) fronts enterprise login, checkout and API endpoints. ImpervaToken is the managed variant: the solver loads the challenge script through the proxy you supply and returns the cookie jar that clears the block.
Collecting the inputs
Request the protected page through the proxy you will pass to the task, and keep the blocked response. It
carries the incap_ses_* and visid_incap_* cookies you send as incapsulaCookies.
Read the challenge script URL out of that response: the src matching
/_Incapsula_Resource?SWJIYLWA=…, and send its absolute form as incapsulaScriptUrl. It rotates, so read it
fresh on every block.
If the site also guards the page with reese84, add reese84UrlEndpoint: the path the page POSTs its sensor to,
visible in DevTools as POST …?d=<your-domain>.
Replay every cookie from solution.cookies on the request that was blocked, over the same proxy.
One IP, one User-Agent, start to finish
The cookies are bound to the proxy exit IP and the User-Agent used during solving. Use a sticky proxy and the same UA for triggering the block, solving, and replaying, and match your TLS fingerprint and header order to a real browser, since correct cookies on a mismatched client are still refused.
Proxyless alternatives
If you would rather keep the HTTP yourself, the challenge splits into two request-based tasks:
- ImpervaReese84TokenProxyLess / ImpervaReese84SensorProxyLess: the reese84 sensor layer.
- ImpervaUtmvcTokenProxyLess: the
___utmvcchallenge layer.
Supported Providers
| Provider | Price per 1,000 | Routing |
|---|---|---|
| $2.99 | ||
| $2.00 | ||
| $0.80 |
Request Schema
| Field | Type | Required | Description |
|---|---|---|---|
clientKey* | string | Yes | Your API key. Create one in the AnySolver dashboard. Example: |
task* | object | Yes | The task body. Required fields depend on the task type. See Tasks for per-task schemas. View task properties |
settings | object | No | Per-request settings for routing, auto retry, auto fallback, and proxy behavior. See Routing Strategies. View settings reference |
Task Object Properties
The task field accepts an object with the following properties:
| Field | Type | Required | Description |
|---|---|---|---|
type* | Yes | ||
websiteURL* | URL | Yes | Full URL of the page where the CAPTCHA is displayed. Example: |
incapsulaScriptUrl* | string | Yes | Absolute URL of the Example: |
incapsulaCookies* | string | Yes | Cookie header from the blocked response, as Example: |
proxy* | string | object | Yes | |
reese84UrlEndpoint | string | No | Absolute URL of the reese84 sensor endpoint, taken from the Example: |
userAgent | string | No | Browser User-Agent string. Must match the browser used on the target page. Not all providers properly support this parameter. Verify the compatibility with the provider you are using. Example: |
Optional fields are not guaranteed across providers
Response Schema
| Field | Type | Required | Description |
|---|---|---|---|
status* | Yes | Task status: "processing", "ready", or "failed". Example: | |
errorId* | Yes | 0 = success, 1 = external error, 2 = internal error. Example: | |
taskId | string | No | Unique identifier returned when the task was created. Example: |
errorCode | No | Machine-readable error code. Example: | |
errorDescription | string | No | Human-readable error message with resolution hints. Example: |
cost | number | No | Actual cost charged for this task in USD. Example: |
taskType | No | The type of CAPTCHA task to solve. Example: | |
provider | No | Provider that handled this task. While processing, the provider currently solving it. Example: | |
solution | object | No |
Solution Object Properties
The solution field contains an object with the following properties:
| Field | Type | Required | Description |
|---|---|---|---|
cookies* | Record<string, unknown> | Yes | Cookie jar to replay on the protected site, as a name → value map. Example: |
raw* | Record<string, unknown> | Yes | Raw provider response data for advanced use cases. |
token | string | No | The Example: |
userAgent | string | No | User-Agent string used during solving (if applicable). Example: |