POST

API health

24h health
Normal
  • Healthy / normal
  • Available
Normal

Last 24 hours

Last 30 days

EverySolve's Slider CAPTCHA API returns a numeric answer for your challenge workflow.A slider task uses a background image and a separate puzzle piece to calculate how far the piece should move. It returns distance in pixels, not a coordinate, percentage, token, or drag trajectory. The caller creates the interaction path.

Send POST https://api.everyinfra.com/api/v1/captcha with type set to slider. 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 "Slider 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 slider 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.
  - piece: The slider puzzle-piece image paired with the background image in the request body.
- Example request body:
{
  "type": "slider",
  "body": "<body>",
  "piece": "<piece>"
}
- 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.
typebodystringYessliderCAPTCHA 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.
piecebodystringYes-The slider puzzle-piece image paired with the background image in the request body.

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": "slider",
  "body": "<body>",
  "piece": "<piece>"
}'

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": "slider",  "solution": {    "distance": "…"  },  "billing": {    "charged": …,    "charged_usd": …,    "balance_after_usd": …,    …  },  "quota": { … }}

Where the Slider CAPTCHA parameters come from

#

The body field contains the background image, and the piece field contains the cutout. Keep their dimensions aligned and make sure both come from the same challenge instance.

Code to find these values on the page

slider-1.js
[...document.querySelectorAll('img,canvas')].map(e=>({id:e.id,cls:e.className,natural:[e.naturalWidth||e.width,e.naturalHeight||e.height],shown:[e.clientWidth,e.clientHeight],data:e.tagName==='CANVAS'?e.toDataURL():e.src}))

How to recognize Slider CAPTCHA

#

A slider task uses a background image and a separate puzzle piece to calculate how far the piece should move.

What makes Slider CAPTCHA different

It returns distance in pixels, not a coordinate, percentage, token, or drag trajectory. The caller creates the interaction path.

How to use the Slider CAPTCHA API

#

The Slider CAPTCHA API returns a numeric answer in distance. Its solution format is number. Use the returned numeric value as the answer required by the challenge.

  1. 01Read GET /api/v1/captcha/types and select the slider entry.
  2. 02Send type: "slider" and the required parameters to POST /api/v1/captcha.
  3. 03Read a numeric answer from distance.
  4. 04Use the returned numeric value as the answer required by the challenge.

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.

Slider CAPTCHA integration questions

#

How can I identify Slider CAPTCHA before choosing a type?

A slider task uses a background image and a separate puzzle piece to calculate how far the piece should move. Use slider only after those signals match the target challenge.

Which target-page values belong in Slider CAPTCHA requests?

The body field contains the background image, and the piece field contains the cutout. Keep their dimensions aligned and make sure both come from the same challenge instance. Provide body and piece. This type does not declare optional parameters.

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

The Slider CAPTCHA API returns a numeric answer in distance. Its solution format is number. It returns distance in pixels, not a coordinate, percentage, token, or drag trajectory. The caller creates the interaction path.

Which external source explains the Slider CAPTCHA integration?

Tencent Cloud's official CAPTCHA documentation is a related first-party example of slider challenges, not a definition of how EverySolve's slider type works. [Open the Slider CAPTCHA reference](https://cloud.tencent.com/document/product/1110/36334). EverySolve-specific fields and live availability still come from the type catalog.

Reference for Slider 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