Logo API for Go
Go functions for URL generation and HTTP fetching with proper error handling.
What is apistemic logos?
A free logo API that returns company logos by domain or LinkedIn slug.
Any Company
Fetch logos for any domain — from Fortune 500 to startups. Just pass the domain and get a logo.
No API Keys
No registration, no authentication, no rate limits for reasonable usage. Just HTTP requests.
WebP Format
All logos served in WebP format — 25-35% smaller than PNG with full transparency support.
Code Examples
Production-ready code you can copy and paste into your project.
package main
import (
"fmt"
"io"
"net/http"
)
func getLogoURL(domain string) string {
return fmt.Sprintf("https://logos-api.apistemic.com/domain:%s", domain)
}
func fetchLogo(domain string) ([]byte, error) {
client := &http.Client{}
req, err := http.NewRequest("GET", getLogoURL(domain), nil)
if err != nil {
return nil, err
}
// Include contact info so we can reach you if needed
req.Header.Set("User-Agent", "MyApp ([email protected])")
resp, err := client.Do(req)
if err != nil {
return nil, err
}
defer resp.Body.Close()
return io.ReadAll(resp.Body)
}Free with Attribution
The logo API is completely free. Just add a visible attribution link.
- ✓Add a backlink on your homepage and on pages displaying logos
- ✓Use a User-Agent with contact information for server-side requests
Add this link:
Logos by <a href="https://logos.apistemic.com">apistemic logos</a>Server-side? Use a User-Agent with contact info and limit to 1 rps. We verify attribution. Don't use rel="nofollow". See full rules.
Can't add attribution? Let's talk.
Related Integrations
Explore more ways to integrate the Logo API.
Ready to integrate?
Try the API live or explore all available integrations.