NeuroCaptcha

작업 유형

reCAPTCHA v2 Enterprise

RecaptchaV2EnterpriseTaskProxyless프록시 불필요

reCAPTCHA v2는 ‘로봇이 아닙니다’ 체크박스와 그 보이지 않는(invisible) 버전입니다. API는 gRecaptchaResponse 토큰을 반환하며, 이 토큰을 페이지의 폼과 함께 제출하면 됩니다.

Enterprise 버전: 사이트가 enterprise.js를 불러오고 enterprisePayload로 추가 데이터를 전달할 수 있습니다. 그 값을 그대로 보내세요.

프록시 불필요: 당사 인프라에서 해결합니다. 대상 사이트가 토큰을 IP에 묶지 않는 경우에 적합합니다.

요금

US$1.501,000건당

건당 US$0.0015

API 키 발급

실시간 지표(24시간)

이 유형의 실시간 지표는 출시 후 상태 페이지에 표시됩니다.

작업 파라미터

파라미터타입필수작업 파라미터
typestring필수RecaptchaV2EnterpriseTaskProxyless
websiteURLstring필수캡차가 있는 페이지의 전체 URL.
websiteKeystring필수사이트 키(data-sitekey 또는 anchor 요청의 k 파라미터).
isInvisibleboolean선택보이지 않는 reCAPTCHA v2(체크박스 없음)인 경우 true.
recaptchaDataSValuestring선택페이지에서 data-s를 사용하는 경우 그 값(일부 Google 서비스).
enterprisePayloadobject선택추가 Enterprise 파라미터(예: s)를 객체로 전달합니다.
apiDomainstring선택위젯을 불러오는 도메인: google.com 또는 recaptcha.net.
userAgentstring선택해결에 사용할 User-Agent. 토큰을 제출할 때도 같은 값을 사용하세요.
cookiesstring선택대상 사이트의 쿠키(key1=value1; key2=value2 형식).

예제

import time
import requests

API = "https://"
KEY = "YOUR_API_KEY"

# 1. create a task: the price is held, not charged
task = requests.post(f"{API}/createTask", json={
    "clientKey": KEY,
    "task": {
        "type": "RecaptchaV2EnterpriseTaskProxyless",
        "websiteURL": "https://example.com/login",
        "websiteKey": "6Le-SITE-KEY",
    },
}).json()
if task["errorId"]:
    raise RuntimeError(task["errorCode"])

# 2. poll the result (or pass "callbackUrl" and get a signed webhook)
while True:
    time.sleep(3)
    res = requests.post(f"{API}/getTaskResult",
                        json={"clientKey": KEY, "taskId": task["taskId"]}).json()
    if res["errorId"]:
        raise RuntimeError(res["errorCode"])
    if res["status"] == "ready":
        print(res["solution"]["gRecaptchaResponse"])
        break

다른 작업 유형