Skip to content

nukilabs/capsolver

Repository files navigation

CapSolver Go SDK

Go Reference

Go SDK for easy integration with the CapSolver API.

Installation

go get github.com/nukilabs/capsolver

Usage

package main import "github.com/nukilabs/capsolver" func main() { // create a session with your API key client := capsolver.New("YOUR_CLIENT_KEY") // build a reCAPTCHA v2 task (proxy-less by default) task := capsolver.ReCaptchaV2Task{ WebsiteURL: "https://example.com", WebsiteKey: "SITE_KEY", } // send the task and retrieve the solution sol, err := client.SolveReCaptchaV2(task) if err != nil { panic(err) // handle error appropriately } // print the token to submit to the target site println(sol.GRecaptchaResponse) }

Supported Captcha Types

  • Image-to-text (OCR)
  • GeeTest v3 / v4
  • reCAPTCHA v2 & v3
  • reCAPTCHA classification
  • Cloudflare Turnstile
  • AWS WAF classification & challenge
  • DataDome slider/interstitial
  • MtCaptcha token
  • VisionEngine puzzles

© 2025 nukilabs

About

SDK for easy integration with the API of capsolver

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages