Rotation CAPTCHA solver API
API health
- 24h health
- Normal
- Healthy / normal
- Available
Last 24 hours
Last 30 days
EverySolve's Rotation CAPTCHA API returns a numeric answer for your challenge workflow.A rotation task receives one image that must be turned upright; it is a general visual task. It returns angle as a number. Use slider for a drag distance, coordinates for clicks, and bounding_box for rectangles.
Send POST https://api.everyinfra.com/api/v1/captcha with type set to rotate. Put the parameters in the request body, at the same level as type. $1.53 per 1,000 successful solutions ($0.001528 per successful solve). Failed calls and empty results are not charged.
AI prompt
#Help me write a script that calls the EveryInfra "Rotation 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 rotate 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.
- Example request body:
{
"type": "rotate",
"body": "iVBORw0KGgoAAAANSUhEUgAAAMgAAADICAIAAAAiOjnJAAADFklEQVR4nO3ZwW0bMQBFQTG9pqoUuzkYCIw4lu14n7QkZwoQyP0PvGgcx3GDs/04/RdBWFS8WCSERUJYJIRFQlgkhEVCWCSERUJYJIRFQlgkhEVCWCSERUJYJIRFQlhfMH6OZoUFCetrVWnrk4T1Ka970tZnCOtjb0vS1oeE9YH3GtLWfcK653492rpDWN/qRlvvEdZ3i9HWPwnrhFa09ZawzqlEW38R1ml9aOs1YZ1Zhrb+ENbJTWjrhbDOr2H4r1pYUQdj+7Z2f7G6AsbebW0dVr392LitfcN6zOpj17Y2DeuRe48t29oxrMcvPfZra7uwnrXx2KytvcJ67rpjp7Y2CusKu44LnOExdgnrOouOy5wktUVYV9tyXOw8hfXDuuaK45KnOtHiYV15v3Hhs33fymFdf7lx+RP+t2XDmmWzMck5v2rNsOZaa0x12n3DmnGnMeGZ9wpr3oXGtCdfP6zZtxmTn3/NsNZYZSxxi3XCWmaP2yp3WSGsNZZY7EbTh7XABkvea+6wZv/6C99u4rCm/u7L33HWsOb94pvcdMqwJv3WW913HMfx7DOsM+Hxy8ec+cXi+oRFQlgkhEVCWCSERUJYJIRFQlgkhEVCWCSERUJYJIRFQlgkhEVCWCSERUJYJIRFQlgkhEVCWCSERUJYJIRFQlgkhEVCWCSERUJYJIRFQlgkhEVCWCSERUJYJIRFQlgkhEVCWCSERUJYJIRFQlgkhEVCWCSEhbCYhxeLhLBICIuEsEgIi4SwSAiLhLBICIuEsEgIi4SwSAiLhLBICIuEsEgIi4SwSAiLhLBICIuEsEgIi4SwSAiLhLBICIuEsEgIi4SwSAiLhLBICIuEsEgIi4SwSAiLhLBICIuEsEgIi4SwSAiLhLBICIuEsEgIi4SwSAiLhLBIjOM4ml9ma14sEsIiISwSwiIhLBLCIiEsEsIiISwSwiIhLBLCIiEsEsIiISwSwiIhLBLCIiEsEsIiISwSwiIhLBLCIiEsEsIiISwSwiIhLBLCIiEsEsIiISwSwiIhLBLCIiEsEsIiISxuhd90tS4c75tk0AAAAABJRU5ErkJggg=="
}
- Billing: $1.53 per 1,000 successful solutions ($0.001528 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
#| Name | In | Type | Required | Default | Description |
|---|---|---|---|---|---|
Authorization | header | string | Yes | - | Bearer followed by your API key. Create it in the console; never put it in a URL or a code repository. |
type | body | string | Yes | rotate | CAPTCHA type, fixed value. |
body | body | string | Yes | - | The challenge payload itself. Its media type follows this page's task: image data for visual tasks and audio data for the audio task. |
Code samples
#curl -X POST 'https://api.everyinfra.com/api/v1/captcha' \
-H "Authorization: Bearer $EVERYINFRA_API_KEY" \
-H 'Content-Type: application/json' \
--data-raw '{
"type": "rotate",
"body": "iVBORw0KGgoAAAANSUhEUgAAAMgAAADICAIAAAAiOjnJAAADFklEQVR4nO3ZwW0bMQBFQTG9pqoUuzkYCIw4lu14n7QkZwoQyP0PvGgcx3GDs/04/RdBWFS8WCSERUJYJIRFQlgkhEVCWCSERUJYJIRFQlgkhEVCWCSERUJYJIRFQlhfMH6OZoUFCetrVWnrk4T1Ka970tZnCOtjb0vS1oeE9YH3GtLWfcK653492rpDWN/qRlvvEdZ3i9HWPwnrhFa09ZawzqlEW38R1ml9aOs1YZ1Zhrb+ENbJTWjrhbDOr2H4r1pYUQdj+7Z2f7G6AsbebW0dVr392LitfcN6zOpj17Y2DeuRe48t29oxrMcvPfZra7uwnrXx2KytvcJ67rpjp7Y2CusKu44LnOExdgnrOouOy5wktUVYV9tyXOw8hfXDuuaK45KnOtHiYV15v3Hhs33fymFdf7lx+RP+t2XDmmWzMck5v2rNsOZaa0x12n3DmnGnMeGZ9wpr3oXGtCdfP6zZtxmTn3/NsNZYZSxxi3XCWmaP2yp3WSGsNZZY7EbTh7XABkvea+6wZv/6C99u4rCm/u7L33HWsOb94pvcdMqwJv3WW913HMfx7DOsM+Hxy8ec+cXi+oRFQlgkhEVCWCSERUJYJIRFQlgkhEVCWCSERUJYJIRFQlgkhEVCWCSERUJYJIRFQlgkhEVCWCSERUJYJIRFQlgkhEVCWCSERUJYJIRFQlgkhEVCWCSERUJYJIRFQlgkhEVCWCSERUJYJIRFQlgkhEVCWCSEhbCYhxeLhLBICIuEsEgIi4SwSAiLhLBICIuEsEgIi4SwSAiLhLBICIuEsEgIi4SwSAiLhLBICIuEsEgIi4SwSAiLhLBICIuEsEgIi4SwSAiLhLBICIuEsEgIi4SwSAiLhLBICIuEsEgIi4SwSAiLhLBICIuEsEgIi4SwSAiLhLBIjOM4ml9ma14sEsIiISwSwiIhLBLCIiEsEsIiISwSwiIhLBLCIiEsEsIiISwSwiIhLBLCIiEsEsIiISwSwiIhLBLCIiEsEsIiISwSwiIhLBLCIiEsEsIiISwSwiIhLBLCIiEsEsIiISxuhd90tS4c75tk0AAAAABJRU5ErkJggg=="
}'OpenAPI definition (JSON)Samples read the key from the EVERYINFRA_API_KEY environment variable; copied code never contains your key.
Response example
#{ "id": "req_…", "type": "rotate", "token": 182, "solution": { "angle": 182 }, "billing": { "charged": …, "charged_usd": …, "balance_after_usd": …, … }, "quota": { … }}
Where the Rotation CAPTCHA parameters come from
#body is the single image to orient. If that image is drawn on a canvas, toDataURL() can serialize the clean canvas image. This type takes no page URL, piece image, or instruction parameter.
Code to find these values on the page
[...document.querySelectorAll('img,canvas')].map(e=>({cls:e.className,natural:[e.naturalWidth||e.width,e.naturalHeight||e.height],radius:getComputedStyle(e).borderRadius,transform:getComputedStyle(e).transform,data:e.tagName==='CANVAS'?e.toDataURL():e.src}))How to recognize Rotation CAPTCHA
#A rotation task receives one image that must be turned upright; it is a general visual task.
What makes Rotation CAPTCHA different
It returns angle as a number. Use slider for a drag distance, coordinates for clicks, and bounding_box for rectangles.
How to use the Rotation CAPTCHA API
#The Rotation CAPTCHA API returns a numeric answer in angle. Its solution format is number. Use the returned numeric value as the answer required by the challenge.
- 01Read GET /api/v1/captcha/types and select the
rotateentry. - 02Send
type: "rotate"and the required parameters to POST /api/v1/captcha. - 03Read a numeric answer from
angle. - 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.
Rotation CAPTCHA integration questions
#How can I identify Rotation CAPTCHA before choosing a type?
A rotation task receives one image that must be turned upright; it is a general visual task. Use rotate only after those signals match the target challenge.
Which target-page values belong in Rotation CAPTCHA requests?
body is the single image to orient. If that image is drawn on a canvas, toDataURL() can serialize the clean canvas image. This type takes no page URL, piece image, or instruction parameter. Provide body. This type does not declare optional parameters.
What does Rotation CAPTCHA return, and what is easy to confuse it with?
The Rotation CAPTCHA API returns a numeric answer in angle. Its solution format is number. It returns angle as a number. Use slider for a drag distance, coordinates for clicks, and bounding_box for rectangles.
Is there a single vendor specification for Rotation CAPTCHA?
No single vendor defines this general angle task; the linked browser reference covers only canvas serialization, not angle-solving behavior. The current parameters and response format are therefore in the rotate entry returned by GET /api/v1/captcha/types.
Related CAPTCHA types
#- Slider CAPTCHA
slider$2.36 per 1,000 successful solutions - Audio CAPTCHA
audio$0.83 per 1,000 successful solutions - BotDeflector
botdeflector$2.36 per 1,000 successful solutions - Bounding-box CAPTCHA
bounding_box$1.81 per 1,000 successful solutions - Coordinate-click CAPTCHA
coordinates$1.81 per 1,000 successful solutions - Image CAPTCHA
image$0.83 per 1,000 successful solutions
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.