Get an answer (2Captcha style)

Answers and account

2Captcha's res.php: fetch an answer or the balance.

On this page
GEThttps://api.solvecha.com/res.php

action=get returns the answer of a job from in.php: the text, or click:1/4/7 for a grid (tile numbers from 1, left to right, top to bottom, or No_matching_images). While the job runs, the answer is CAPCHA_NOT_READY. Fetching a finished job again is free. action=getbalance returns your prepaid balance in US dollars.

#Authorization

Send your API key as Authorization: Bearer YOUR_API_KEY. Other ways are the key field of the body and the key query parameter. See Authentication.

#Query parameters

Name Type Required Description
key string required Your Solvecha API key.
action string required get or getbalance.
id string optional The id from in.php, for action get.
json integer optional 1 answers with JSON: {"status": 1, "request": "click:1/4/7"}.

#Response

#200 OK

The answer, in the text form of 2Captcha (OK|click:1/4/7) or as JSON.

#Notes

Errors have HTTP status 200: CAPCHA_NOT_READY, ERROR_KEY_DOES_NOT_EXIST, ERROR_WRONG_CAPTCHA_ID, ERROR_EMPTY_ACTION, ERROR_NO_SUCH_METHOD. reportgood and reportbad answer ERROR_REPORT_NOT_RECORDED.

Solvecha is an independent service. It is not affiliated with NopeCHA, 2Captcha, CapSolver, Google or CloakHQ. Their names describe compatibility or recommendations only. Figures come from our own tests, see the compare page.

    ↑↓ to moveEnter to open