CAPTCHAFORUM
Administrator
GeeTest is a type of captcha where you have to move a piece of a puzzle or select some figures in the order.
1. Find the following GeeTest captcha parameters on the target website (usually you can find them inside initGeetest function).
- gt - public website key (static)
- challenge - dynamic challenge key
- api_server - API domain (optional)
You can find the full list of parameters in the table below.
Request URL example:
Code:
https://2captcha.com/in.php?key=1abc234de56fab7c89012d34e56fa7b8&method=geetest>=f1ab2cdefa3456789012345b6c78d90e&challenge=12345678abc90123d45678ef90123a456b&api_server=api-na.geetest.com&pageurl=https://www.site.com/page/
3. If everything is fine server will return the ID of your captcha as plain text, like: OK|2122988149 or as JSON {"status":1,"request":"2122988149"} if json parameter was used.
Otherwise server will return an error code.
4. Make a 15-20 seconds timeout then submit a HTTP GET request to our API URL: https://2captcha.com/res.php to get the result.
The full list of parameters is in the table below.
If captcha is already solved server will return the response in JSON. The response contains three values: challenge, validate and seccode:
Code:
{
"challenge":"1a2b3456cd67890e12345fab678901c2de",
"validate":"09fe8d7c6ba54f32e1dcb0a9fedc8765",
"seccode":"12fe3d4c56789ba01f2e345d6789c012|jordan"
}
If captcha is not solved yet server will return CAPCHA_NOT_READY result. Repeat your request in 5 seconds.
If something went wrong server will return an error code.
5. Use the values received from our API to submit your request to the target website placing the values into corresponding request fields:
- geetest_challenge
- geetest_validate
- geetest_seccode