Looking for our logo?
Gives API access to all Algolia functionality, settings, advanced features, and ML/AI products
Typed requests and responses
First-class support for user-defined structures
Background retry strategy to ensure uptime
Seamless batching via iterators to optimize number of network calls
Zero downtime reindexing feature
Injectable HTTP client
Supports Go 1.11 and above
INSTALL
go get github.com/algolia/algoliasearch-client-go/v3@v3.Y.Z
INDEX
type Contact struct {
ObjectID string `json:"objectID"`
Firstname string `json:"firstname"`
Lastname string `json:"lastname"`
}
contacts := []Contact{
{ObjectID: "myID1", Firstname: "Jimmie", Lastname: "Barninger"},
{ObjectID: "myID2", Firstname: "Ray", Lastname: "Charles"},
}
res, err := index.SaveObjects(contacts)
SEARCH
params := []interface{}{
opt.AttributesToRetrieve("firstname", "lastname"),
opt.HitsPerPage(50),
}
res, err := index.Search("jimmie paint", params...)
Recognized by IDC, Gartner, Forrester, and Paradigm B2B, Algolia helps enterprises turn search into a growth engine for AI-native experiences.
Algolia is recognized as a Leader in the 2026 Gartner® Magic Quadrant™ for Search and Product Discovery as the market shifts toward AI-powered, agentic discovery.
A Forrester Consulting study found Algolia delivered $3.1M NPV over three years, helping commerce teams improve relevance, automate merchandising, and grow revenue
IDC recognized Algolia as a leader in general-purpose knowledge discovery software, citing the growing role of search in AI-powered workflows and enterprise knowledge experiences
Algolia earned 12 medals across 12 categories in Paradigm B2B’s 2025 Enterprise Combine for Search and Discovery, with customers praising speed, transparency, analytics, and ease of use
Hi there 👋 Need assistance? Click here to allow functional cookies to launch our chat agent.
Thanks for visiting! 👋 I can help answer any questions about Algolia.
Hey! 👋 Got questions about pricing or plans?
Want to skip the form and book some time with our team right now?
Hey there! Would you like to book a meeting with our sales team now?
Thanks for visiting! 👋 I can help answer any questions about Algolia.