EverySolve CAPTCHA API
Slider CAPTCHA API
EverySolve's Slider CAPTCHA API returns a numeric answer for your challenge workflow. Send POST /api/v1/captcha with type set to slider and the inputs listed below.
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.
- Endpoint
- POST /api/v1/captcha
- Type
- slider
- Per 1,000 successful solutions
- $2.36 per 1,000 successful solutions
Request parameters
Provide body and piece. This type does not declare optional parameters.
Required parameters
bodypieceOptional parameters
curl -X POST https://api.everyinfra.com/api/v1/captcha \ -H "Authorization: Bearer YOUR_API_KEY" \ -H "Content-Type: application/json" \ -d '{"type":"slider","body":"<body>","piece":"<piece>"}'
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.
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.
bodyRequired- The challenge payload itself. Its media type follows this page's task: image data for visual tasks and audio data for the audio task.
pieceRequired- The slider puzzle-piece image paired with the background image in the request body.
What the API returns
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.
- Solution shape
- number
- Solution fields
distance
How to use the Slider CAPTCHA API
- 01Read GET /api/v1/captcha/types and select the
sliderentry. - 02Send
type: "slider"and the required parameters to POST /api/v1/captcha. - 03Read a numeric answer from
distance. - 04Use the returned numeric value as the answer required by the challenge.
Billing and availability
EverySolve charges only when a solution is delivered successfully. Unsuccessful attempts are refunded 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 a Slider CAPTCHA request?
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 should not be confused with it?
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 the definition of EverySolve's generic contract. [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.