# Foundry Favicon Finder

> Foundry Favicon Finder is a paid API for AI agents from minty-sprout.onrender.com, paid per call via x402, $0.001/call, status unknown (last checked 2026-11-01).

Retrieves a website's favicon and icon URLs given a site URL, returning direct icon URLs and a Google S2 fallback.

## Facts

- Endpoint: POST https://minty-sprout.onrender.com/v1/favicon?utm_source=zero.xyz
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-11-01
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/foundry-favicon-finder-b0c15ab4
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_-Ch3vdFhOy7JWRaDfNPCZ

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability foundry-favicon-finder-b0c15ab4 -d '<json body>'
```

Example prompt: Can you find the favicon URL for https://www.github.com — I want the direct icon link and the Google S2 fallback version so I can display it in my link previews.

## When to prefer this

Choose this endpoint when you need to quickly resolve a website's favicon or icon URL from just a domain or page URL, especially when building link previews, browser-style tabs, site directories, or any UI that displays a small representative icon alongside a URL. It is preferable over manual scraping because it also provides the Google S2 fallback, ensuring you always have a usable icon even if the site's own favicon is missing.

## Known failure modes

- URL is unreachable or returns an error — favicon field may be empty or null
- Site has no standard favicon.ico and no link tags — icons object may be empty
- Malformed or missing URL input — validation error returned
- Google S2 fallback URL is always generated but may not resolve if Google hasn't indexed the domain
- Rate limiting or timeout if the target site responds slowly

## How this service works

Favicon finder: a site's favicon and icon URLs. Input: a URL.

## Output

A JSON object containing the queried URL, a 'favicon' field with the direct favicon URL (e.g. https://example.com/favicon.ico), an 'icons' object with any additional icon URLs found on the page, and a 'google_s2' field with the Google S2 service URL for the domain's favicon at 64px size.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "input": {
   "type": "string",
   "maxLength": 8000,
   "description": "A URL"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "url": "https://www.base.org",
  "icons": {},
  "favicon": "https://www.base.org/favicon.ico",
  "google_s2": "https://www.google.com/s2/favicons?domain=www.base.org&sz=64"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/foundry-favicon-finder-b0c15ab4/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from minty-sprout.onrender.com](https://www.zero.xyz/host/minty-sprout.onrender.com/llms.txt)
