Task

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