Fetch a site's favicon/logo
agent402.tools/api/favicon-grab
Fetch a site's favicon/logo: reads the page's declared <link rel=icon…> tags (all variants with their sizes and types), deterministically picks the largest declared icon (falling back to /favicon.ico), fetches it, and returns the bytes as a base64 data URI plus the resolved icon URL and content.
POST
https://agent402.tools/api/favicon-grabUptime100% of 1 check in 30 days
30 days agoToday
Try it
Pays from your browser wallet in USDC on Base or USDG on Robinhood Chain, whichever the endpoint takes. The provider is paid directly; failed calls aren't refunded by Fourohtwo.
The response shows up here.
Call it from an agent
// npm install fourohtwo
import { createPayer } from "fourohtwo";
// One agent key pays USDC on Base or USDG on Robinhood Chain, inside your spending rules.
const pay = createPayer({ privateKey: process.env.AGENT_KEY, maxPerCallUsd: "0.05" });
const res = await pay("https://agent402.tools/api/favicon-grab", {
method: "POST",
headers: { "content-type": "application/json" },
body: JSON.stringify({"url":"https://agent402.tools"}),
});
console.log(await res.json());Example input
{
"url": "https://agent402.tools"
}Price changes
- Nov 25, 20260.001 → 0.003
- Nov 25, 20260.003 → 0.001
