Skip to content

Capy Puzzle

Capy Puzzle is a drag-and-drop CAPTCHA that requires users to complete a jigsaw-style puzzle by moving a piece into the correct position. It is commonly used on Japanese websites and financial services. The uCaptcha API solves Capy challenges and returns a verification token, with or without a proxy.

TypeProxyDescription
CapyTokenProxyLessNoSolve without proxy (recommended)
CapyTokenYesSolve using your proxy
ParameterTypeRequiredDescription
typestringYesTask type from the table above
websiteURLstringYesURL of the page with the Capy challenge
websiteKeystringYesCapy puzzle site key

Required when using the CapyToken task type.

ParameterTypeRequiredDescription
proxyTypestringYeshttp, socks4, or socks5
proxyAddressstringYesProxy IP or hostname
proxyPortintegerYesProxy port
proxyLoginstringNoProxy username
proxyPasswordstringNoProxy password
{
"clientKey": "YOUR_API_KEY",
"task": {
"type": "CapyTokenProxyLess",
"websiteURL": "https://example.com/form",
"websiteKey": "PUZZLE_Abc1dEFghIJKLMnop2"
}
}
{
"errorId": 0,
"taskId": "abc-123-def"
}
{
"token": "03AGdBq24PBCbwiDRaS_MJ7Z...7Pqz6Jhp2gFnuhaTf3o"
}
FieldTypeDescription
tokenstringThe Capy verification token to submit with the form

Once you receive the token value from the solution:

  1. Form submission — Set the Capy verification token in the appropriate hidden input field on the page and submit the form.
  2. Callback — Pass the token to the Capy callback function if the site uses a JavaScript-based verification flow.
import requests
import time
API_KEY = "YOUR_API_KEY"
# Create task
response = requests.post("https://api.ucaptcha.net/createTask", json={
"clientKey": API_KEY,
"task": {
"type": "CapyTokenProxyLess",
"websiteURL": "https://example.com/form",
"websiteKey": "PUZZLE_Abc1dEFghIJKLMnop2"
}
})
task_id = response.json()["taskId"]
# Poll for result
while True:
result = requests.post("https://api.ucaptcha.net/getTaskResult", json={
"clientKey": API_KEY,
"taskId": task_id
}).json()
if result["status"] == "ready":
token = result["solution"]["token"]
print("Token:", token)
break
elif result["status"] == "failed":
print("Error:", result.get("errorDescription"))
break
time.sleep(5)
const API_KEY = "YOUR_API_KEY";
const { taskId } = await fetch("https://api.ucaptcha.net/createTask", {
method: "POST",
headers: { "Content-Type": "application/json" },
body: JSON.stringify({
clientKey: API_KEY,
task: {
type: "CapyTokenProxyLess",
websiteURL: "https://example.com/form",
websiteKey: "PUZZLE_Abc1dEFghIJKLMnop2"
}
})
}).then(r => r.json());
while (true) {
const result = await fetch("https://api.ucaptcha.net/getTaskResult", {
method: "POST",
headers: { "Content-Type": "application/json" },
body: JSON.stringify({ clientKey: API_KEY, taskId })
}).then(r => r.json());
if (result.status === "ready") {
console.log("Token:", result.solution.token);
break;
} else if (result.status === "failed") {
console.error("Error:", result.errorDescription);
break;
}
await new Promise(r => setTimeout(r, 5000));
}
Terminal window
# Create task
curl -X POST https://api.ucaptcha.net/createTask \
-H "Content-Type: application/json" \
-d '{
"clientKey": "YOUR_API_KEY",
"task": {
"type": "CapyTokenProxyLess",
"websiteURL": "https://example.com/form",
"websiteKey": "PUZZLE_Abc1dEFghIJKLMnop2"
}
}'
# Poll for result (replace TASK_ID with the taskId from above)
curl -X POST https://api.ucaptcha.net/getTaskResult \
-H "Content-Type: application/json" \
-d '{
"clientKey": "YOUR_API_KEY",
"taskId": "TASK_ID"
}'
  • 2Captcha