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.
To solve GeeTest captcha with our service you have to:- 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 keyapi_server
- API domain (optional)
Important: you should get a new challenge value for each request to our API. Once captcha was loaded on the page the challenge value becomes invalid. You should inspect requests made to the website when page is loaded to identify a request that gets a new challenge value. Then you should make such request each time to get a valid challenge value.
- Submit a HTTP GET or POST request to our API URL: http://2captcha.com/in.php with method set to geetest providing values found on previous step in your request as values for corresponding request parameters and also full page URL as value for pageurl.
You can find the full list of parameters in the table below.
Request URL example:
http://2captcha.com/in.php?key=1abc234de56fab7c89012d34e56fa7b8&method=geetest>=f1ab2cdefa3456789012345b6c78d90e&challenge=12345678abc90123d45678ef90123a456b&api_server=api-na.geetest.com&pageurl=https://www.site.com/page/
- 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.
- Make a 15-20 seconds timeout then submit a HTTP GET request to our API URL: http://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 something went wrong server will return an error code.
- 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
Request URL example:
http://2captcha.com/res.php?key=1abc234de56fab7c89012d34e56fa7b8&action=get&id=2122988149