Skip to content

SOP 013: Captchas API Reference

Fresh
FieldValue
SOP IDSOP-013
Version1.0
StatusActive
SourceSteel Captchas API

Overview

The Captchas API provides endpoints for checking CAPTCHA status and triggering solves within active sessions.

CAPTCHA Detection & Solving Flow

API Endpoints

Get CAPTCHA Status

Check detected CAPTCHAs in a session:

typescript
const captchas = await client.sessions.captchas.list(sessionId);
// Returns array of detected CAPTCHAs with status, type, taskId, pageId, url

Solve CAPTCHAs

typescript
// Solve ALL detected CAPTCHAs
await client.sessions.captchas.solve(sessionId);

// Solve by task ID
await client.sessions.captchas.solve(sessionId, { taskId: 'task_123' });

// Solve by URL
await client.sessions.captchas.solve(sessionId, { url: 'https://example.com' });

// Solve by page ID
await client.sessions.captchas.solve(sessionId, { pageId: 'page_123' });

Session Configuration

Auto-solving (default when enabled)

typescript
const session = await client.sessions.create({
  solveCaptcha: true
});

Detect-only mode (manual solving)

typescript
const session = await client.sessions.create({
  solveCaptcha: true,
  stealthConfig: {
    autoCaptchaSolving: false
  }
});

Supported CAPTCHA Types

TypeStatusNotes
ReCAPTCHA v2SupportedImage and checkbox challenges
ReCAPTCHA v3SupportedScore-based, invisible
Cloudflare TurnstileSupportedCommon on modern sites
ImageToTextSupportedTraditional image CAPTCHAs
Amazon AWS WAFSupportedBot detection challenges
GeeTest v3/v4Coming SoonSlider and click challenges
FunCAPTCHANot SupportedArcade-style challenges

Verification Checklist

  • [ ] solveCaptcha: true set on session
  • [ ] CAPTCHA status endpoint returns detected CAPTCHAs
  • [ ] Auto-solve resolves within reasonable time
  • [ ] Manual solve endpoint triggers for specific CAPTCHAs
  • [ ] Automation continues after solve

See Also

SOP Documentation Hub - Built from Steel.dev Official Docs