Features
- Fetches HTML content from URLs with configurable timeout
- Extracts Open Graph metadata (title, description, image)
- Falls back to standard HTML meta tags if OG tags aren't available
- Decodes HTML entities in text content
- Supports custom user agents
- Validates URLs to block SSRF (private IPs, localhost, non-HTTPS)
- Optional domain allowlist via allowedDomains
- Requires Node.js runtime (uses DNS resolution for hostname validation)
Basic usage
With options
Response format
API Reference
Error handling
- 400: Missing URL parameter or URL failed validation (blocked domain, private IP, etc.)
- 500: Failed to fetch or parse the URL