AWS WAF challenge classification solver API

POST

API health

24h health
Normal
  • Healthy / normal
  • Available
Normal

Last 24 hours

Last 30 days

EverySolve's AWS WAF challenge classification API returns click positions for your challenge workflow.This is the image-classification half of an AWS WAF CAPTCHA, using challenge images plus the displayed instruction. It returns click positions in box, not an AWS WAF passage cookie. The caller still controls the browser interaction.

Send POST https://api.everyinfra.com/api/v1/captcha with type set to aws_waf_classify. Put the parameters in the request body, at the same level as type. $0.97 per 1,000 successful solutions ($0.000972 per successful solve). Failed calls and empty results are not charged.

AI prompt

#
Help me write a script that calls the EveryInfra "AWS WAF challenge classification" API.

API contract:
- Request: POST https://api.everyinfra.com/api/v1/captcha with the header Authorization: Bearer <API Key>. Read the key from the EVERYINFRA_API_KEY environment variable; do not put it in the code.
- In the request body, set type to aws_waf_classify and put the parameters next to it at the same level.
- Required parameters:
  - images: The images from the current classification challenge, kept in the order expected by that challenge.
  - question: The exact written prompt or visual-task instruction shown by the challenge.
- Example request body:
{
  "type": "aws_waf_classify",
  "images": "<images>",
  "question": "<question>"
}
- Billing: $0.97 per 1,000 successful solutions ($0.000972 per successful solve). Failed calls and empty results are not charged.
- On 422, fix the parameters using the suggestions and allowed values in the error. On 429 or 503, wait for Retry-After and try again.

Before writing code, ask me how many items I need to process and what format to save the results in, then confirm the plan and the rough cost with me.

Request parameters

#
NameInTypeRequiredDefaultDescription
AuthorizationheaderstringYes-Bearer followed by your API key. Create it in the console; never put it in a URL or a code repository.
typebodystringYesaws_waf_classifyCAPTCHA type, fixed value.
imagesbodyobjectYes-The images from the current classification challenge, kept in the order expected by that challenge.
questionbodystringYes-The exact written prompt or visual-task instruction shown by the challenge.

Code samples

#
bash
curl -X POST 'https://api.everyinfra.com/api/v1/captcha' \
  -H "Authorization: Bearer $EVERYINFRA_API_KEY" \
  -H 'Content-Type: application/json' \
  --data-raw '{
  "type": "aws_waf_classify",
  "images": "<images>",
  "question": "<question>"
}'

OpenAPI definition (JSON)Samples read the key from the EVERYINFRA_API_KEY environment variable; copied code never contains your key.

Response example

#
No sample response is available for these parameters yet. This preview shows the response shape and fields from the API definition, with … as placeholders; it is not the result of a live call.
json
{  "id": "req_…",  "type": "aws_waf_classify",  "solution": {    "box": "…"  },  "billing": {    "charged": …,    "charged_usd": …,    "balance_after_usd": …,    …  },  "quota": { … }}

Where the AWS WAF challenge classification parameters come from

#

Send images and the exact question from the same challenge; do not replace them with the protected page URL.

Code to find these values on the page

aws_waf_classify-1.js
JSON.stringify({goku:window.gokuProps,domains:window.awsWafCookieDomainList,scripts:[...document.scripts].map(s=>s.src).filter(s=>/challenge\.js|captcha\.js|jsapi\.js/.test(s)),container:!!document.querySelector('#captcha-container'),cookie:document.cookie.includes('aws-waf-token')})
aws_waf_classify-2.js
[...document.querySelectorAll('*')].flatMap(e=>e.shadowRoot?[...e.shadowRoot.querySelectorAll('img,canvas')]:[]).map(n=>n.tagName==='CANVAS'?n.toDataURL():n.src)

How to recognize AWS WAF challenge classification

#

This is the image-classification half of an AWS WAF CAPTCHA, using challenge images plus the displayed instruction.

What makes AWS WAF challenge classification different

It returns click positions in box, not an AWS WAF passage cookie. The caller still controls the browser interaction.

How to use the AWS WAF challenge classification API

#

The AWS WAF challenge classification API returns click positions in box. Its solution format is points. Apply the returned pixel positions to the source image or click workflow, in the order given.

  1. 01Read GET /api/v1/captcha/types and select the aws_waf_classify entry.
  2. 02Send type: "aws_waf_classify" and the required parameters to POST /api/v1/captcha.
  3. 03Read click positions from box.
  4. 04Apply the returned pixel positions to the source image or click workflow, in the order given.

Billing and availability EverySolve charges only when a solution is delivered successfully. An unsuccessful attempt is not charged, and any held amount goes back to your balance automatically. Read available and the price fields from GET /api/v1/captcha/types at request time rather than treating them as static page content.

AWS WAF challenge classification integration questions

#

How can I identify AWS WAF challenge classification before choosing a type?

This is the image-classification half of an AWS WAF CAPTCHA, using challenge images plus the displayed instruction. Use aws_waf_classify only after those signals match the target challenge.

Which target-page values belong in AWS WAF challenge classification requests?

Send images and the exact question from the same challenge; do not replace them with the protected page URL. Provide images and question. This type does not declare optional parameters.

What does AWS WAF challenge classification return, and what is easy to confuse it with?

The AWS WAF challenge classification API returns click positions in box. Its solution format is points. It returns click positions in box, not an AWS WAF passage cookie. The caller still controls the browser interaction.

Which external source explains the AWS WAF challenge classification integration?

AWS documents the visual CAPTCHA puzzles used by its CAPTCHA action. [Open the AWS WAF challenge classification reference](https://docs.aws.amazon.com/waf/latest/developerguide/waf-captcha-and-challenge.html). EverySolve-specific fields and live availability still come from the type catalog.

Reference for AWS WAF challenge classification

#
#

All CAPTCHA types

Errors and billing

#
401
Missing or invalid key.
402
Insufficient balance. Top up first.
422
Invalid parameter name or value. Fix it using the suggestions in the error. No charge.
429
Per-minute request limit reached. Wait for Retry-After, then try again.
503
Could not complete. The held charge is returned to your balance. If the outcome is unknown, verify it before you retry.
200 empty
No data. No charge.

Errors

Google Analytics needs consent. Privacy