Solve FunCaptcha from Arkose Labs with proxy
This type of task solves arkoselabs.com puzzles in our workers' browsers. Your app submits the website address and public key and receives a token after task completion. Use this token to submit the form with the Arkose Labs captcha.
Examples
Task object
Related tutorial: Learn how to use breakpoints in Chrome to find API parameters for FunCaptcha and GeeTest
Property | Type | Required | Purpose |
---|---|---|---|
type | String | Yes | FunCaptchaTask |
websiteURL | String | Yes | Address of a target web page. Can be located anywhere on the web site, even in a member area. Our workers don't navigate there but simulate the visit instead. |
websitePublicKey | String | Yes | Arkose Labs public key. |
funcaptchaApiJSSubdomain | String | No | Custom Arkose Labs subdomain from which the Javascript widget is loaded. Look in the browser's Developer Console for URL like https://someservice-api.arkoselabs.com/v2/07070707-2000-0000-1111-888888888888/api.js, in this case the subdomain is "someservice-api.arkoselabs.com" and the public key is "07070707-2000-0000-1111-888888888888". |
data | String | No | An additional parameter that may be required by Arkose Labs implementation.
Use this property to send "blob" value as an object converted to a string. See an example of what it might look like. {"\blob\":\"HERE_COMES_THE_blob_VALUE\"} |
proxyType | String | Yes | Type of proxy http - usual http/https proxy socks4 - socks4 proxy socks5 - socks5 proxy |
proxyAddress | String | Yes | Proxy IP address ipv4/ipv6. No host names or IP addresses from local networks. |
proxyPort | Integer | Yes | Proxy port |
proxyLogin | String | Yes | Login for proxy which requires authorization (basic) |
proxyPassword | String | Yes | Proxy password |
userAgent | String | Yes | Provide the User Agent you are using to navigate the website. Our workers will use the same value during the hCaptcha solving process. |
Request example
Python
Javascript
Go
PHP
Java
C#
bash
#pip3 install anticaptchaofficial
from anticaptchaofficial.funcaptchaproxyon import *
solver = funcaptchaProxyon()
solver.set_verbose(1)
solver.set_key("YOUR_API_KEY_HERE")
solver.set_website_url("https://website.com")
solver.set_website_key("XXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXX")
# optional funcaptcha API subdomain, see our Funcaptcha documentation for details
# solver.set_js_api_domain("custom-api-subdomain.arkoselabs.com")
# optional data[blob] value, read the docs
# solver.set_data_blob("{\"blob\":\"DATA_BLOB_VALUE_HERE\"}")
solver.set_proxy_address("PROXY_ADDRESS")
solver.set_proxy_port(1234)
solver.set_proxy_login("proxylogin")
solver.set_proxy_password("proxypassword")
solver.set_user_agent("Mozilla/5.0")
# Specify softId to earn 10% commission with your app.
# Get your softId here: https://anti-captcha.com/clients/tools/devcenter
solver.set_soft_id(0)
token = solver.solve_and_return_solution()
if token != 0:
print("result token: "+token)
else:
print("task finished with error "+solver.error_code)
Task solution object
Property | Type | Purpose |
---|---|---|
token | String | Token string required for interacting with the submit form on the target website. |
Response example
{
"errorId":0,
"status":"ready",
"solution":
{
"token":"14160cdbe84b28cd5.8020398501|r=us-east-1|metabgclr=%23ffffff|maintxtclr=%231B1B1B|mainbgclr=%23ffffff|guitextcolor=%23747474|metaiconclr=%23757575|meta=7|pk=B7D8911C-5CC8-A9A3-35B0-554ACEE604DA|at=40|ag=101|cdn_url=https%3A%2F%2Ffuncaptcha.com%2Fcdn%2Ffc|lurl=https%3A%2F%2Faudio-us-east-1.arkoselabs.com|surl=https%3A%2F%2Ffuncaptcha.com"
},
"cost":"0.001500",
"ip":"46.98.54.221",
"createTime":1472205564,
"endTime":1472205570,
"solveCount":"0"
}