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

The kind of data this API exposes, based on its documentation. We could not call the endpoint to confirm the exact field names.

Clearbit Logo data via REST API

Example Response

Illustrative shape only — we were not able to call this endpoint (it requires credentials or exposes no public sample URL), so the fields below show the kind of data this API returns rather than a recorded response.

JSON Response · Illustrative
{
  "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

Calls a real endpoint of this API. Replace any placeholder credentials with your own key.

Request
const url = "https://logo.clearbit.com/github.com?size=128";
// 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

Generated guidance based on this API's documentation, not observed by us. Treat it as a starting point and check against the provider's own error reference.

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.

Metadata Score Breakdown

Estimated from metadata — endpoint not independently tested

This score is estimated from observable metadata — HTTPS support, authentication model, declared CORS, and documentation reachability — because the API requires authentication or exposes no publicly testable endpoint. The five-signal breakdown is only shown for live-tested APIs.

Metadata estimate · endpoint not independently tested

Technical Specifications

Auth API Key
HTTPS REQUIRED
CORS UNKNOWN
Category Business
Difficulty Intermediate
Listing details not endpoint-verified

Similar APIs

View All →