Logo API for Python
Fetch company logos in Python using requests or httpx with proper User-Agent headers.
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.
import requests
def fetch_logo(domain: str) -> bytes:
response = requests.get(
f"https://logos-api.apistemic.com/domain:{domain}",
headers={"User-Agent": "MyApp ([email protected])"}
)
return response.contentimport httpx
def fetch_logo(domain: str) -> bytes:
response = httpx.get(
f"https://logos-api.apistemic.com/domain:{domain}",
headers={"User-Agent": "MyApp ([email protected])"}
)
return response.contentimport httpx
async def fetch_logo(domain: str) -> bytes:
async with httpx.AsyncClient() as client:
response = await client.get(
f"https://logos-api.apistemic.com/domain:{domain}",
headers={"User-Agent": "MyApp ([email protected])"}
)
return response.contentFree 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.