Service Details

  • Service ID: funcaptcha
  • Price: $0.0008 persolveper solve ($0.80 per 1000 solves)
  • Average Solve Time: 15 seconds
  • Success Rate: 90%

Required Parameters

preset
string
required

The preset parameter of the FunCaptcha for the target website.

proxy
string
required

Proxy in format login:password@ip_address:port. Required for accurate solving.

data.blob
string
required

The blob parameter extracted from the FunCaptcha challenge.

Optional Parameters

userAgent
string

The User-Agent header that will be used when solving the captcha. Must match the one used in your browser.

data.custom_cookies
object

Custom cookies required by some websites. Format is a key-value object with cookie names and values.

Example Request

curl -X POST https://captcha.vast.sh/api/solver/createTask \
  -H "Content-Type: application/json" \
  -d '{
    "clientKey": "YOUR_API_KEY",
    "task": {
      "type": "FunCaptchaTask",
      "preset": "snapchat_register",
      "proxy": "user:pass@ip:port",
      "data": {
        "blob": "eyJ0eXAiOiJKV1Qu...",
        "custom_cookies": {
          "cookie_name1": "cookie_value1",
          "cookie_name2": "cookie_value2"
        }
      }
    }
  }'

Solution Format

{
  "token": "7599f0be0d824cfbb....."
}

Supported Sites

Supported sites can be found at https://captcha.vast.sh/dashboard/submit-preset

Integration Examples

Python

import requests
import time

# Create a task
task_data = {
    "clientKey": "YOUR_API_KEY",
    "task": {
        "type": "FunCaptchaTask",
        "preset": "snapchat_register",
        "proxy": "user:pass@ip:port",
        "data": {
            "blob": "eyJ0eXAiOiJKV1Qu...",
            "custom_cookies": {
                "cookie_name1": "cookie_value1",
                "cookie_name2": "cookie_value2"
            }
        }
    }
}

response = requests.post(
    "https://captcha.vast.sh/api/solver/createTask", 
    json=task_data
)
task_id = response.json()["taskId"]

# Get the result
while True:
    result_data = {
        "clientKey": "YOUR_API_KEY",
        "taskId": task_id
    }
    result = requests.post(
        "https://captcha.vast.sh/api/solver/getTaskResult", 
        json=result_data
    ).json()
    
    if result.get("status") == "ready":
        # Use the token in your form submission
        funcaptcha_token = result["solution"]["token"]
        break
    
    time.sleep(3)  # Wait before trying again

Notes

  • The solution token is typically valid for 2-3 minutes after being issued.
  • Extracting the blob parameter requires some JavaScript knowledge. Refer to our integration guides for more information.
  • Proxy usage is required for accurate solving.
  • Custom cookies may be required for some websites to properly validate the token. These should be extracted from your browser session.
  • Contact us if you need support for additional sites not listed above.