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"
      <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">

Hcaptcha using GET:

      curl -i -X GET 'http://api.deathbycaptcha.com/2captcha/in.php?


Status: OK

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


  1. Apr 26: RESOLVED - The deathbycaptcha.com website (the API remained/remains fully functional) was sporadically inaccessible due to network issues on April 25th & 26th. This situation was fully resolved and everything is back to 100%.
  2. Feb 26: NEW TYPE ADDED - Now supporting Friendly CAPTCHA!! See the details at https://deathbycaptcha.com/api/friendly
  3. Nov 22: Now supporting Amazon WAF!! See the details at https://deathbycaptcha.com/api/amazonwaf

  4. Previous updates…


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