Clearbit Logo API

⭐ Beginner's Pick Business / API Key Intermediate HTTPS
Varies by plan (check documentation)

Overview

Clearbit Logo returns a company logo image by domain name — no scraping required. Useful for enriching B2B apps with branded visuals instantly.

💡

Beginner Tip

Just pass the company domain as a URL path segment: https://logo.clearbit.com/apple.com. It returns the image directly so you can use it in an img tag without any JSON parsing.

Available Data

Clearbit Logo data via REST API
JSON-formatted response data
Requires API key authentication

Example Response

JSON Response
{
  "status": "success",
  "data": {
    "result": "Data from Clearbit Logo",
    "description": "Search for company logos and embed them in your projects",
    "timestamp": "2025-01-15T10:00:00Z"
  }
}

Field Reference

(binary image) The response body is the logo image itself (PNG), not JSON. Use it directly as an image source.
size query param Requested pixel size for the square logo (e.g. 64, 128, 512). Defaults to 128.
format query param Image format to return: png (default) or jpg.
Content-Type header Response header confirming the image MIME type (image/png or image/jpeg).

Implementation Example

// ⚠️ Note: This URL may be a documentation page. Check official docs for actual API endpoint.
const url = "https://clearbit.com/docs";
// Replace headers or query params with the values required by this API.
const response = await fetch(url, {
  headers: {
  "X-API-Key": "YOUR_API_KEY"
  }
});
if (!response.ok) throw new Error(`Request failed: ${response.status}`);
const data = await response.json();
console.log(data);

What Can You Build?

Note: These code examples are AI-generated and unverified. Always refer to the official API documentation for accurate usage.

Common Errors & Troubleshooting

404 Not Found Clearbit has no logo on file for that domain
Fall back to a generic placeholder image. Clearbit covers most major companies but not every small business.
Image returns a grey placeholder The domain is recognized but no high-quality logo is available
Add a size parameter like ?size=128 — smaller sizes sometimes resolve correctly when large ones fail.
401 Unauthorized Missing API key for authenticated endpoints
The basic logo endpoint is free and keyless; only advanced Enrichment endpoints require a key.

Matrix Score Breakdown

🌐 Reachability 30/30
⚡ Speed 10/20
🔒 Security 15/15
🛠 Developer XP 12/20
✓ Reliability 10/15

Partially tested on Apr 5, 2026

Technical Specifications

Auth API Key
HTTPS REQUIRED
CORS UNKNOWN
Category Business
Difficulty Intermediate
Verified: 2026-04-07

Similar APIs

View All →