NeuroCaptcha

작업 유형

ARCaptcha

ARCaptchaTaskProxyless프록시 불필요

페이지 파라미터를 보내면 다른 모든 유형과 같은 응답 형식으로 바로 쓸 수 있는 토큰을 받습니다.

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

요금

US$1.201,000건당

건당 US$0.0012

API 키 발급

실시간 지표(24시간)

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

작업 파라미터

파라미터타입필수작업 파라미터
typestring필수ARCaptchaTaskProxyless
websiteURLstring필수캡차가 있는 페이지의 전체 URL.
websiteKeystring필수사이트 키(data-sitekey 또는 anchor 요청의 k 파라미터).
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": "ARCaptchaTaskProxyless",
        "websiteURL": "https://example.com/login",
        "websiteKey": "YOUR_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"]["token"])
        break

다른 작업 유형