{"id":21238634,"url":"https://github.com/zaczero/anticaptcha","last_synced_at":"2025-07-10T19:31:35.643Z","repository":{"id":38751688,"uuid":"182145320","full_name":"Zaczero/AntiCaptcha","owner":"Zaczero","description":"🍬 Simple HTTP API wrapper for https://anti-captcha.com","archived":false,"fork":false,"pushed_at":"2022-06-23T15:53:47.000Z","size":48,"stargazers_count":19,"open_issues_count":1,"forks_count":4,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-05-20T10:55:36.449Z","etag":null,"topics":["anticaptcha","api","captcha","geetest","google","hcaptcha","image-captcha","recaptcha","solver","text-captcha","wrapper"],"latest_commit_sha":null,"homepage":"","language":"C#","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Zaczero.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2019-04-18T19:25:02.000Z","updated_at":"2024-07-23T21:20:09.000Z","dependencies_parsed_at":"2022-08-25T03:01:01.087Z","dependency_job_id":null,"html_url":"https://github.com/Zaczero/AntiCaptcha","commit_stats":null,"previous_names":[],"tags_count":8,"template":false,"template_full_name":null,"purl":"pkg:github/Zaczero/AntiCaptcha","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Zaczero%2FAntiCaptcha","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Zaczero%2FAntiCaptcha/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Zaczero%2FAntiCaptcha/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Zaczero%2FAntiCaptcha/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Zaczero","download_url":"https://codeload.github.com/Zaczero/AntiCaptcha/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Zaczero%2FAntiCaptcha/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":264639860,"owners_count":23642313,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["anticaptcha","api","captcha","geetest","google","hcaptcha","image-captcha","recaptcha","solver","text-captcha","wrapper"],"created_at":"2024-11-21T00:36:50.570Z","updated_at":"2025-07-10T19:31:35.372Z","avatar_url":"https://github.com/Zaczero.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ![Zaczero/AntiCaptcha logo](https://github.com/Zaczero/AntiCaptcha/blob/master/resources/AntiCaptcha.png)\n\n[![GitHub Release](https://img.shields.io/github/v/release/Zaczero/AntiCaptcha)](https://github.com/Zaczero/AntiCaptcha/releases/latest)\n[![NuGet Release](https://img.shields.io/nuget/v/AntiCaptchaAPI)](https://www.nuget.org/packages/AntiCaptchaAPI/)\n[![License](https://img.shields.io/github/license/Zaczero/AntiCaptcha)](https://github.com/Zaczero/AntiCaptcha/blob/master/LICENSE)\n\nSimple HTTP API wrapper for [anti-captcha.com](https://anti-captcha.com/).\nAn online captcha solving and image recognition service.\n\n## 🌤️ Installation\n\n### Install with NuGet (recommended)\n\n`Install-Package AntiCaptchaAPI`\n\n### Install manually\n\n[Browse latest GitHub release](https://github.com/Zaczero/AntiCaptcha/releases/latest)\n\n## 🏁 Getting started\n\n### Sample code\n\n```cs\n/*\n * Class initialization\n * Optionally you can pass 2nd parameter `httpClient` with custom HttpClient to use while requesting API\n */\nvar captcha = new AntiCaptcha(\"API_KEY\");\nvar captchaCustomHttp = new AntiCaptcha(\"API_KEY\", new HttpClient());\n\n/*\n * Get current balance\n */\nvar balance = await captcha.GetBalance();\n\n/*\n * Type: Image\n *\n * Documentation (anti-captcha): https://anti-captcha.com/apidoc/image\n */\nvar image = await captcha.SolveImage(\"BASE64_IMAGE\");\n\n/*\n * Type: ReCaptcha V2\n * Optionally you can pass 3rd parameter `isInvisible` to indicate if the reCaptcha is setup as invisible\n *\n * Homepage: https://www.google.com/recaptcha/\n * Documentation (vendor): https://developers.google.com/recaptcha/docs/display\n * Documentation (anti-captcha): https://anti-captcha.com/apidoc/recaptcha\n */\nvar reCaptcha = await captcha.SolveReCaptchaV2(\"SITE_KEY\", \"https://WEBSITE_URL\");\nvar reCaptchaInvisible = await captcha.SolveReCaptchaV2(\"SITE_KEY\", \"https://WEBSITE_URL\", true);\nvar reCaptchaWithProxy = await captcha.SolveReCaptchaV2(\"SITE_KEY\", \"https://WEBSITE_URL\", new AntiCaptchaProxy(ProxyType.Http, \"PROXY_ADDRESS\", 8080), \"USER_AGENT\");\n\n/*\n * Type: ReCaptcha V3\n * If you get ERROR_INCORRECT_SESSION_DATA error you may need to increase minScore value\n *\n * Homepage: https://www.google.com/recaptcha/\n * Documentation (vendor): https://developers.google.com/recaptcha/docs/v3\n * Documentation (anti-captcha): https://anti-captcha.com/apidoc/recaptcha\n */\nvar reCaptchaV3 = await captcha.SolveReCaptchaV3(\"SITE_KEY\", \"https://WEBSITE_URL\", 0.9, \"SOME_ACTION\");\n\n/*\n * Type: hCaptcha\n *\n * Homepage: https://www.hcaptcha.com/\n * Documentation (vendor): https://docs.hcaptcha.com/\n * Documentation (anti-captcha): https://anti-captcha.com/apidoc/hcaptcha\n */\nvar hCaptcha = await captcha.SolveHCaptcha(\"SITE_KEY\", \"https://WEBSITE_URL\");\nvar hCaptchaWithProxy = await captcha.SolveHCaptcha(\"SITE_KEY\", \"https://WEBSITE_URL\", new AntiCaptchaProxy(ProxyType.Http, \"PROXY_ADDRESS\", 8080), \"USER_AGENT\");\n\n/*\n * Type: GeeTest\n *\n * Homepage: https://www.geetest.com/en\n * Documentation (vendor): https://docs.geetest.com/en\n * Documentation (anti-captcha): https://anti-captcha.com/apidoc/geetest\n */\nvar geeTest = await captcha.SolveGeeTest(\"SITE_KEY\", \"https://WEBSITE_URL\", \"CHALLENGE\");\nvar geeTestWithProxy = await captcha.SolveGeeTest(\"SITE_KEY\", \"https://WEBSITE_URL\", \"CHALLENGE\", new AntiCaptchaProxy(ProxyType.Http, \"PROXY_ADDRESS\", 8080), \"USER_AGENT\");\n\n/*\n * Type: FunCaptcha\n *\n * Documentation (anti-captcha): https://anti-captcha.com/apidoc/funcaptcha\n */\nvar funCaptcha = await captcha.SolveFunCaptcha(\"SITE_KEY\", \"https://WEBSITE_URL\");\nvar funCaptchaWithProxy = await captcha.SolveFunCaptcha(\"SITE_KEY\", \"https://WEBSITE_URL\", new AntiCaptchaProxy(ProxyType.Http, \"PROXY_ADDRESS\", 8080), \"USER_AGENT\");\n\n/*\n * Type: SquareNet\n */\nvar squareNet = await captcha.SolveSquareNet(\"BASE64_IMAGE\", \"OBJECT_NAME\", 3, 3);\n```\n\n### And here is the result structure *(the same for all methods)*\n\n```cs\npublic struct AntiCaptchaResult\n{\n    public bool Success;\n    public string Response;\n\n    public AntiCaptchaResult(bool success, string response)\n    {\n        Success = success;\n        Response = response;\n    }\n}\n```\n\n## Footer\n\n### 📧 Contact\n\n* Email: [kamil@monicz.pl](mailto:kamil@monicz.pl)\n* PGP: [0x9D7BC5B97BB0A707](https://gist.github.com/Zaczero/158da01bfd5b6d236f2b8ceb62dd9698)\n\n### 📃 License\n\n* [Zaczero/AntiCaptcha](https://github.com/Zaczero/AntiCaptcha/blob/master/LICENSE)\n* [JamesNK/Newtonsoft.Json](https://github.com/JamesNK/Newtonsoft.Json/blob/master/LICENSE.md)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzaczero%2Fanticaptcha","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fzaczero%2Fanticaptcha","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzaczero%2Fanticaptcha/lists"}