fakelogo.com API Documentation

Complete documentation for the free fakelogo.com JSON API. Fetch random fictional company logos, generate custom logos, and embed them directly. No auth, no rate limits, CORS enabled.

Base URL

https://fakelogo.com

All API endpoints are relative to this base URL. The API is completely free to use and requires no authentication or API keys. Cross-Origin Resource Sharing (CORS) is enabled for all endpoints, so you can make requests directly from your frontend JavaScript code.

Endpoints

🎲
Random Logo
Returns a single random fictional company logo.
GET /api/random
📚
Multiple Random
Returns an array of up to 20 random logos.
GET /api/random?count=6
📸
All Logos
Returns the complete manifest of all 200 logos.
GET /api/all
🎨
Custom Generator
Generates a PNG logo for any brand name.
GET /api/generate?name=Acme

Response Format

The /api/random and /api/all endpoints return JSON objects representing fictional companies. Each object contains the company ID, name, direct image URL, and a link to the fake company landing page.

Single Object (/api/random)

{
  "id": 42,
  "name": "Veloxity",
  "image_url": "/image/veloxity.png",
  "company_url": "https://fakelogo.com/company/veloxity"
}

Array (/api/random?count=2)

[
  {
    "id": 42,
    "name": "Veloxity",
    "image_url": "/image/veloxity.png",
    "company_url": "https://fakelogo.com/company/veloxity"
  },
  {
    "id": 117,
    "name": "Pulsarix",
    "image_url": "/image/pulsarix.png",
    "company_url": "https://fakelogo.com/company/pulsarix"
  }
]

Custom Logo Generator

The /api/generate endpoint allows you to create a logo for any custom brand name up to 40 characters. Unlike the JSON endpoints, this endpoint returns the raw PNG image data directly (Content-Type: image/png).

The font is deterministically chosen based on the name provided, so the same name will always produce the exact same logo design.

Example Usage

You can use this endpoint directly in an <img> tag:

<img src="/generate?name=Acme%20Corp" height="24">

Direct Image Embeds

If you don't want to use the JSON API, you can embed the pre-generated logos directly using their permanent URLs. There are 200 logos available, numbered 1 through 200.

<img src="https://fakelogo.com/logo/1.png" height="24">
<img src="https://fakelogo.com/logo/2.png" height="24">
<img src="https://fakelogo.com/logo/3.png" height="24">

Code Examples

JavaScript (Fetch)

fetch('/random?count=6')
  .then(response => response.json())
  .then(logos => {
    const container = document.getElementById('logo-wall');
    logos.forEach(logo => {
      const img = document.createElement('img');
      img.src = logo.image_url;
      img.alt = logo.name;
      container.appendChild(img);
    });
  });

Python (Requests)

import requests

response = requests.get('/random?count=6')
logos = response.json()

for logo in logos:
    print(f"Company: {logo['name']}")
    print(f"Image: {logo['image_url']}")
    print(f"Website: {logo['company_url']}")
    print("---")

AI Agent Instructions

If you are building with an AI coding agent (like Cursor, Claude, or GitHub Copilot), you can point it to our plain-text instructions endpoint. This endpoint provides the agent with the exact context, endpoints, and CSS styling required to implement a logo wall in your project.

GET /agentinstructions

Prompt your AI agent:

Read the API instructions at /agentinstructions and implement a "trusted by" logo wall using 6 random logos.

Frequently Asked Questions

Common questions about API Documentation.

Do I need an API key to use fakelogo.com?
No, the fakelogo.com API is completely free and requires no authentication or API keys. There are no rate limits.
Is CORS enabled on the API?
Yes, CORS is enabled for all endpoints, meaning you can make requests directly from your frontend JavaScript code without running into cross-origin errors.
Can I hotlink the images directly?
While direct image URLs are provided, it is highly recommended to download the images and serve them locally from your own project for production environments to ensure the best performance and reliability.

Last updated:

Keep Reading