{"id":21020,"library":"capsolver","title":"capsolver-python","description":"Official Python SDK for Capsolver, a service for solving CAPTCHAs (ReCaptcha, hCaptcha, Geetest, etc.) automatically. Current version 1.0.7, requires Python >=3.6.8, maintained by Capsolver team.","status":"active","version":"1.0.7","language":"python","source_language":"en","source_url":"https://github.com/capsolver/capsolver-python","tags":["captcha","recaptcha","hcaptcha","automation"],"install":[{"cmd":"pip install capsolver","lang":"bash","label":"Install from PyPI"}],"dependencies":[{"reason":"HTTP client for API calls","package":"requests","optional":false}],"imports":[{"wrong":"from capsolver import CapSolver","symbol":"Capsolver","correct":"from capsolver import Capsolver"}],"quickstart":{"code":"from capsolver import CapSolver\nimport os\n\napi_key = os.environ.get('CAPSOLVER_API_KEY', 'YOUR_API_KEY')\nsolver = CapSolver(api_key=api_key)\n\n# Solve ReCaptcha v2\nresult = solver.solve(\n    type=\"ReCaptchaV2TaskProxyless\",\n    websiteURL=\"https://example.com\",\n    websiteKey=\"6Lc...\"\n)\nprint(result)\n","lang":"python","description":"Instantiate CapSolver with your API key and solve a ReCaptcha v2 (proxyless)."},"warnings":[{"fix":"Always handle capsolver.exceptions.CapSolverError in your code.","message":"API keys are required for all requests. The library does not validate the key until the first API call, so catch exceptions.","severity":"gotcha","affected_versions":"all"},{"fix":"Change 'from capsolver.capsolver import CapSolver' to 'from capsolver import CapSolver'.","message":"The 'capsolver.capsolver' module is deprecated. Use the top-level 'capsolver' package directly.","severity":"deprecated","affected_versions":"<=1.0.6"},{"fix":"Refer to Capsolver API docs for exact task type strings.","message":"Task names are case-sensitive and version-specific. Mistyping a task type (e.g., 'ReCaptchaV2Task' vs 'ReCaptchaV2TaskProxyless') will raise an API error.","severity":"gotcha","affected_versions":"all"},{"fix":"Use 'CapSolver(api_key=...)' with explicit keyword.","message":"In v1.0.0, the constructor changed from 'capsolver(api_key)' to 'CapSolver(api_key=api_key)', with keyword argument enforcement.","severity":"breaking","affected_versions":"<1.0.0"}],"env_vars":null,"search_vec":"'1.0.7':21 '3.6.8':24 'autom':32 'automat':18 'capsolv':2,8,27 'capsolver-python':1 'captcha':13,29 'current':19 'etc':17 'geetest':16 'hcaptcha':15,31 'maintain':25 'offici':4 'python':3,5,23 'recaptcha':14,30 'requir':22 'sdk':6 'servic':10 'solv':12 'team':28 'version':20","created_at":"2026-04-27T16:57:40.460573+00:00","updated_at":"2026-04-27T16:57:40.460573+00:00","problems":null,"ecosystem":"pypi","meta_description":null,"install_score":null,"quickstart_score":null,"quickstart_tag":null,"pypi_latest":"1.0.7","cli_name":"","cli_version":null,"type":"library","homepage":"https://www.capsolver.com","github":"https://github.com/capsovler/capsovler-python","docs":null,"changelog":null,"pypi":"https://pypi.org/project/capsolver/","npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"categories":["http-networking","auth-security"],"base_url":null,"auth_type":null,"provenance":{"verified_status":"passing","verified_at":"2026-07-03","last_verified":"2026-07-03","next_check":"2026-08-02","install_tag":null}}