# Domain Logo Lookup API

> Fetch any company's logo with a simple URL. Pass a domain and get the highest quality logo available, served from our global edge CDN.

## How It Works

1. **Pass a domain** — Use `img.loadlogo.com/{domain}` as an image URL. No API key or SDK needed.
2. **Edge cache check** — The worker checks R2 object storage for a cached logo. If found, it's served in under 50ms.
3. **Multi-strategy fetch** — If not cached, the worker tries multiple strategies: Firecrawl branding extraction, common logo paths (/logo.svg, /favicon.ico), and Google favicon fallback.
4. **Cache and serve** — The best logo is stored in R2 and served with CDN cache headers for future requests.

## Benefits

- Works with any domain — from startups to Fortune 500 companies
- Sub-100ms delivery from 300+ global edge locations
- Automatic format detection from image bytes (SVG, PNG, JPEG, WebP, ICO)
- Flexible sizing with `?size=` parameter (1-2000px)
- Smart monogram fallback when no logo is found
- No API key required for free tier

## Code Example

```html
<!-- Simple logo embed -->
<img src="https://img.loadlogo.com/spotify.com" alt="Spotify" />

<!-- With size and format -->
<img src="https://img.loadlogo.com/stripe.com?size=256&format=webp" />

<!-- React component -->
<img src={`https://img.loadlogo.com/${company.domain}?size=64`} />
```

## Related

- [Brand Profiles & Colors](/features/brand-profiles.md)
- [AI Style Variants](/features/ai-styles.md)
- [Full API Reference](/docs.md)
