Favicon API: Website icons, found and checked

The sharpest icon a domain declares, checked as a real image and returned as one file to download, with its format and size.

  • Home page, web app manifest and default paths checked
  • Largest raster icon first, its real format and size
  • A domain with no icon is a free 404

1 credit per call, $0.001 at the base rate. 100 free credits to start.

vercel.com

Its icon at tab, list and tile sizes

PNG
16px
32px
64px
128px
16px
32px
64px
128px
Pixels
512×512
Size
3 KB
Found in
Web app manifest
Real response, captured 20 Nov 2026200 OK

What is the Favicon API?

The Favicon API returns the best icon a domain declares: it reads the home page and its web app manifest, tries the declared icons largest first and then the conventional paths, and keeps the first file that is a real image. The icon is copied to TabAPI storage and returned as a temporary URL, valid for at least 24 hours, with its format, pixel size and source, for one credit.

  • Reviewed 20 Nov 2026
  • Examples are real API responses

At a glance

Endpoint
GET /domains/{domain}/favicon
Authentication
Bearer API key
Price
1 credit · $0.001
Free to start
100 credits on sign-up
Response
JSON, no envelope
image formats: PNG, ICO, GIF, JPEG, WebP, SVG
6
minimum life of every icon.url
24 h
credits when a domain has no icon
0

How the Favicon API works

  1. 1

    Send a hostname

    GET /domains/{domain}/favicon; its home page is read as a browser reads it, redirects followed.

  2. 2

    Icons are tried

    <link> icons and manifest icons by declared size, then /apple-touch-icon.png and /favicon.ico; a public favicon service is the last resort.

  3. 3

    One hosted image back

    icon.url with its format, width, height and size_bytes, plus every icon the site declares.

Favicon API use cases

What teams build with the Favicon API, and the behaviour you can write code against.

What you can build

  • Logos in directories and CRMs

    Put a recognizable icon beside every company, tool or link in a list, from the domain alone: fetch it once, store it, and nobody has to upload one.

  • Link previews and bookmarks

    Save the site’s own icon with a bookmarked or shared link, instead of hotlinking a favicon that may block you or move.

  • Brand checks at scale

    Read which icons a site declares, in which sizes, and whether it serves a large touch icon at all.

What you can count on

  • The sharpest icon, not the first

    Declared sizes are compared and the largest raster icon wins: a 512 px manifest icon over a 16 px favicon.ico.

  • A copy, not a hotlink

    The icon is copied to TabAPI storage for at least 24 hours, so you download it from one place, free of hotlink blocks and redirects, and keep it yourself.

  • Checked as an image

    Every file is read for its real format and pixel size; error pages served as icons, and SVGs with script, are skipped.

  • No icon, no charge

    When neither the site nor the fallback has one, the answer is a free 404 not_found.

Favicon API examples

Signed out, real responses captured from the API. Signed in, a live request on your own key, metered like any other call.

Open in the playground

Showing real example responses. Sign in to run live requests; new accounts start with 100 free credits.

GET/api/v1/domains/vercel.com/favicon
200 OK1 creditExampleExample response
Rendered

Example response: real capture, 20 Nov 2026; the icon is a stored copy.

vercel.com
Declared in the web app manifest
PNG 512×512

Icon

As it will be used
Full size
16px
32px
64px
128px
16px
32px
64px
128px

File

Pixels
512×512
Format
PNG
Size
3 KB

Hosted at a temporary files.tabapi.com URL for at least 24 hours. Save your own copy to keep it longer.

Source

Found in
Web app manifest
Page read
vercel.com

Declared by the site

13
RelSizesURL
icon shortcut—assets.vercel.com/image/upload/q_auto/front/favicon/vercel/favi…
apple-touch-icon57x57assets.vercel.com/image/upload/q_auto/front/favicon/vercel/appl…
apple-touch-icon60x60assets.vercel.com/image/upload/q_auto/front/favicon/vercel/appl…
apple-touch-icon72x72assets.vercel.com/image/upload/q_auto/front/favicon/vercel/appl…
apple-touch-icon76x76assets.vercel.com/image/upload/q_auto/front/favicon/vercel/appl…
JSONapplication/json
{  "domain": "vercel.com",  "site_url": "https://vercel.com/",  "icon": {    "url": "/samples/favicon-vercel-com.png",    "format": "png",    "mime_type": "image/png",    "width": 512,    "height": 512,    "size_bytes": 2612  },  "source": {    "type": "manifest",    "url": "https://py8fhxnkzwtsqdo9.public.blob.vercel-storage.com/front/favicon/vercel/android-chrome-512x512.png"  },  "declared_icons": [    {      "url": "https://assets.vercel.com/image/upload/q_auto/front/favicon/vercel/favicon.ico",      "rel": "icon shortcut",      "sizes": null,      "type": "image/x-icon"    },    {      "url": "https://assets.vercel.com/image/upload/q_auto/front/favicon/vercel/apple-touch-icon-57x57.png",      "rel": "apple-touch-icon",      "sizes": "57x57",      "type": null    },    {      "url": "https://assets.vercel.com/image/upload/q_auto/front/favicon/vercel/apple-touch-icon-60x60.png",      "rel": "apple-touch-icon",      "sizes": "60x60",      "type": null    },    {      "url": "https://assets.vercel.com/image/upload/q_auto/front/favicon/vercel/apple-touch-icon-72x72.png",      "rel": "apple-touch-icon",      "sizes": "72x72",      "type": null    },    {      "url": "https://assets.vercel.com/image/upload/q_auto/front/favicon/vercel/apple-touch-icon-76x76.png",      "rel": "apple-touch-icon",      "sizes": "76x76",      "type": null    },    {      "url": "https://assets.vercel.com/image/upload/q_auto/front/favicon/vercel/apple-touch-icon-114x114.png",      "rel": "apple-touch-icon",      "sizes": "114x114",      "type": null    },    {      "url": "https://assets.vercel.com/image/upload/q_auto/front/favicon/vercel/apple-touch-icon-120x120.png",      "rel": "apple-touch-icon",      "sizes": "120x120",      "type": null    },    {      "url": "https://assets.vercel.com/image/upload/q_auto/front/favicon/vercel/apple-touch-icon-144x144.png",      "rel": "apple-touch-icon",      "sizes": "144x144",      "type": null    },    {      "url": "https://assets.vercel.com/image/upload/q_auto/front/favicon/vercel/apple-touch-icon-152x152.png",      "rel": "apple-touch-icon",      "sizes": "152x152",      "type": null    },    {      "url": "https://assets.vercel.com/image/upload/q_auto/front/favicon/vercel/apple-touch-icon-180x180.png",      "rel": "apple-touch-icon",      "sizes": "180x180",      "type": null    },    {      "url": "https://assets.vercel.com/image/upload/q_auto/front/favicon/vercel/apple-touch-icon-256x256.png",      "rel": "apple-touch-icon",      "sizes": "256x256",      "type": null    },    {      "url": "https://py8fhxnkzwtsqdo9.public.blob.vercel-storage.com/front/favicon/vercel/android-chrome-192x192.png",      "rel": "manifest",      "sizes": "192x192",      "type": "image/png"    },    {      "url": "https://py8fhxnkzwtsqdo9.public.blob.vercel-storage.com/front/favicon/vercel/android-chrome-512x512.png",      "rel": "manifest",      "sizes": "512x512",      "type": "image/png"    }  ]}

Favicon API reference

The same contract as the API reference: parameters, response fields, and the request in five languages.

GET/api/v1/domains/{domain}/favicon
Run in playground

Parameters

  • domainstringin pathRequired

    Domain or hostname, not a URL. Normalized to lowercase punycode; the home page of the hostname as given is read, and its redirects are followed.

    Example vercel.com

Response

  • domainstring

    The hostname, normalized.

  • site_urlstring | null

    The home page that was read, after redirects; null when it could not be reached.

  • iconobject
  • sourceobject
  • declared_iconsobject

Errors: invalid_domain (400), insufficient_credits (402), not_found (404, no icon anywhere; free), internal_error (500), upstream_error (502). See error codes.

curl "https://tabapi.com/api/v1/domains/vercel.com/favicon" \
  -H "Authorization: Bearer sk_live_..."
Response200 · application/json
{
  "domain": "vercel.com",
  "site_url": "https://vercel.com/",
  "icon": {
    "url": "https://files.tabapi.com/favicon/v1/b676cf806fb9e93c8281f3eb6e8c640c8d9976634e03abe1a3daaceaeced694d.png",
    "format": "png",
    "mime_type": "image/png",
    "width": 512,
    "height": 512,
    "size_bytes": 2612
  },
  "source": {
    "type": "manifest",
    "url": "https://py8fhxnkzwtsqdo9.public.blob.vercel-storage.com/front/favicon/vercel/android-chrome-512x512.png"
  },
  "declared_icons": [
    {
      "url": "https://assets.vercel.com/image/upload/q_auto/front/favicon/vercel/favicon.ico",
      "rel": "icon shortcut",
      "sizes": null,
      "type": "image/x-icon"
    },
    {
      "url": "https://py8fhxnkzwtsqdo9.public.blob.vercel-storage.com/front/favicon/vercel/android-chrome-512x512.png",
      "rel": "manifest",
      "sizes": "512x512",
      "type": "image/png"
    }
  ]
}

Favicon API pricing

Buy credits once, from $10: $1 buys 1,000 credits, every endpoint draws on the same balance, and credits never expire.

All pricing
Per call
1 credit
$0.001 at the base rate.
Volume bonus
Up to +10%
More credits on bigger packs: +2% from $200, +5% from $500, +10% from $1,000.
Free to start
100 credits
On sign-up, no card required: 100 calls.
Failed calls
0 credits
Errors are never charged.

Use Favicon API from your agent

Your agent can call it as the getFavicon tool on the TabAPI MCP server, or over HTTP with the agent skill. Same key, same price: 1 credit per call.

Favicon API FAQ

Short answers. The docs have the long ones.

Still have a question?

Email us and we will help you get the first call working.

support@tabapi.com

Get a free Favicon API key

Create a key, send one header, get JSON back.

curl "https://tabapi.com/api/v1/domains/vercel.com/favicon" -H "Authorization: Bearer $TABAPI_KEY"