POST

Download site favicon as PNG from URL. Uses favicon-fetcher

/v1/url-favicon

Web · favicon-fetcher

Request → Response

Examples from schemas.json.

Requestapplication/json
POST /v1/url-favicon
Content-Type: application/json

{
  "url": "https://tools402.dev"
}
Responseapplication/json
HTTP/1.1 200 OK
Content-Type: application/json

// Endpoint-specific body after 402 settlement

Overview

Download site favicon as PNG from URL. Uses favicon-fetcher.

Request schema

Body: JSON · application/json

FieldTypeDescription
urlstringrequired
IMPLEMENTATION
curl -X POST https://api.tools402.dev/v1/url-favicon \
  -H "Content-Type: application/json" \
  -d '{
  "url": "https://tools402.dev"
}'

402 payment flow omitted — see Integrations for settlement.