https://github.com/nukilabs/capsolver
SDK for easy integration with the API of capsolver
https://github.com/nukilabs/capsolver
capsolver captcha
Last synced: about 2 months ago
JSON representation
SDK for easy integration with the API of capsolver
- Host: GitHub
- URL: https://github.com/nukilabs/capsolver
- Owner: nukilabs
- License: mit
- Created: 2025-06-30T21:01:49.000Z (8 months ago)
- Default Branch: main
- Last Pushed: 2025-06-30T21:29:40.000Z (8 months ago)
- Last Synced: 2025-06-30T22:24:57.171Z (8 months ago)
- Topics: capsolver, captcha
- Language: Go
- Homepage:
- Size: 12.7 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# CapSolver Go SDK
[](https://pkg.go.dev/github.com/nukilabs/capsolver)
Go SDK for easy integration with the [CapSolver API](https://docs.capsolver.com).
## Installation
```bash
go get github.com/nukilabs/capsolver
```
## Usage
```go
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