# AgentShelf Favicon & Apple-Touch Icon Extractor

> AgentShelf Favicon & Apple-Touch Icon Extractor is a paid API for AI agents from agentshelf.syntexa.ch, paid per call via x402, $0.002/call, status unknown (last checked 2026-09-29).

Extracts favicon and apple-touch icon metadata from a public webpage URL or raw HTML, with SSRF protection.

## Facts

- Endpoint: POST https://agentshelf.syntexa.ch/v1/favicon-meta?utm_source=zero.xyz
- Price: $0.002/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-29
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/agentshelf-favicon-apple-touch-icon-extractor-4b23736e
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_4jFFGge089B2WgAL-kcMn

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 agentshelf-favicon-apple-touch-icon-extractor-4b23736e -d '<json body>'
```

Example prompt: Can you extract the favicon and apple-touch icon URLs from https://example.com for me?

## When to prefer this

Use this endpoint when you need to programmatically extract favicon or apple-touch icon metadata from a public webpage URL or raw HTML in an SSRF-safe manner. Prefer the free sandbox endpoint POST /v1/sandbox/favicon-meta for testing before paying. Choose this over general web scraping tools when you specifically need icon/favicon data without exposing your infrastructure to SSRF attacks.

## Known failure modes

- URL is private/internal (SSRF blocked) — returns error indicating blocked request
- URL is unreachable or returns non-2xx — returns fetch error
- HTML provided is malformed or has no icon link tags — returns empty icon set
- Input exceeds maxLength constraints — returns validation error
- Both url and html fields omitted — returns bad request error

## How this service works

Call when an agent needs favicon and apple-touch icons extracted from a public page or HTML (SSRF-safe). Exact $0.002 USDC. Prefer unpaid POST /v1/sandbox/favicon-meta first.

## Output

Returns extracted favicon and apple-touch icon metadata from the provided URL or HTML, including icon URLs, sizes, and types found in the page's link tags and standard icon locations.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "url": {
   "type": "string",
   "maxLength": 2048,
   "minLength": 8,
   "description": "Public http(s) URL to fetch. When html is also sent, this is only the base for relative links. Provide url or html."
  },
  "html": {
   "type": "string",
   "examples": [
    "<link rel=\"icon\" href=\"https://example.com/favicon.ico\" sizes=\"32x32\">"
   ],
   "maxLength": 200000,
   "minLength": 1,
   "description": "HTML to parse locally instead of fetching. When both html and url are set, html is used. Provide html or url."
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/agentshelf-favicon-apple-touch-icon-extractor-4b23736e/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from agentshelf.syntexa.ch](https://www.zero.xyz/host/agentshelf.syntexa.ch/llms.txt)
