ProsopoTokenProxyLess
Solve a Prosopo Procaptcha widget without a proxy and get the token to submit with your form. Shows the request schema, an example and provider prices.
ProsopoTokenProxyLess solves a Prosopo Procaptcha widget from the provider network and returns the token to submit with your form. Procaptcha is a CAPTCHA widget that the site's backend verifies with Prosopo.
If the site validates the token against the address that submits it, use ProsopoToken with your proxy.
Find websiteKey
The sitekey is set in one of two places, per Prosopo's client-side rendering guide:
- Implicit rendering: the
data-sitekeyattribute of a<div class="procaptcha">element. - Explicit rendering: the
siteKeyoption ofwindow.procaptcha.render(container, { siteKey: ... }).
The page loads the widget from procaptcha.bundle.js, so searching the source for procaptcha or data-sitekey leads to it. The key is a long string of letters and digits. Send the URL of the page that renders the widget as websiteURL. userAgent is optional and sets the browser User-Agent used to load the page.
Use the token
The solution contains the token and, when the provider reports it, the userAgent of the browser that solved it. Per Prosopo's client-side rendering guide, a widget inside a form adds the token to the form data, and the site reads it as the procaptcha-response POST parameter. Submit your token as procaptcha-response, and use the returned userAgent for your own requests to the site. If the page sends the token another way, submit the form once in a browser with the DevTools Network tab open and find the parameter that carries it.
If the site rejects the token, check that websiteKey and websiteURL come from the page that renders the widget.
Check Provider stats for live success rates and solve times before you pick a provider.
Supported Providers
| Provider | Price per 1,000 | Routing |
|---|---|---|
2Captcha | $1.45 | |
Anti-Captcha | $2.00 | |
CapMonster | $1.30 | |
SolveCaptcha | $1.45 |
Request Schema
| Field | Type | Required | Description |
|---|---|---|---|
clientKey* | string | Yes | Your API key. Create one in a workspace of 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, proxy reuse, response statistics and detailed analytics. Each field overrides the API key's value. See Routing modes. 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: |
websiteKey* | string | Yes | The Prosopo Procaptcha siteKey from the page. 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: |
{
"clientKey": "YOUR_API_KEY",
"task": {
"type": "ProsopoTokenProxyLess",
"websiteURL": "https://www.example.com/",
"websiteKey": "5EPQoMZEDc5LpN7gtxMMzYPTzA6UeWqL2stk1rso9gy4Ahqt"
}
}Optional fields are not guaranteed across providers
Response Schema
| Field | Type | Required | Description |
|---|---|---|---|
status* | Yes | Task status: "processing", "ready", or "failed". Example: | |
errorId* | Yes |
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 |
|---|---|---|---|
token* | string | Yes | The Procaptcha token. Submit it with the form on the target page. Example: |
raw* | Record<string, unknown> | Yes | Raw provider response data for advanced use cases. |
userAgent | string | No | User-Agent of the browser that solved the captcha. Use it when you submit the token. Example: |