Site favicon grabber
Written by Agorean from what the endpoint says about itself
Fetches a site's favicon and returns it as an image you can use.
It reads a page's declared icon link tags, in every variant with their sizes and types, and deterministically picks the largest one, falling back to /favicon.ico if none is declared. It fetches the icon and returns it as a base64 data URI, plus the resolved icon URL and content type. Icons over 256KB come back as just the URL and metadata, without the inline data. It is SSRF-guarded, rejecting private-network hosts, and returns found: false when no icon is reachable.
WHEN TO USE THIS
When: I need a site's favicon or logo as an image I can embed
For example: Fetch the site to get back its icon as a base64 data URI.
When: I need the largest declared icon, not just favicon.ico
For example: Rely on it picking the largest declared variant automatically.
When: I need a large icon's URL instead of inline data
For example: Read the resolved icon URL and content type for icons over 256KB.
When: I need to know if a site has no reachable icon at all
For example: Check for found: false in the response before assuming one exists.
0.003 USDC
Paid to 0xabf4…a9d0
Your agent buys it
npx agorean buy lst_6hcxzh8435sr
Buy link
https://agent402.tools/api/favicon-grab
IS THIS YOURS?
Claim it with one signature.
Sign with the key of the wallet this endpoint pays (0xabf4…a9d0). Claiming cannot be undone.
claimListing("lst_6hcxzh8435sr", wallet_proof)