How it works

Get a logo from a domain

Send a domain (or URL) to Fivicon’s Discover endpoint and receive a normalized list of logo assets you can render immediately.

Step-by-step

  1. Choose the input you have: a domain like fivicon.com or a URL like https://fivicon.com.
  2. POST to /api/v1/discover with a JSON body.
  3. Parse logos[] and pick a variant by type and quality fields (score, score_details, width, height).

Example request

$ curl -sS "https://api.fivicon.com/api/v1/discover" \
  -H "Content-Type: application/json" \
  -d '{"domain":"fivicon.com"}'

Example response

{
  "domain": "fivicon.com",
  "logos": [
    {
      "type": "primary",
      "url": "https://cdn.fivicon.com/fivicon/primary.svg",
      "width": 512,
      "height": 512,
      "format": "svg",
      "score": 94,
      "score_details": {
        "format_points": 35,
        "resolution_points": 30,
        "asset_type_points": 20,
        "file_size_points": 15,
        "penalty_points": 0
      }
    },
    {
      "type": "icon",
      "url": "https://cdn.fivicon.com/fivicon/icon.svg",
      "width": 128,
      "height": 128,
      "score": 91
    }
  ]
}

FAQ

Do I need to scrape websites to get a logo?

No. You send a domain to Fivicon and receive normalized asset URLs.

What if the company has multiple logo files?

The API returns a catalog-style list of variants. Pick the variant that matches your UI and quality requirements.

Do you return favicon information too?

Yes. Favicon is returned as one of the normalized asset types (along with other higher-quality variants when available).