80trust / 100

Twocaptcha Solve

by Vaaya in Productivity & SaaS

x402 APIPassing, checked 59 min ago

2Captcha — submit a captcha task (reCAPTCHA, Turnstile, hCaptcha, image; ~0.3¢). Params: `task` object per 2Captcha createTask schema. Poll with twocaptcha:result.

POST https://vaaya.ai/api/run/twocaptcha/solve

Last 30 days

All checks passedSome failedAll failedNot checked
Uptime
100%
Response time
206 ms typical, 206 ms slowest 5%
Last check
59 min ago
Next check
any minute now

How to call it

# See the payment challenge (nothing is charged)
curl -i -X POST "https://vaaya.ai/api/run/twocaptcha/solve" \
  -H "content-type: application/json" \
  -d '{"task":{}}'
import { wrapFetchWithPayment } from "@x402/fetch";
import { x402Client } from "@x402/core/client";
import { ExactEvmScheme } from "@x402/evm/exact/client";
import { privateKeyToAccount } from "viem/accounts";

const client = new x402Client().register(
  "eip155:8453",
  new ExactEvmScheme(privateKeyToAccount(process.env.AGENT_KEY)),
);
const pay = wrapFetchWithPayment(fetch, client);

// Not sure it's safe to pay? Preflight it first for $0.005:
// GET https://toolvet.app/api/v1/check?url=https%3A%2F%2Fvaaya.ai%2Fapi%2Frun%2Ftwocaptcha%2Fsolve
const res = await pay("https://vaaya.ai/api/run/twocaptcha/solve", {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: JSON.stringify({"task":{}}),
});
console.log(await res.json());

Example input

{
  "task": {}
}

Example output

{
  "charged_cents": 1,
  "data": {},
  "ok": true
}

Security scan

  • No findings. We scan names, descriptions and tool definitions for hidden instructions and other prompt-injection patterns.

Recent checks

WhenResultHTTPTimePrice
59 min agoPassed402301 ms$0.01
6 h agoPassed402206 ms$0.01