API de formulário: in.php e res.php
Métodos JSON
Tarefas de token
- reCAPTCHA v2
- reCAPTCHA v2 Enterprise
- reCAPTCHA v3
- Cloudflare Turnstile
- GeeTest v3 / v4
- FunCaptcha (Arkose Labs)
- Amazon AWS WAF
- MTCaptcha
- Friendly Captcha
- Lemin Cropped Captcha
- DataDome
- KeyCaptcha
- Capy Puzzle
- Página de desafio do Cloudflare
- Cutcaptcha
- CyberSiARA
- atbCAPTCHA
- Tencent Captcha
- Prosopo Procaptcha
- CaptchaFox
- Altcha
- NetEase Yidun
- Yandex SmartCaptcha
- VK Captcha
- Binance Captcha
- Tarefa personalizada (Imperva, Temu e outras)
API de formulário: in.php e res.php
A API de formulário recebe a requisição como campos de formulário (GET ou POST) e responde com texto simples. Adicione json=1 para receber JSON. Ela usa a mesma chave e o mesmo saldo dos métodos JSON.
in.php: enviar uma tarefa
Envie key, method e os campos do tipo de CAPTCHA. A resposta é OK|ID, ou ERROR_NAME.
POSThttps://unlock-api.com/in.php
cURL
curl -s "https://unlock-api.com/in.php" -d "key=YOUR_API_KEY&method=userrecaptcha&googlekey=SITE_KEY&pageurl=https://example.com/login"
# OK|1001
curl -s "https://unlock-api.com/in.php" -d "key=YOUR_API_KEY&method=userrecaptcha&googlekey=SITE_KEY&pageurl=https://example.com/login&json=1"
# {"status":1,"request":"1001"}Campos comuns de in.php
keyObrigatório
Sua chave de API.
methodObrigatório
Método da tarefa, por exemplo userrecaptcha, turnstile ou base64. Veja a tabela abaixo.
jsonOpcional
1 para receber respostas em JSON.
pingbackOpcional
Endereço que recebe o resultado por POST quando a tarefa termina.
soft_idOpcional
O id da sua aplicação.
proxyOpcional
Proxy no formato login:password@ip:port.
proxytypeOpcional
HTTP, HTTPS, SOCKS4 ou SOCKS5.
header_acaoOpcional
1 para adicionar o header CORS.
res.php: obter a resposta
Use o id de in.php. A resposta é CAPCHA_NOT_READY enquanto a tarefa roda, OK|ANSWER quando é resolvida, ou o nome do erro.
GEThttps://unlock-api.com/res.php
cURL
curl -s "https://unlock-api.com/res.php?key=YOUR_API_KEY&action=get&id=1001" # CAPCHA_NOT_READY # OK|03AGdBq25SxXT-pmSeBXjzScW... curl -s "https://unlock-api.com/res.php?key=YOUR_API_KEY&action=get2&id=1001" # OK|03AGdBq25SxXT-pmSeBXjzScW...|0.00045
Ações de res.php
action=getResposta de uma tarefa (id).
action=get2Resposta e preço: OK|ANSWER|PRICE.
action=get + idsRespostas de até 100 tarefas (ids=1,2,3), unidas com |.
action=getbalanceSaldo em dólares americanos.
action=reportbad, reportgoodreportbad e reportgood são aceitos e respondem OK_REPORT_RECORDED. Eles não alteram a cobrança.
Métodos por tipo de tarefa
- reCAPTCHA v2
method=userrecaptcha&googlekey=SITE_KEY&pageurl=https://example.com/login - reCAPTCHA v2 Enterprise
method=userrecaptcha&enterprise=1&googlekey=SITE_KEY&pageurl=https://example.com/login - reCAPTCHA v3
method=userrecaptcha&version=v3&action=login&min_score=0.7&googlekey=SITE_KEY&pageurl=https://example.com/login - Cloudflare Turnstile
method=turnstile&sitekey=SITE_KEY&pageurl=https://example.com/login - GeeTest v3 / v4
method=geetest>=GT&challenge=CHALLENGE&pageurl=https://example.com/login - FunCaptcha (Arkose Labs)
method=funcaptcha&publickey=PUBLIC_KEY&pageurl=https://example.com/login - Amazon AWS WAF
method=amazon_waf&sitekey=KEY&iv=IV&context=CONTEXT&pageurl=https://example.com/login - MTCaptcha
method=mt_captcha&sitekey=SITE_KEY&pageurl=https://example.com/login - Friendly Captcha
method=friendly_captcha&sitekey=SITE_KEY&pageurl=https://example.com/login - Lemin Cropped Captcha
method=lemin&captcha_id=CROPPED_ID&div_id=lemin-cropped-captcha&pageurl=https://example.com/login - DataDome
method=datadome&captcha_url=CAPTCHA_URL&pageurl=https://example.com/login&userAgent=UA&proxy=login:pass@1.2.3.4:8080&proxytype=HTTP - KeyCaptcha
method=keycaptcha&s_s_c_user_id=ID&s_s_c_session_id=SID&s_s_c_web_server_sign=S1&s_s_c_web_server_sign2=S2&pageurl=https://example.com/login - Capy Puzzle
method=capy&captchakey=SITE_KEY&pageurl=https://example.com/login - Cutcaptcha
method=cutcaptcha&miseryKey=MISERY_KEY&dataApiKey=DATA_API_KEY&pageurl=https://example.com/login - CyberSiARA
method=cybersiara&SlideMasterId=MASTER_ID&userAgent=UA&pageurl=https://example.com/login - atbCAPTCHA
method=atb_captcha&appId=APP_ID&apiServer=https://cap.aisecurius.com&pageurl=https://example.com/login - Tencent Captcha
method=tencent&appId=APP_ID&pageurl=https://example.com/login - Prosopo Procaptcha
method=prosopo&sitekey=SITE_KEY&pageurl=https://example.com/login - CaptchaFox
method=captchafox&sitekey=SITE_KEY&pageurl=https://example.com/login - Altcha
method=altcha&challengeURL=CHALLENGE_URL&pageurl=https://example.com/login - NetEase Yidun
method=yidun&sitekey=SITE_KEY&pageurl=https://example.com/login - Yandex SmartCaptcha
method=yandex&sitekey=SITE_KEY&pageurl=https://example.com/login - VK Captcha
method=vkcaptcha&redirectUri=REDIRECT_URI&userAgent=UA&pageurl=https://example.com/login - Binance Captcha
method=binance&sitekey=login&validateId=VALIDATE_ID&pageurl=https://example.com/login - Tarefa personalizada (Imperva, Temu e outras)
method=incapsula&pageurl=https://example.com/login - Imagem para texto
method=base64&body=BASE64_IMAGE - Pergunta em texto
method=textcaptcha&textcaptcha=What+is+7+plus+5%3F - Grade de imagens
method=base64&recaptcha=1&textinstructions=Select+all+traffic+lights&body=BASE64_IMAGE - Coordenadas de clique
method=base64&coordinatescaptcha=1&textinstructions=Click+the+cat&body=BASE64_IMAGE - Girar
method=rotatecaptcha&body=BASE64_IMAGE - Áudio
method=audio&lang=en&body=BASE64_AUDIO - Caixa delimitadora
method=bounding_box&textinstructions=Draw+a+box+around+each+car&body=BASE64_IMAGE - Desenhar contorno
method=base64&canvas=1&textinstructions=Draw+around+the+dog&body=BASE64_IMAGE