Solve Captchas API Document

Integrate Our Service Into Any Software and Application Platforms

API Endpoint URL

https://www.solvecaptchas.com/api/


Parameters

Name Type Description
key string User's API key. Each user can find his API key at the Dashboard within his account at our website
function string Command to execute. Possible values:

balance - Used mainly for testing the authentication and integration between our API and the software/application. Returns the number of remaining daily solves according to the user's plan.

picture2 - Submit Captcha image for solving/decoding. It is very important to use multipart headers, by sending the following headers: Content-Type: multipart/form-data

nocaptcha - Submit reCaptcha image for solving. It is very important to use multipart headers, by sending the following headers: Content-Type: multipart/form-data

audio - Submit .mp3 or .wav audio captcha types. It is very important to use multipart headers, by sending the following headers: Content-Type: multipart/form-data
pict file The captcha image that needs to be solved/decoded

This variable is used only when performing a function=picture2 command for Captcha solving!

Only accepted images are from the following types: image/png, image/jpeg, image/gif, image/bmp, image/x-ms-bmp
banner_text string Set this only if you set function=nocaptcha. The question that comes from the no captcha. For example: "Select all images of taxis."
audiofile file The audio (.mp3 or .wav) file that needs to be solved/decoded...

Responses

Any response from our Remote API is in plan text format!

Error response with the exact error text is returned in case of technical error - wrong request method, missing parameters, broken image file and etc..

Response 0|324|323|432|324| is returned if the Captcha image can't be recognized or decoded.

Response 0|324|323|432|324|TEXT is returned if the Captcha image is decoded successfully, where TEXT is the answer of the Captcha. Basically you need to split the response by | (single pipe) and grab the text after the last pipe.

noCaptcha Results
noCaptcha results are return as at least two numbers (1 - 9) corresponding to the image you should select. The numbers go from left to right top to bottom. So the top left picture is 1, the top right picture is 3, the bottom left picture is 7 and the bottom right picture is 9.

Code Examples

HTML Form


<form method="post" action="https://www.solvecaptchas.com/api/" enctype="multipart/form-data">
    <input type="hidden" name="function" value="picture2">
    API Key: <input type="text" name="key" value="[YOUR_SOLVE_CAPTCHAS_API_KEY]">
    Captcha Image: <input type="file" name="pict">
    <input type="submit" value="Send">
</form>								
								

PHP


<?php
    $filename='/path/to/your/image.png';

    $postData=array();
    $postData['key']='[YOUR_SOLVE_CAPTCHAS_API_KEY]';
    $postData['function']='picture2';
    $postData['pict']='@'.realpath($filename);

    $ch = curl_init();
    curl_setopt($ch,CURLOPT_URL,'https://www.solvecaptchas.com/api/');
    curl_setopt($ch,CURLOPT_HEADER,0);
    curl_setopt($ch,CURLOPT_POST,1);
    curl_setopt($ch,CURLOPT_POSTFIELDS,$postData);
    curl_setopt($ch,CURLOPT_RETURNTRANSFER,1);
    curl_setopt($ch,CURLOPT_FOLLOWLOCATION,1);
    curl_setopt($ch,CURLOPT_CONNECTTIMEOUT,5);
    curl_setopt($ch,CURLOPT_TIMEOUT,20);

    $response=curl_exec($ch);
    curl_close($ch);
 
    echo $response;
?>
								

iMacros


SET !EXTRACT_TEST_POPUP NO
TAB T=1
URL GOTO=https://www.solvecaptchas.com/form.html
TAG POS=1 TYPE=INPUT ATTR=NAME:key CONTENT=[YOUR_SOLVE_CAPTCHAS_API_KEY]
TAG POS=1 TYPE=INPUT ATTR=NAME:pict CONTENT=C:\captcha.jpg
TAG POS=1 TYPE=INPUT ATTR=TYPE:submit
SET !EXTRACT NULL
TAG POS=1 TYPE=HTML ATTR=* EXTRACT=TXT
SET CaptchaAnswer {{!EXTRACT}}
								

Chrome Browser Extension

For chrome browser extension users you need to subscribe to any subscription package plans to get or have access to your API key found in your member's control panel dashboard.