Funcaptcha

Query Params: ▶️ x-api-key : Your API Key

▶️ websiteUrl : Address of a target web page. example: https://abcxyz.com

▶️ websiteKey : Funcaptcha Sitekey

▶️ type : fixed value: FUNCAPTCHA

▶️ proxy : Use the format host:port:user:password. Be aware that some websites check if the submitted IP matches the resolution IP, which may require the use of an additional proxy in certain situations.

When using rotating proxies, ensure they support session or sticky session functionality.

Create a Task without proxy

curl --location --request POST 'https://api.hardcaptcha.com/tasks/' \
--header 'x-api-key: <your_api_key>' \
--header 'Content-Type: application/json' \
--data '{
  "type": "FUNCAPTCHA",
  "data": {
      "websiteUrl": "https://example.com",
      "websiteKey": "2CB16598-CB82-4CF7-B332-5990DB66F3AB"
  }
}'

Create a Task with proxy

curl --location --request POST 'api.hardcaptcha.com/tasks/' \
--header 'x-api-key: <your_api_key>' \
--header 'Content-Type: application/json' \
--data '{
   "type": "FUNCAPTCHA",
   "useProxy": true,
   "data": {
    "proxy": "host:port:user:password",
    "proxyType": "socks5",
    "data": "whatever_you_want. ex: blob....",
    "websiteUrl": "1",
    "websiteKey": "2CB16598-CB82-4CF7-B332-5990DB66F3AB",
  }
}'

Get task result

Last updated