> ## Documentation Index
> Fetch the complete documentation index at: https://docs.companies.social/llms.txt
> Use this file to discover all available pages before exploring further.

# Go

> Official Go SDK for companies.social

```bash theme={null}
go get github.com/alloy-rest/companies.social-sdk-go
```

## Usage

```go theme={null}
package main

import (
	"context"
	"fmt"

	"github.com/alloy-rest/companies.social-sdk-go"
	"github.com/alloy-rest/companies.social-sdk-go/option"
)

func main() {
	client := companiessocial.NewClient(
		option.WithAPIKey("ck_your_key"),
	)

	// Look up a company by domain
	company, _ := client.LookupCompany(context.TODO(), "stripe.com", companiessocial.LookupCompanyParams{
		IDType: "domain",
	})

	fmt.Println(company.Socials)
}
```

<Card title="companies.social-go" icon="golang" href="https://pkg.go.dev/github.com/alloy-rest/companies.social-sdk-go">
  View on pkg.go.dev
</Card>
