NeuroCaptcha

タスクタイプ

GeeTest v4

GeeTestTaskProxylessV4プロキシ不要

ページのパラメータを送信すると、他のタイプと同じレスポンス形式で、すぐに使えるトークンを受け取れます。

プロキシ不要:当社のインフラから解決します。対象サイトがトークンをIPに紐付けていない場合に最適です。

料金

$0.901,000件あたり

1件あたり$0.0009

APIキーを取得

リアルタイムメトリクス(24時間)

このタイプのリアルタイムメトリクスは、ローンチ後にステータスページに表示されます。

タスクパラメータ

パラメータ型必須タスクパラメータ
typestring必須GeeTestTaskProxylessV4
websiteURLstring必須CAPTCHAが表示されるページの完全なURL。
captchaIdstring必須キャプチャ ID:GeeTest v4 の captcha_id または Lemin の CROPPED_… ID。
userAgentstring任意解決に使うUser-Agent。トークンを送信する際も同じものを使ってください。
cookiesstring任意対象サイトのCookie(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": "GeeTestTaskProxylessV4",
        "websiteURL": "https://example.com/login",
        "captchaId": "e392e1d7fd421dc63325744d5a2b9c73",
    },
}).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"])
        break

その他のタスクタイプ