API Documentation

Server-side endpoints for URL and favicon extraction.

All API endpoints are rate-limited to 60 requests per minute per IP.

POST /api/extract-url

Extract image URLs from a webpage.

POST /api/extract-url
Content-Type: application/json

{
  "url": "https://example.com",
  "options": {
    "cssBackgrounds": true,
    "svgs": true
  }
}

POST /api/extract-favicon

Discover favicon URLs for a domain.

POST /api/extract-favicon
Content-Type: application/json

{ "url": "https://example.com" }

GET /api/proxy-image

Proxy an image download through the server (same-origin referer required).

GET /api/proxy-image?url=https%3A%2F%2Fexample.com%2Fimage.png