Download C# Example
Download php Example
iMacros Example
Recaptcha V2 & V3 api

API Introduction

You can access our service through simple HTTP request response model. You can upload a base64 encoded image file or upload a file with your Access key, We will decode and send it back to you as response text.

HTTP Request URL : http://api.captchacoder.com/Imagepost.ashx
Upload URL for macros : http://api.captchacoder.com/ImageUpload.aspx


Method 1: Base64 string upload

Request Parameters:
Action = upload
gen_task_id = A unique task id given by you to use as reference of every job sent to our server. You will use this Task Id for refund claim.
Key = The secret Access Key given to you.
file = base64 encoded image file

Base64 string upload Example

   <form action="http://api.captchacoder.com/Imagepost.ashx" method="post" enctype="multipart/form-data">
        <input type="text" name="action" value="upload"/>
        <input type="text" name="key" value="115KJVCWRK4ZHC63WNAGSQI9XFSAT415N9DWPLL4"/>
        <textarea name="file"></textarea>
        <input type="text" name="gen_task_id" value="1"/>
        <input type="submit" value="Submit"/>
    </form>

Response from server : Text shown in Image on successful decoding
Example : GH87Ui




Method 2: Image Upload via file uploading

Request Parameters:
Action = upload
gen_task_id = A unique task id given by you to use as reference of every job sent to our server. You will use this Task Id for refund claim.
Key = The secret Access Key given to you.
file = image file.

Upload a file Example:

  <form action="http://api.captchacoder.com/Imagepost.ashx" method="post" enctype="multipart/form-data">
        <input type="text" name="action" value="upload"/>
        <input type="text" name="key" value="115KJVCWRK4ZHC63WNAGSQI9XFSAT415N9DWPLL4"/>
        <input type="file" name="file" value=""/>
        <input type="text" name="gen_task_id" value="11111"/>
        <input type="submit" value="Submit"/>
    </form>

Response from server : Text shown in Image on successful decoding
Example : xyz87Ui


Balance Query

Request Parameters:
Action= balance
Key=The secret access key given to you.

Balance Query Example:

  <form action="http://api.captchacoder.com/Imagepost.ashx" method="post" enctype="multipart/form-data">
        <input type="text" name="action" value="balance"/>
        <input type="text" name="key" value="115KJVCWRK4ZHC63WNAGSQI9XFSAT415N9DWPLL4"/>
        <input type="submit" value="Submit"/>
    </form>

Response from server : Balance is given as number
Example : 50890




Refund Request(Report incorrectly solved)

Request Parameters:
Action = refund
gen_task_id = The unique task of the job.
Key = The secret access key given to you.

Refund Request Example:

   <form action="http://api.captchacoder.com/Imagepost.ashx" method="post" enctype="multipart/form-data">
        <input type="text" name="action" value="refund"/>
        <input type="text" name="key" value="115KJVCWRK4ZHC63WNAGSQI9XFSAT415N9DWPLL4"/>
        <input type="text" name="gen_task_id" value="11111"/>
        <input type="submit" value="Submit"/>
    </form>

Response from server : ok



Error Messages :

Error message Format : Error space ErrorMessage
Example:
For incorrect access key : Error Invalid_Access_Key
For INVALID REQUEST : Error INVALID_REQUEST
For NOT ENOUGH FUND : Error NOT_ENOUGH_FUND
For other/unknown error : Error UNKNOWN
For TIMEOUT : Error TIMEOUT


Please visit the following page for Recaptcha V2, Recaptcha V3, No captcha, I am not a robot captcha, Invisible captcha API

Recaptcha V2 & V3/No captcha/I am not a robot/Invisible captcha API