POST

API health

24h health
Normal
  • Healthy / normal
  • Available
Normal

Last 24 hours

Last 30 days

EverySolve's SHEIN CAPTCHA API returns bounding-box coordinates for your challenge workflow.The SHEIN task is a site-specific icon-location model rather than the general bounding-box task. It returns rects for the matching regions. Images from other sites should use a suitable generic point or box task instead.

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

AI prompt

#
Help me write a script that calls the EveryInfra "SHEIN CAPTCHA" 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 shein and put the parameters next to it at the same level.
- Required parameters:
  - body: The challenge payload itself. Its media type follows this page's task: image data for visual tasks and audio data for the audio task.
  - question: The exact written prompt or visual-task instruction shown by the challenge.
- Example request body:
{
  "type": "shein",
  "body": "<body>",
  "question": "<question>"
}
- Billing: $2.36 per 1,000 successful solutions ($0.002361 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.
typebodystringYessheinCAPTCHA type, fixed value.
bodybodystringYes-The challenge payload itself. Its media type follows this page's task: image data for visual tasks and audio data for the audio task.
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": "shein",
  "body": "<body>",
  "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": "shein",  "solution": {    "rects": "…"  },  "billing": {    "charged": …,    "charged_usd": …,    "balance_after_usd": …,    …  },  "quota": { … }}

Where the SHEIN CAPTCHA parameters come from

#

Send the SHEIN challenge image, uncropped, in body and the prompt text exactly as shown in question; this type does not accept a comment because the target icon family is predefined.

Code to find these values on the page

shein-1.js
[ gbCommonInfo.RISK_SDK_TYPE,        // {903:'js_challenge',904:'slide',905:'click',909:'one_pass',910:'nine_captcha'}
  gbCommonInfo.ARMOR_CDN,            // '//armor.ltwebstatic.com'
  gbCommonInfo.GB_RISK_JS_CHALLEGE,  // Note the site's spelling: CHALLEGE, without the N
  gbCommonInfo.RISK_SDK_CONFIG,      // {sm, anti, infp, armorUuid, csrandom, ...}
  document.cookie.match(/armorUuid=[^;]+/),
  [...document.scripts].map(s=>s.src).filter(s=>/armor\.ltwebstatic\.com/.test(s)) ]
shein-2.js
const el=[...document.querySelectorAll('img,canvas')]
  .filter(e=>(e.naturalWidth||e.width)>100&&(e.naturalHeight||e.height)>100).pop();
fetch(el.currentSrc||el.src).then(r=>r.blob()).then(b=>{const f=new FileReader();
  f.onload=()=>{window.__body=String(f.result).split(',')[1];console.log('body len',window.__body.length)};
  f.readAsDataURL(b);});

How to recognize SHEIN CAPTCHA

#

The SHEIN task is a site-specific icon-location model rather than the general bounding-box task.

What makes SHEIN CAPTCHA different

It returns rects for the matching regions. Images from other sites should use a suitable generic point or box task instead.

How to use the SHEIN CAPTCHA API

#

The SHEIN CAPTCHA API returns bounding-box coordinates in rects. Its solution format is boxes. Use each box's coordinates to identify or select a region in the source image.

  1. 01Read GET /api/v1/captcha/types and select the shein entry.
  2. 02Send type: "shein" and the required parameters to POST /api/v1/captcha.
  3. 03Read bounding-box coordinates from rects.
  4. 04Use each box's coordinates to identify or select a region in the source image.

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.

SHEIN CAPTCHA integration questions

#

How can I identify SHEIN CAPTCHA before choosing a type?

The SHEIN task is a site-specific icon-location model rather than the general bounding-box task. Use shein only after those signals match the target challenge.

Which target-page values belong in SHEIN CAPTCHA requests?

Send the SHEIN challenge image, uncropped, in body and the prompt text exactly as shown in question; this type does not accept a comment because the target icon family is predefined. Provide body and question. This type does not declare optional parameters.

What does SHEIN CAPTCHA return, and what is easy to confuse it with?

The SHEIN CAPTCHA API returns bounding-box coordinates in rects. Its solution format is boxes. It returns rects for the matching regions. Images from other sites should use a suitable generic point or box task instead.

Which external source explains the SHEIN CAPTCHA integration?

The linked SHEIN page is first-party deployment context, not a public integration specification. [Open the SHEIN CAPTCHA reference](https://us.shein.com/). EverySolve-specific fields and live availability still come from the type catalog.

Reference for SHEIN CAPTCHA

#
#

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