Build high-performance link management and QR code tracking into your Go services. Zero external dependencies with native error handling and concurrency support.
Integrate Linkbreakers into your Go stack with type-safe, production-ready methods.
Every Linkbreakers dashboard feature is available through the SDK — links, workflows, QR codes, analytics, domains, and visitor tracking.
Generated from the OpenAPI specification with full type definitions, IDE autocomplete, and inline documentation.
Built-in error handling, retry logic support, and authentication management. Open source on GitHub with active maintenance.
Install the SDK, authenticate, and make your first API call.
go get github.com/linkbreakers-com/linkbreakers-go
package main
import (
"context"
"fmt"
"os"
linkbreakers "github.com/linkbreakers-com/linkbreakers-go"
)
func main() {
config := linkbreakers.NewConfiguration()
config.AddDefaultHeader("Authorization",
"Bearer "+os.Getenv("LINKBREAKERS_SECRET_KEY"))
config.Servers = linkbreakers.ServerConfigurations{
{URL: "https://api.linkbreakers.com"},
}
client := linkbreakers.NewAPIClient(config)
request := linkbreakers.NewCreateLinkRequest("https://example.com")
request.SetName("Campaign Link")
request.SetTags([]string{"marketing"})
response, _, err := client.LinksAPI.LinksServiceCreate(
context.Background()).CreateLinkRequest(*request).Execute()
if err != nil {
panic(err)
}
fmt.Println("Short URL:", response.Link.Shortlink)
}resp, _, err := client.LinksAPI.LinksServiceList(ctx).
PageSize(20).
Execute()
if err != nil {
log.Fatal(err)
}
for _, link := range resp.Links {
fmt.Printf("%s -> %s\n", link.Name, link.Shortlink)
}domain, _, err := client.DomainsAPI.DomainsServiceCheck(ctx).
DomainId("dom_abc123").
Execute()
if err != nil {
log.Fatal(err)
}
fmt.Printf("DNS: %s, TLS: %s\n", domain.DnsStatus, domain.TlsStatus)What teams build with the Linkbreakers Go SDK.
High-throughput microservices and API gateways
Custom CLI tools and system utilities
Kubernetes operators and infrastructure automation
The Go SDK is one of five official SDKs. Linkbreakers also offers an MCP server for AI assistants and a CLI for terminal workflows.
Sign up for Linkbreakers, create an API token, and start integrating in minutes.