Always renders something
No logo yet means a tidy monogram, not a broken image.
The logo API turns a domain into a logo. Put one URL in an image tag and it renders the company's icon or wordmark, right for light or dark, with a monogram when no logo exists. Images served this way do not use credits: every paid plan includes 200K to 25M a month.
<img
src="https://img.hydrafetch.com/logo/stripe.com?token=pk_…"
alt="Stripe"
width="64"
height="64"
/>
{
"domain": "stripe.com",
"name": "Stripe",
"logoUrl": null,
"iconUrl": "https://media.hydrafetch.com/brand/71/719225772b5a619f2c9e.svg"
}
<img
src="https://img.hydrafetch.com/logo/notion.com?token=pk_…"
alt="Notion"
width="64"
height="64"
/>
{
"domain": "notion.com",
"name": "Notion",
"logoUrl": null,
"iconUrl": "https://media.hydrafetch.com/brand/ea/ea3a2bee3df858385ec9.webp"
}<img
src="https://img.hydrafetch.com/logo/figma.com?token=pk_…"
alt="Figma"
width="64"
height="64"
/>
{
"domain": "figma.com",
"name": "Figma",
"logoUrl": null,
"iconUrl": "https://media.hydrafetch.com/brand/03/03a49276cdf5938bdcdb.svg"
}01Options
<img
src="https://img.hydrafetch.com/logo/stripe.com?token=pk_live_…&size=128&theme=dark"
alt="Stripe"
/>{
"domain": "stripe.com",
"name": "Stripe",
"logoUrl": null,
"iconUrl": "https://media.hydrafetch.com/brand/71/719225772b5a619f2c9e.svg"
}02Handled
No logo yet means a tidy monogram, not a broken image.
The version that reads on your background is the one you get.
It works on logo images and nowhere else, only from your sites.
One image tag per row. No lookups to run first.
03Connect
For agents
One MCP server. Every endpoint is a tool.
Add Hydrafetch from your terminal.
claude mcp add --scope user --transport http hydrafetch https://api.hydrafetch.com/mcpStart Claude Code, run /mcp, choose hydrafetch and then Authenticate. Your browser opens: sign in, pick a workspace and approve.
Open Hydrafetch in Claude's connector directory and choose Connect.
Open in ClaudeSign in to Hydrafetch and approve in the window that opens.
Open Hydrafetch in ChatGPT's apps and choose Connect.
Open in ChatGPTSign in to Hydrafetch and approve.
Add Hydrafetch to ~/.cursor/mcp.json. Create the file if it does not exist.
{
"mcpServers": {
"hydrafetch": { "url": "https://api.hydrafetch.com/mcp" }
}
}Open Cursor Settings, then MCP. Hydrafetch asks you to sign in: choose Connect and approve in your browser.
Add Hydrafetch to .vscode/mcp.json in your workspace.
{
"servers": {
"hydrafetch": { "type": "http", "url": "https://api.hydrafetch.com/mcp" }
}
}Choose Start above the server in that file, then sign in and approve when VS Code asks.
Add Hydrafetch from your terminal.
codex mcp add hydrafetch --url https://api.hydrafetch.com/mcpStart Codex. The first time it uses Hydrafetch, your browser opens to sign in.
Add Hydrafetch from your terminal.
gemini mcp add hydrafetch --url https://api.hydrafetch.com/mcp --scope userStart Gemini CLI. The first time it uses Hydrafetch, your browser opens to sign in.
Open the MCP Servers panel and choose Configure to open the settings file.
Add Hydrafetch to it. Replace hf_your_key with a key from the API keys page.
{
"mcpServers": {
"hydrafetch": {
"type": "streamableHttp",
"url": "https://api.hydrafetch.com/mcp",
"headers": { "Authorization": "Bearer hf_your_key" },
"disabled": false,
"autoApprove": []
}
}
}Add Hydrafetch to your global OpenCode config.
{
"$schema": "https://opencode.ai/config.json",
"mcp": {
"hydrafetch": { "type": "remote", "url": "https://api.hydrafetch.com/mcp", "enabled": true }
}
}Start OpenCode. It sees that Hydrafetch needs a sign-in and opens your browser.
For your code
An official client in 6 languages, or plain HTTP.
curl "https://api.hydrafetch.com/v1/web/brand/logo?domain=stripe.com" \
-H "X-API-Key: $HYDRAFETCH_API_KEY"import { Hydrafetch } from "@hydrafetch/node-sdk";
const hf = new Hydrafetch(process.env.HYDRAFETCH_API_KEY);
const logo = await hf.logo("stripe.com");
console.log(logo.iconUrl);from hydrafetch import Hydrafetch
hf = Hydrafetch()
logo = hf.logo("stripe.com")
print(logo["iconUrl"])Working in a coding agent? Hand it this.
04Price
05Questions
Put the logo address in an image tag with the domain and your publishable key. The image is the company logo, and you do not need to call anything first.
Logo images do not use credits. Every paid plan includes a monthly allowance, from 200K to 25M images, and a fallback image is never counted. Looking a logo up from your own code costs 1 credit, and nothing when none is found.
You choose: a monogram with the first letter, a transparent image of the same size, or a 404 your code can handle.
Yes. A publishable key only works on logo images, and you can lock it to the sites you run so it is no use anywhere else.
The brand API returns the whole profile for a domain: name, logo files, colours, fonts, industry and social profiles.