Skip to content
CaptchaSonic

aws-waf-token + vượt thử thách

API giải AWS WAF Captcha

AWS WAF Captcha bảo vệ các origin EC2, CloudFront và API Gateway bằng thử thách hình ảnh cùng một Proof of Work JS âm thầm để cấp cookie aws-waf-token. CaptchaSonic trả về token hợp lệ qua taskType AwsWafClassification — dưới một giây với lưới hình ảnh — và có thể lưu đệm trong khoảng 5 phút của phiên cho các yêu cầu sau.

captchasonic
# CaptchaSonic — AWS WAF (Python)
import requests

requests.post('https://api.captchasonic.com/createTask', json={
  'clientKey': 'YOUR_API_KEY',
  'task': {
    'type': 'AwsWafClassification',
    'websiteURL': 'https://target.example.com/',
    'images': ['base64_1...', 'base64_2...'],
    'question': 'Select the galaxy spiral'
  }
})
# Poll /getTaskResult; typed_solution.grid.objects holds the chosen cell indices.
$0.20
Mỗi 1K lượt giải
21s
Giải trung bình
99.9%
Tỷ lệ thành công
99.9%
Thời gian hoạt động

Vì sao dùng Sonic cho aws-waf-token + vượt thử thách?

Được xây dựng để nhanh, đáng tin cậy và dễ tích hợp.

Cookie aws-waf-token

AwsWafClassification trả về giá trị aws-waf-token sẵn sàng đặt cho yêu cầu tiếp theo — không cần chạy JS thủ công.

Giải dưới một giây

Thử thách lưới hình ảnh của AWS WAF hoàn tất trong dưới một giây nhờ phân loại trong tiến trình — không cần khởi động trình duyệt headless.

Thân thiện với chế độ không proxy

AWS WAF xác thực token chứ không xác thực IP — hầu hết origin chấp nhận lời giải không proxy; chỉ ghim proxy vùng Mỹ cho các endpoint bị giới hạn địa lý.

Lưu đệm token

Token AWS WAF có hiệu lực khoảng 5 phút cho mỗi origin — hãy lưu đệm phản hồi và dùng lại cho các yêu cầu tiếp theo thay vì giải lại mỗi lần gọi.

Xây dựng với sản phẩm

SDK

AI agent

Bypass AWS WAF captcha challenges from Claude, Cursor, or any MCP client.

Tài liệu MCP

Tiện ích

Ví dụ SDK
Python
from captchasonic import CaptchaSonic
client = CaptchaSonic(api_key="YOUR_API_KEY")
result = client.solve_aws_waf(image_b64="...")
print(result.typed_solution.grid.objects)
Node
import { CaptchaSonic } from 'captchasonic'
const client = new CaptchaSonic({ apiKey: 'YOUR_API_KEY' })
const result = await client.solveAwsWaf({ imageB64: '...' })
console.log(result.typed_solution.grid.objects)
So sánh của chúng tôi

Compare

So sánh của chúng tôi

Feature-by-feature against the four most-mentioned alternatives, compiled from each provider’s public pricing pages. Competitor figures may change — verify current rates with each provider.

FeatureCaptchaSonic2CaptchaCapSolverAnti-CaptchaCapMonster Cloud
AI / ML solver (no human relay)
AWS WAF
Success rate (trailing 30d)99.9%~95%~98%~95%~97%
Proxy + proxyless modes
Free trial credits
SDK languages (Py, Node, Go, C#, Java, PHP)66454
Selenium / Puppeteer / Playwright examples
Browser extension
Webhook callbacks
99.9% uptime SLA

Câu hỏi thường gặp

AWS WAF Captcha is the bot-mitigation layer Amazon ships with AWS WAF — it protects EC2, CloudFront and API Gateway origins by serving an image-grid challenge plus a silent JS proof-of-work that issues the aws-waf-token cookie. It is widely deployed on e-commerce, ticketing and API endpoints hosted on AWS.

CaptchaSonic handles both the visible image-grid challenge and the silent token issuance flow that AWS WAF uses on high-risk paths. The AwsWafClassification taskType returns the aws-waf-token cookie value ready to set on subsequent requests — no headless browser warm-up required.

AWS WAF tokens are typically valid for around 5 minutes per origin. Cache the returned token in your client and reuse it across multiple requests within that window instead of re-solving on every call — this drops solve spend by 10–50x on busy scrapers.

Image-grid AWS WAF challenges resolve in under one second via the AwsWafClassification in-process classifier. Token-issuance flows that require executing the WAF JS finish in 2–4 seconds. Start with the free trial in the dashboard to benchmark against your traffic.