API Server Documentation
Welcome to the API Server Documentation page. Created by Captchas.Online!
- Server: captchas.online
- Author: Captchas.Online
- Created: 28 October, 2026
- Update: 28 October, 2026
Introduction
This API works by calling two endpoints, the /in.php and the /res.php endpoints. The /in.php endpoint is where you submit or post the CAPTCHA data to be solved while the /res.php endpoint is where you get the CAPTCHA solution or answer through the CAPTCHA_ID returned by the /in.php endpoint.
This API does not accept JSON formatted requests... Instead, this API accepts plain Text/HTML formatted POST / GET requests.
Endpoints
API Endpoints:
http://captchas.online/in.php- To send or upload a CAPTCHA for solving.http://captchas.online/res.php- To get CAPTCHA solving answer or token.
Proxies
To ensure that you get the best solving time, you will need to use your own proxies. Why? Because using our local proxies means your solving speed is still 10% shared! You are using the proxy pool used by the mainy customers of Captchas.Online.
Use proxy parameter value in this format: proxy_ip:proxy_port OR proxy_username:proxy_password@proxy_ip:proxy_port
The proxytype parameter values: could be; HTTP, HTTPS, SOCKS4, & SOCKS5
When using proxies please pass the following parameters: proxytype and proxy.
Methods
These are the API method implementations. Basicaly these are the methods for SENDING or UPLOADING CAPTCHAs to our API.
Normal Images
API Task type to solve normal Image CAPTCHAs.
| Parameter | Type | Required | Possible values |
|---|---|---|---|
| key | String | Yes | Your API key. |
| method | String | Yes | Default: "base64"; This is the parameter that sets the API on what types of CAPTCHAs to solve. This example tells the API to solve for normal image CAPTCHAs. |
| body | String | Yes | Base64 image example: data:image/gif;base64,R0lGODlhggA8APcAALosALs7A... |
| regsense | Integer | No | 0 - Case in-sensitive. - Default 1 - Case sensitive. |
| json | Integer | No | 0 - Plain text response. - Default 1 - JSON response. |
The /in.php Request and Response
Request Examples
// HTML Form Example
<form method="post" action="http://captchas.online/in.php" enctype="multipart/form-data">
<input type="hidden" name="method" value="base64">
<input type="text" name="key" value="{API_KEY}">
<input type="text" name="body">
<input type="submit" value="Send and Get ID">
</form>
// CURL Eample
curl http://captchas.online/in.php?key={API_KEY}&method=base64&body={BASE64_CAPTCHA_ENCODED_IMAGE}
// PHP Example
$ch = curl_init();
curl_setopt($ch, CURLOPT_URL,"http://captchas.online/in.php");
curl_setopt($ch, CURLOPT_POST, TRUE);
curl_setopt($ch, CURLOPT_HEADER, FALSE);
curl_setopt($ch, CURLOPT_CONNECTTIMEOUT, 60);
curl_setopt($ch, CURLOPT_TIMEOUT, 60);
curl_setopt($ch, CURLOPT_TCP_NODELAY, TRUE);
curl_setopt($ch, CURLOPT_POSTFIELDS, array(
'key' => {API_KEY},
'body' => {BASE64_CAPTCHA_ENCODED_IMAGE},
'method' => "base64"
));
curl_setopt($ch, CURLOPT_RETURNTRANSFER, TRUE);
$_ans = curl_exec($ch);
curl_close($ch);
$_rest = explode("|", $_ans);
$_answer = trim($_rest[1]);
print $_answer;
Response Examples
// Text Response Example
OK|583567
// JSON Response Example
{ "status":1,request:"583567" }
// This example shows that the value 583567 is the CAPTCHA_ID.
The /res.php Request and Response
Request Example
// CURL Eample
curl http://captchas.online/res.php?key={API_KEY}&action=get&id={CAPTCHA_ID}
Response Examples
// Text Response Example
OK|skipy
// JSON Response Example
{
"status": 1,
"request": "skipy"
}
// This example shows that the value skipy is the CAPTCHA answer.
reCAPTCHA v2
To solve Google reCAPTCHA version 2.
| Parameter | Type | Required | Possible values / Description |
|---|---|---|---|
| key | String | Yes | Your API key. |
| method | String | Yes | Default: "userrecaptcha" |
| pageurl | String | Yes | The web address URL of the page which contains the Google reCAPTCHA. |
| googlekey | String | Yes | reCAPTCHA website key. |
| version | String | Yes | Default: "v2". The reCAPTCHA version that is applicable. |
| json | Integer | No | 0 - Plain text response. - Default 1 - JSON response. |
The /in.php Request and Response
Request Examples
// HTML Form Example
<form method="post" action="http://captchas.online/in.php" enctype="multipart/form-data">
<input type="hidden" name="method" value="userrecaptcha">
<input type="text" name="key" value="{API_KEY}">
<input type="text" name="googlekey">
<input type="text" name="pageurl">
<input type="submit" value="Send and Get ID">
</form>
// CURL Eample
curl http://captchas.online/in.php?key={API_KEY}&method=userrecaptcha&googlekey={GOOGLE_SITE_KEY}&pageurl={PAGE_URL}
// PHP Example
$ch = curl_init();
curl_setopt($ch, CURLOPT_URL,"http://captchas.online/in.php");
curl_setopt($ch, CURLOPT_POST, TRUE);
curl_setopt($ch, CURLOPT_HEADER, FALSE);
curl_setopt($ch, CURLOPT_CONNECTTIMEOUT, 60);
curl_setopt($ch, CURLOPT_TIMEOUT, 60);
curl_setopt($ch, CURLOPT_TCP_NODELAY, TRUE);
curl_setopt($ch, CURLOPT_POSTFIELDS, array(
'key' => {API_KEY},
'googlekey' => {GOOGLE_SITE_KEY},
'pageurl' => {PAGE_URL},
'method' => "userrecaptcha"
));
curl_setopt($ch, CURLOPT_RETURNTRANSFER, TRUE);
$_ans = curl_exec($ch);
curl_close($ch);
$_rest = explode("|", $_ans);
$_answer = trim($_rest[1]);
print $_answer;
Response Examples
// Text Response Example
OK|583567
// JSON Response Example
{ "status":1,request:"583567" }
// This example shows that the value 583567 is the CAPTCHA_ID.
The /res.php Request and Response
Request Example
// CURL Eample
curl http://captchas.online/res.php?key={API_KEY}&action=get&id={CAPTCHA_ID}
Response Examples
// Text Response Example
OK|03ADUVZwB7eLo...72IF-X3mG_cXnBRwjtMEdIrSE
// JSON Response Example
{
"status": 1,
"request": "03ADUVZwB7eLo...72IF-X3mG_cXnBRwjtMEdIrSE"
}
// This example shows that the value 03ADUVZwB7eLo...72IF-X3mG_cXnBRwjtMEdIrSE is the reCAPTCHA v2 token.
reCAPTCHA v3
To solve Google reCAPTCHA version 3.
| Parameter | Type | Required | Possible values / Description |
|---|---|---|---|
| key | String | Yes | Your API key. |
| method | String | Yes | Default: "userrecaptcha" |
| pageurl | String | Yes | The web address URL of the page which contains the Google reCAPTCHA. |
| googlekey | String | Yes | reCAPTCHA website key. |
| version | String | Yes | Default: "v3". The reCAPTCHA version that is applicable. |
| action | String | No | Value of action parameter you found on page. |
| json | Integer | No | 0 - Plain text response. - Default 1 - JSON response. |
The /in.php Request and Response
Request Examples
// HTML Form Example
<form method="post" action="http://captchas.online/in.php" enctype="multipart/form-data">
<input type="hidden" name="method" value="userrecaptcha">
<input type="text" name="key" value="{API_KEY}">
<input type="text" name="googlekey">
<input type="text" name="pageurl">
<input type="text" name="version">
<input type="submit" value="Send and Get ID">
</form>
// CURL Eample
curl http://captchas.online/in.php?key={API_KEY}&method=userrecaptcha&googlekey={SITEKEY}&pageurl={PAGEURL}&version=v3
// PHP Example
$ch = curl_init();
curl_setopt($ch, CURLOPT_URL,"http://captchas.online/in.php");
curl_setopt($ch, CURLOPT_POST, TRUE);
curl_setopt($ch, CURLOPT_HEADER, FALSE);
curl_setopt($ch, CURLOPT_CONNECTTIMEOUT, 60);
curl_setopt($ch, CURLOPT_TIMEOUT, 60);
curl_setopt($ch, CURLOPT_TCP_NODELAY, TRUE);
curl_setopt($ch, CURLOPT_POSTFIELDS, array(
'key' => {API_KEY},
'googlekey' => {GOOGLE_SITE_KEY},
'pageurl' => {PAGE_URL},
'version' => "v3",
'method' => "userrecaptcha"
));
curl_setopt($ch, CURLOPT_RETURNTRANSFER, TRUE);
$_ans = curl_exec($ch);
curl_close($ch);
$_rest = explode("|", $_ans);
$_answer = trim($_rest[1]);
print $_answer;
Response Examples
// Text Response Example
OK|583567
// JSON Response Example
{ "status":1,request:"583567" }
// This example shows that the value 583567 is the CAPTCHA_ID.
The /res.php Request and Response
Request Example
// CURL Eample
curl http://captchas.online/res.php?key={API_KEY}&action=get&id={CAPTCHA_ID}
Response Examples
// Text Response Example
OK|03ADUVZwB7eLo...72IF-X3mG_cXnBRwjtMEdIrSE
// JSON Response Example
{
"status": 1,
"request": "03ADUVZwB7eLo...72IF-X3mG_cXnBRwjtMEdIrSE"
}
// This example shows that the value 03ADUVZwB7eLo...72IF-X3mG_cXnBRwjtMEdIrSE is the reCAPTCHA v3 token.
reCAPTCHA Enterprise
Task type to solve reCAPTCHA Enterprise.
| Parameter | Type | Required | Possible values / Description |
|---|---|---|---|
| key | String | Yes | Your API key. |
| method | String | Yes | Default: "userrecaptcha" |
| pageurl | String | Yes | The web address URL of the page which contains the Google reCAPTCHA. |
| googlekey | String | Yes | reCAPTCHA website key. |
| version | String | Yes | Default: "v2". The reCAPTCHA version that is applicable. |
| enterprise | String | Yes | Must be 1 for Enterprise captcha. |
| data-s | String | No | The "data-s" parameter found in the website URL containing the reCAPTCHA. |
| action | String | No | Value of action parameter you found on page. |
| json | Integer | No | 0 - Plain text response. - Default 1 - JSON response. |
The /in.php Request and Response
Request Examples
// HTML Form Example
<form method="post" action="http://captchas.online/in.php" enctype="multipart/form-data">
<input type="hidden" name="method" value="userrecaptcha">
<input type="text" name="key" value="{API_KEY}">
<input type="text" name="googlekey">
<input type="text" name="pageurl">
<input type="text" name="version">
<input type="text" name="enterprise">
<input type="submit" value="Send and Get ID">
</form>
// CURL Eample
curl http://captchas.online/in.php?key={API_KEY}&method=userrecaptcha&googlekey={SITEKEY}&pageurl={PAGEURL}&version={VERSION}&enterprise=1
// PHP Example
$ch = curl_init();
curl_setopt($ch, CURLOPT_URL,"http://captchas.online/in.php");
curl_setopt($ch, CURLOPT_POST, TRUE);
curl_setopt($ch, CURLOPT_HEADER, FALSE);
curl_setopt($ch, CURLOPT_CONNECTTIMEOUT, 60);
curl_setopt($ch, CURLOPT_TIMEOUT, 60);
curl_setopt($ch, CURLOPT_TCP_NODELAY, TRUE);
curl_setopt($ch, CURLOPT_POSTFIELDS, array(
'key' => {API_KEY},
'googlekey' => {GOOGLE_SITE_KEY},
'pageurl' => {PAGE_URL},
'version' => {ENTERPRISE_RECAPTCHA_VERSION},
'enterprise' => 1,
'method' => "userrecaptcha"
));
curl_setopt($ch, CURLOPT_RETURNTRANSFER, TRUE);
$_ans = curl_exec($ch);
curl_close($ch);
$_rest = explode("|", $_ans);
$_answer = trim($_rest[1]);
print $_answer;
Response Examples
// Text Response Example
OK|583567
// JSON Response Example
{ "status":1,request:"583567" }
// This example shows that the value 583567 is the CAPTCHA_ID.
The /res.php Request and Response
Request Example
// CURL Eample
curl http://captchas.online/res.php?key={API_KEY}&action=get&id={CAPTCHA_ID}
Response Examples
// Text Response Example
OK|03ADUVZwB7eLo...72IF-X3mG_cXnBRwjtMEdIrSE
// JSON Response Example
{
"status": 1,
"request": "03ADUVZwB7eLo...72IF-X3mG_cXnBRwjtMEdIrSE"
}
// This example shows that the value 03ADUVZwB7eLo...72IF-X3mG_cXnBRwjtMEdIrSE is the Enterprise reCAPTCHA token.
Cloudflare Turnstile
Task type to solve CloudFlare Turnstile CAPTCHAs.
| Parameter | Type | Required | Possible values / Description |
|---|---|---|---|
| key | String | Yes | Your API key. |
| method | String | Yes | Default: "turnstile" |
| pageurl | String | Yes | Full URL where Turnstile appears. |
| sitekey | String | Yes | Turnstile sitekey from widget or turnstile.render(). |
| action | String | No | Value of optional action parameter you found on page, can be defined in data-action attribute or passed to turnstile.render call. |
| json | Integer | No | 0 - Plain text response. - Default 1 - JSON response. |
The /in.php Request and Response
Request Examples
// HTML Form Example
<form method="post" action="http://captchas.online/in.php" enctype="multipart/form-data">
<input type="hidden" name="method" value="turnstile">
<input type="text" name="key" value="{API_KEY}">
<input type="text" name="sitekey">
<input type="text" name="pageurl">
<input type="submit" value="Send and Get ID">
</form>
// CURL Eample
curl http://captchas.online/in.php?key={API_KEY}&method=turnstile&sitekey={TURNSTILE_SITE_KEY}&pageurl={PAGE_URL}
// PHP Example
$ch = curl_init();
curl_setopt($ch, CURLOPT_URL,"http://captchas.online/in.php");
curl_setopt($ch, CURLOPT_POST, TRUE);
curl_setopt($ch, CURLOPT_HEADER, FALSE);
curl_setopt($ch, CURLOPT_CONNECTTIMEOUT, 60);
curl_setopt($ch, CURLOPT_TIMEOUT, 60);
curl_setopt($ch, CURLOPT_TCP_NODELAY, TRUE);
curl_setopt($ch, CURLOPT_POSTFIELDS, array(
'key' => {API_KEY},
'sitekey' => {TURNSTILE_SITE_KEY},
'pageurl' => {PAGE_URL},
'method' => "turnstile"
));
curl_setopt($ch, CURLOPT_RETURNTRANSFER, TRUE);
$_ans = curl_exec($ch);
curl_close($ch);
$_rest = explode("|", $_ans);
$_answer = trim($_rest[1]);
print $_answer;
Response Examples
// Text Response Example
OK|583567
// JSON Response Example
{ "status":1,request:"583567" }
// This example shows that the value 583567 is the CAPTCHA_ID.
The /res.php Request and Response
Request Example
// CURL Eample
curl http://captchas.online/res.php?key={API_KEY}&action=get&id={CAPTCHA_ID}
Response Examples
// Text Response Example
OK|1.5WxDnIaGkDjh2Qr5UQBbj1dxO...0bac8c6a3c64f07ffd37
// JSON Response Example
{
"status": 1,
"request": "1.5WxDnIaGkDjh2Qr5UQBbj1dxO...0bac8c6a3c64f07ffd37"
}
// This example shows that the value 1.5WxDnIaGkDjh2Qr5UQBbj1dxO...0bac8c6a3c64f07ffd37 is the Turnstile token.
Cloudflare Challenge
Task type to solve Cloudflare Challenge CAPTCHAs.
| Parameter | Type | Required | Possible values / Description |
|---|---|---|---|
| key | String | Yes | Your API key. |
| method | String | Yes | Default: "cloudflare_challenge" |
| pageurl | String | Yes | Full URL where Cloudflare Challenge appears. |
| json | Integer | No | 0 - Plain text response. - Default 1 - JSON response. |
The /in.php Request and Response
Request Examples
// HTML Form Example
<form method="post" action="http://captchas.online/in.php" enctype="multipart/form-data">
<input type="hidden" name="method" value="cloudflare_challenge">
<input type="text" name="key" value="{API_KEY}">
<input type="text" name="pageurl">
<input type="submit" value="Send and Get ID">
</form>
// CURL Eample
curl http://captchas.online/in.php?key={API_KEY}&method=cloudflare_challenge&pageurl={PAGE_URL}
// PHP Example
$ch = curl_init();
curl_setopt($ch, CURLOPT_URL,"http://captchas.online/in.php");
curl_setopt($ch, CURLOPT_POST, TRUE);
curl_setopt($ch, CURLOPT_HEADER, FALSE);
curl_setopt($ch, CURLOPT_CONNECTTIMEOUT, 60);
curl_setopt($ch, CURLOPT_TIMEOUT, 60);
curl_setopt($ch, CURLOPT_TCP_NODELAY, TRUE);
curl_setopt($ch, CURLOPT_POSTFIELDS, array(
'key' => {API_KEY},
'pageurl' => {PAGE_URL},
'method' => "cloudflare_challenge"
));
curl_setopt($ch, CURLOPT_RETURNTRANSFER, TRUE);
$_ans = curl_exec($ch);
curl_close($ch);
$_rest = explode("|", $_ans);
$_answer = trim($_rest[1]);
print $_answer;
Response Examples
// Text Response Example
OK|583567
// JSON Response Example
{ "status":1,request:"583567" }
// This example shows that the value 583567 is the CAPTCHA_ID.
The /res.php Request and Response
Request Example
// CURL Eample
curl http://captchas.online/res.php?key={API_KEY}&action=get&id={CAPTCHA_ID}
Response Examples
// Text Response Example
OK|3kdY0jp5ksYG3SVAI...3Jg5b3b9oTBAP94E
// JSON Response Example
{
"status": 1,
"request": "3kdY0jp5ksYG3SVAI...3Jg5b3b9oTBAP94E"
}
// This example shows that the value 3kdY0jp5ksYG3SVAI...3Jg5b3b9oTBAP94E is the Cloudflare Challenge token.
Geetest
Task type to solve Geetest CAPTCHAs.
| Parameter | Type | Required | Possible values / Description |
|---|---|---|---|
| key | String | Yes | Your API key. |
| method | String | Yes | Default: "geetest" |
| pageurl | String | Yes | Full URL where Turnstile appears. |
| gt | String | Yes | Value of gt parameter found on target website. |
| challenge | String | Yes | Value of challenge parameter found on target website. |
| api_server | String | No | Optional: API server location (e.g., api-na.geetest.com) |
| userAgent | String | No | User-Agent string passed to the solver browser. |
| json | Integer | No | 0 - Plain text response. - Default 1 - JSON response. |
The /in.php Request and Response
Request Examples
// HTML Form Example
<form method="post" action="http://captchas.online/in.php" enctype="multipart/form-data">
<input type="hidden" name="method" value="geetest">
<input type="text" name="key" value="{API_KEY}">
<input type="text" name="gt">
<input type="text" name="challenge">
<input type="text" name="pageurl">
<input type="submit" value="Send and Get ID">
</form>
// CURL Eample
curl http://captchas.online/in.php?key={API_KEY}&method=geetest>={GT_SITEKEY}&pageurl={PAGE_URL}&challenge={CHALLENGE_KEY}
// PHP Example
$ch = curl_init();
curl_setopt($ch, CURLOPT_URL,"http://captchas.online/in.php");
curl_setopt($ch, CURLOPT_POST, TRUE);
curl_setopt($ch, CURLOPT_HEADER, FALSE);
curl_setopt($ch, CURLOPT_CONNECTTIMEOUT, 60);
curl_setopt($ch, CURLOPT_TIMEOUT, 60);
curl_setopt($ch, CURLOPT_TCP_NODELAY, TRUE);
curl_setopt($ch, CURLOPT_POSTFIELDS, array(
'key' => {API_KEY},
'gt' => {GEETEST_GT_SITE_KEY},
'challenge' => {GEETEST_CHALLENGE},
'pageurl' => {PAGE_URL},
'method' => "geetest"
));
curl_setopt($ch, CURLOPT_RETURNTRANSFER, TRUE);
$_ans = curl_exec($ch);
curl_close($ch);
$_rest = explode("|", $_ans);
$_answer = trim($_rest[1]);
print $_answer;
Response Examples
// Text Response Example
OK|583567
// JSON Response Example
{ "status":1,request:"583567" }
// This example shows that the value 583567 is the CAPTCHA_ID.
The /res.php Request and Response
Request Example
// CURL Eample
curl http://captchas.online/res.php?key={API_KEY}&action=get&json=1&id={CAPTCHA_ID}
// We have to set json=1 parameter because our geetest solver needs to reply in JSON format.
Response Examples
{
"status": 1,
"request": {
"challenge": "1a2b3456cd67890e12345fab678901c2de",
"validate": "09fe8d7c6ba54f32e1dcb0a9fedc8765",
"seccode": "12fe3d4c56789ba01f2e345d6789c012|jordan"
}
}
CaptchaFox
Task type to solve CaptchaFox CAPTCHAs.
| Parameter | Type | Required | Possible values / Description |
|---|---|---|---|
| key | String | Yes | Your API key |
| method | String | Yes | Default: "captchafox" |
| sitekey | String | Yes | The value of the sitekey parameter found on the page or captured in network requests. |
| pageurl | String | Yes | The full URL of the page containing the captcha. |
| json | Integer | No | 0 - Plain text response. - Default 1 - JSON response. |
The /in.php Request and Response
Request Examples
// HTML Form Example
<form method="post" action="http://captchas.online/in.php" enctype="multipart/form-data">
<input type="hidden" name="method" value="captchafox">
<input type="text" name="key" value="{API_KEY}">
<input type="text" name="sitekey">
<input type="text" name="pageurl">
<input type="submit" value="Send and Get ID">
</form>
// CURL Eample
curl http://captchas.online/in.php?key={API_KEY}&method=captchafox&sitekey={CAPTCHAFOX_SITE_KEY}&pageurl={PAGE_URL}
// PHP Example
$ch = curl_init();
curl_setopt($ch, CURLOPT_URL,"http://captchas.online/in.php");
curl_setopt($ch, CURLOPT_POST, TRUE);
curl_setopt($ch, CURLOPT_HEADER, FALSE);
curl_setopt($ch, CURLOPT_CONNECTTIMEOUT, 60);
curl_setopt($ch, CURLOPT_TIMEOUT, 60);
curl_setopt($ch, CURLOPT_TCP_NODELAY, TRUE);
curl_setopt($ch, CURLOPT_POSTFIELDS, array(
'key' => {API_KEY},
'sitekey' => {CAPTCHAFOX_SITE_KEY},
'pageurl' => {PAGE_URL},
'method' => "captchafox"
));
curl_setopt($ch, CURLOPT_RETURNTRANSFER, TRUE);
$_ans = curl_exec($ch);
curl_close($ch);
$_rest = explode("|", $_ans);
$_answer = trim($_rest[1]);
print $_answer;
Response Examples
// Text Response Example
OK|583567
// JSON Response Example
{ "status":1,request:"583567" }
// This example shows that the value 583567 is the CAPTCHA_ID.
The /res.php Request and Response
Request Example
// CURL Eample
curl http://captchas.online/res.php?key={API_KEY}&action=get&id={CAPTCHA_ID}
Response Examples
// Text Response Example
OK|cf-1.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789._-XYZ123
// JSON Response Example
{
"status": 1,
"request": "cf-1.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789._-XYZ123"
}
// This example shows that the value cf-1.ABCDEFGHIJKLMNOPQ...wxyz0123456789._-XYZ123 is the CaptchaFox solution token.
Lemin
Task type to solve Lemin CAPTCHAs.
| Parameter | Type | Required | Possible values / Description |
|---|---|---|---|
| key | String | Yes | Your API key. |
| method | String | Yes | Default: "lemin" |
| captcha_id | String | Yes | The CAPTCHA identifier extracted from the page or network traffic. |
| div_id | String | No | The optional CAPTCHA container HTML code DIV tag ID. |
| pageurl | String | No | The Lemin page URL. |
| json | Integer | No | 0 - Plain text response. - Default 1 - JSON response. |
The /in.php Request and Response
Request Examples
// HTML Form Example
<form method="post" action="http://captchas.online/in.php" enctype="multipart/form-data">
<input type="hidden" name="method" value="lemin">
<input type="text" name="key" value="{API_KEY}">
<input type="text" name="captcha_id">
<input type="text" name="div_id">
<input type="text" name="pageurl">
<input type="submit" value="Send and Get ID">
</form>
// CURL Eample
curl http://captchas.online/in.php?key={API_KEY}&method=lemin&captcha_id={LEMIN_CAPTCHA_ID}&div_id={DIV_ID}&pageurl={PAGE_URL}
// PHP Example
$ch = curl_init();
curl_setopt($ch, CURLOPT_URL,"http://captchas.online/in.php");
curl_setopt($ch, CURLOPT_POST, TRUE);
curl_setopt($ch, CURLOPT_HEADER, FALSE);
curl_setopt($ch, CURLOPT_CONNECTTIMEOUT, 60);
curl_setopt($ch, CURLOPT_TIMEOUT, 60);
curl_setopt($ch, CURLOPT_TCP_NODELAY, TRUE);
curl_setopt($ch, CURLOPT_POSTFIELDS, array(
'key' => {API_KEY},
'captcha_id' => {LEMIN_CAPTCHA_ID},
'div_id' => {LEMIN_DIV_ID},
'pageurl' => {PAGE_URL},
'method' => "lemin"
));
curl_setopt($ch, CURLOPT_RETURNTRANSFER, TRUE);
$_ans = curl_exec($ch);
curl_close($ch);
$_rest = explode("|", $_ans);
$_answer = trim($_rest[1]);
print $_answer;
Response Examples
// Text Response Example
OK|583567
// JSON Response Example
{ "status":1,request:"583567" }
// This example shows that the value 583567 is the CAPTCHA_ID.
The /res.php Request and Response
Request Example
// CURL Eample
curl http://captchas.online/res.php?key={API_KEY}&action=get&id={CAPTCHA_ID}
Response Examples
// Text Response Example
OK|lemin_eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.XyZkY2FwdGNoYV9kYXRhX3NvbWVfaGFzaF9zdHJpbmc.abc123xyz456
// JSON Response Example
{
"status": 1,
"request": "lemin_eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.XyZkY2FwdGNoYV9kYXRhX3NvbWVfaGFzaF9zdHJpbmc.abc123xyz456"
}
// This example shows that the value lemin_eyJhbGciOiJIUzI1NiIsInR5cCI6Ikp...FzaF9zdHJpbmc.abc123xyz456 is the Lemin solution token.
Support
If you have any questions and concerns, please feel free to create a support ticket via Captchas.Online Support.
We are located in GMT +8:00 time zone and we answer all questions within 12-24 hours in weekdays and weekends. In some rare cases the waiting time can be to 48 hours.