The Logo.dev API uses standard HTTP status codes. The image CDN (Documentation Index
Fetch the complete documentation index at: https://www.logo.dev/docs/llms.txt
Use this file to discover all available pages before exploring further.
img.logo.dev) returns an image on success; the REST APIs (api.logo.dev) return JSON. Error responses are always JSON with a msg field.
Image CDN (img.logo.dev)
| Status | Meaning | What to do |
|---|---|---|
200 | Logo returned. Also returned with a generated monogram when no logo exists for a valid request (unless you set fallback=404). | Nothing — render the image. |
401 | Missing or invalid token. | Add a valid publishable key as ?token=. |
404 | No logo found and you requested fallback=404. | Handle the missing logo in your code. |
401 — no or invalid token
401:
REST APIs (api.logo.dev)
The Brand Search and Describe APIs authenticate with a secret key in the Authorization header.
| Status | Meaning | What to do |
|---|---|---|
200 | Success. Returns JSON. | Parse the response. |
401 | Missing or invalid secret key. | Send Authorization: Bearer LOGO_DEV_SECRET_KEY. |
401 — missing secret key
Handling missing logos
By default, a request for a domain with no logo returns200 with a generated monogram, so images never break in your UI. To detect and handle missing logos yourself, request fallback=404:
Default — monogram fallback (200)
Opt into 404 for missing logos
Rate limits
Logo.dev enforces monthly request counts, not per-second or per-minute bursts — so there is no429 response in normal use. You’re emailed before any enforcement, and service continues while you sort it out. If logos stop loading, it’s almost always an authentication or implementation issue, not a rate limit. See rate limits for details.
FAQs
Why am I getting a 401?
Why am I getting a 401?
Your request is missing a token or using the wrong key. The image CDN needs a
publishable key as
?token=; the REST APIs need a secret key as
Authorization: Bearer. Check the API keys guide.Why does an unknown company still return an image?
Why does an unknown company still return an image?
By design. Missing logos return a
200 monogram so your UI never shows a
broken image. Add fallback=404 if you’d rather handle missing logos
yourself.Do you return a 429 when I hit a rate limit?
Do you return a 429 when I hit a rate limit?
No. Limits are monthly, and you’re notified by email before any action — there
are no burst limits. See rate limits.
My logos stopped loading — is it a rate limit?
My logos stopped loading — is it a rate limit?
Almost certainly not. Check your token and implementation first; we don’t cut
off service without emailing you.