API formulaire : in.php et res.php
Méthodes JSON
Tâches à 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
- Page Cloudflare Challenge
- Cutcaptcha
- CyberSiARA
- atbCAPTCHA
- Tencent Captcha
- Prosopo Procaptcha
- CaptchaFox
- Altcha
- NetEase Yidun
- Yandex SmartCaptcha
- VK Captcha
- Binance Captcha
- Tâche personnalisée (Imperva, Temu et autres)
API formulaire : in.php et res.php
L'API formulaire reçoit la requête sous forme de champs de formulaire (GET ou POST) et répond en texte brut. Ajoutez json=1 pour recevoir du JSON. Elle utilise la même clé et le même solde que les méthodes JSON.
in.php : envoyer une tâche
Envoyez key, method et les champs du type de CAPTCHA. La réponse est 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"}Champs in.php communs
keyObligatoire
Votre clé API.
methodObligatoire
Méthode de la tâche, par exemple userrecaptcha, turnstile ou base64. Voir le tableau ci-dessous.
jsonFacultatif
1 pour recevoir des réponses JSON.
pingbackFacultatif
Adresse qui reçoit le résultat par POST quand la tâche est terminée.
soft_idFacultatif
L'id de votre application.
proxyFacultatif
Proxy au format login:password@ip:port.
proxytypeFacultatif
HTTP, HTTPS, SOCKS4 ou SOCKS5.
header_acaoFacultatif
1 pour ajouter l'en-tête CORS.
res.php : obtenir la réponse
Utilisez l'id renvoyé par in.php. La réponse est CAPCHA_NOT_READY pendant l'exécution de la tâche, OK|ANSWER une fois résolue, ou le nom de l'erreur.
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
Actions res.php
action=getRéponse d'une tâche (id).
action=get2Réponse et prix : OK|ANSWER|PRICE.
action=get + idsRéponses de 100 tâches au maximum (ids=1,2,3), séparées par |.
action=getbalanceSolde en dollars américains.
action=reportbad, reportgoodreportbad et reportgood sont acceptés et répondent OK_REPORT_RECORDED. Ils ne modifient pas le montant facturé.
Méthodes par type de tâche
- 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 - Tâche personnalisée (Imperva, Temu et autres)
method=incapsula&pageurl=https://example.com/login - Image vers texte
method=base64&body=BASE64_IMAGE - Question texte
method=textcaptcha&textcaptcha=What+is+7+plus+5%3F - Grille d'images
method=base64&recaptcha=1&textinstructions=Select+all+traffic+lights&body=BASE64_IMAGE - Coordonnées de clic
method=base64&coordinatescaptcha=1&textinstructions=Click+the+cat&body=BASE64_IMAGE - Rotation
method=rotatecaptcha&body=BASE64_IMAGE - Audio
method=audio&lang=en&body=BASE64_AUDIO - Cadre de délimitation
method=bounding_box&textinstructions=Draw+a+box+around+each+car&body=BASE64_IMAGE - Tracer un contour
method=base64&canvas=1&textinstructions=Draw+around+the+dog&body=BASE64_IMAGE