TrustCaptcha - Bot protection
Go CAPTCHA. Eliminate bots and spam.
TrustCaptcha efficiently safeguards your Go applications from bot assaults and spam in minutes with the ready-made CAPTCHA-for-Go integration. TrustCaptcha stops potential customers from leaving by entirely removing irritating image puzzles or tasks. TrustCaptcha shields you from data violations, legal notices and penalties – rely on the European CAPTCHA replacement for Go with a strong focus on data privacy and GDPR conformity.
Trusted by companies, organisations and governments.














Why TrustCaptcha
TrustCaptcha saves you money and increases your conversion
Integrate TrustCaptcha
Integrate TrustCaptcha in Go now! Simply follow these steps
Integrate TrustCaptcha with Go quickly and easily into your website, application or platform in just a few steps and effectively protect your online presence and services from bot abuse.
1 – Sign in or sign up
The first thing you need to do is sign in to your Trustcomponent account. If you do not yet have a Trustcomponent account, you can register with us quickly and easily in just a few steps. After that, go to your dashboard. Here you will see all existing CAPTCHAs and can create new CAPTCHAs.2 – Choose existing CAPTCHA or create a new CAPTCHA
If you already have a CAPTCHA that you want to use, skip this step. If you don't have a CAPTCHA yet, create a new CAPTCHA now.Create a new CAPTCHADuring the creation process, select the “TrustCaptcha” product category and choose your preferred pricing plan. If you are not yet sure which pricing plan to choose, no problem! The plan can be extended at any time. Then decide whether you want to start with the 30-day trial version or go straight to a paid subscription. If you want to start directly with a paid CAPTCHA, all you have to do is add your billing details and optionally a payment method and you're ready to go.30-day trial periodIf you opt for the 30-day trial period, you can test CAPTCHA for 30 days risk-free. At the end of the 30-day trial period, CAPTCHA locks itself. During the 30-day trial period or up to 30 days after the end of the trial period, you can unsubscribe from CAPTCHA at any time for a fee or delete it with immediate effect. If you neither subscribe to the CAPTCHA for a fee nor delete it within 30 days of the end of the free trial period, it will be deleted automatically.Non-Commercial PlanIn addition to our standard plans, we also offer a permanently free “Non Commercial“ plan with 1 website and up to 500 free verifications for non-commercial websites and projects.3 – Add your websites and check your credentials
On the dashboard of your CAPTCHA you will find all the important information, statistics and setting options. Here you will also find your site-key, the secret-key and, if available, the license-key. You will need these later on when integrating your CAPTCHA.Add your websitesYour CAPTCHA may only be accessed by websites that you explicitly authorise. To allow websites to access the CAPTCHA, enter all the websites on which you want to integrate the CAPTCHA in the settings.4 – Solve the CAPTCHA in your frontend
Integrate the CAPTCHA widget into your website or app. You can find detailed instructions for the frontend integration in our documentation. The CAPTCHA widget will then be displayed on your website or app.Prebuild frontend integrationsYou can use one of our pre-built integrations to integrate the CAPTCHA widget into your website or application. If there is no pre-built integration from us for your preferred frontend technology, your software developers can integrate the CAPTCHA themselves using our documentation or ask our support-team for a pre-built integration solution.5 – Validate the CAPTCHA result in your backend
When the CAPTCHA has finished, take the verification token and send it to your backend. Then retrieve the verification result from our servers and determine your next steps. You can find detailed information on backend integration in our documentation.Basic steps for GoThe basic steps for your Go integration are as follows. For detailed instructions, please read our documentation.Install Dependency Fetch Resultgo get github.com/trustcomponent/trustcaptcha-go/v2@v2.0.1
Handle Result// Retrieving the verification result verificationResult, err := trustcaptcha.GetVerificationResult("<your_secret_key>", "<verification_token_from_your_client>") if err != nil { log.Printf("Failed to fetch verification result: %v", err) http.Error(w, "Captcha verification failed", http.StatusInternalServerError) return }
Need more information about the Go integration?Here are a few more ways to familiarize yourself further with the integration.// Act on the verification result if !verificationResult.VerificationPassed || verificationResult.Score > 0.5 { log.Println("Verification failed or bot score > 0.5 – possible automated request.") }
Other backend technology instead of Go?If you do not want to use Go or have several backend services you can select a different language or framework here. If there is no pre-built integration from us for your preferred backend technology, your software developers can integrate the CAPTCHA themselves using our documentation or ask our support-team for a pre-built integration solution. 6 – Congratulations 🎉
You are now protected by TrustCaptcha - congratulations!
Frequently Asked Questions
Do you need more information about the Angular integration?
Frequently Asked Questions
More about TrustCaptcha