2captcha API support

This page is for users that use a software which works with 2captcha but want to be able to use it with Death By Captcha.

2captcha API FAQ

What are your 2captcha API URLs?

http://api.deathbycaptcha.com/2captcha/in.php to upload captchas and http://api.deathbycaptcha.com/2captcha/res.php to retrieve responses, get balance and report captchas.

How do I use your 2captcha API server?

To do so, follow these steps:

  1. Get the updated IP of the DBC API servers:
    • api.deathbycaptcha.com
    This can be done by pinging (how to ping: Windows, Mac, Linux) these domains or by going to ipchecking.com and inputting one of the domain names.
  2. Add the following line in your hosts file:
    • [IP address] 2captcha.com
    Where [IP address] is the IP obtained in step 1. Need help modifying hosts file? Refer to wikihow.com or support.rackspace.com.

If you`re using Mac OS and don`t know how to edit your hosts file, you may check how to change your host files here and then follow the steps above.

If you`re using Linux and don`t know how to edit your hosts file, you may check how to edit your host files in Linux here and then follow the steps above.
Which captcha types are supported?

Text, image group, coordinate, hcaptcha and token captchas are supported by our 2captcha API. Trying to upload any other captcha type will result in an ERROR_URL_METHOD_FORBIDDEN error message from the API.

What are the allowed HTTP methods, parameters and possible error responses?

These are the same as for the actual 2captcha API. Refer to its documentation for details. The only difference is that the api_key field is your_dbc_username:your_dbc_password.

2captcha API Examples

Normal Captcha using POST:

    <form action="http://api.deathbycaptcha.com/2captcha/in.php"
    method="post"
    enctype="multipart/form-data">
      <input type="hidden" name="method" value="post">
      Your key (username:password):
      <input type="text" name="key" value="YOUR_APIKEY">
      Want json response (0/1) 0=false, 1=true:
      <input type="text" name="json" value="0">
      The CAPTCHA file:
      <input type="file" name="file">
      <input type="submit" value="Upload and get the ID">
    </form>

Hcaptcha using GET:


      curl -i -X GET 'http://api.deathbycaptcha.com/2captcha/in.php?
      key=username:password&
      method=hcaptcha&
      sitekey=03196e24-1234-41fa-bb86-4d5110e1c97a&
      pageurl=https://www.example.com/'

    

Status: OK

Servers are fully operational with faster than average response time.
  • Average solving time
  • 3 seconds - Normal CAPTCHAs (1 min. ago)
  • 28 seconds - reCAPTCHA V2, V3, etc (1 min. ago)
  • 29 seconds - hCAPTCHA & others (1 min. ago)
Chrome and Firefox logos
Browser extensions available

Updates

  1. Nov 22: Now supporting Amazon WAF!! See the details at https://deathbycaptcha.com/api/amazonwaf
  2. Nov 01: Today our Socket API was affected by a technical issue for a few hours. It's now sorted and back to 100%, working optimally. We sincerely apologize for the inconvenience this may have caused you. If you were affected, please don't hesitate to contact us: https://deathbycaptcha.com/contact and we'll be happy to assist/compensate you!
  3. Oct 09: Now supporting Audio Recognition! See the details at https://deathbycaptcha.com/api/audio.

  4. Previous updates…

Support

Our system is designed to be completely user-friendly and easy-to-use. Should you have any trouble with it, simply email us at DBC technical support emailcom, and a support agent will get back to you as soon as possible.

Live Support

Available Monday to Friday (10am to 4pm EST) Live support image. Link to live support page