FForgeKit

Link Preview API

Fetch Open Graph and meta tags from any URL.

TL;DR: 0.5 credits per preview. Returns title, description, image, and favicon.

Endpoint: POST /api/v1/link-preview

Overview

Build rich link previews for chat apps, bookmark managers, and social feeds.

Security

Built-in SSRF protection blocks internal network requests.

Code examples

Node.js

await fetch("https://useforgekit.dev/api/v1/link-preview", { method: "POST", headers: { Authorization: "Bearer fk_live_..." }, body: JSON.stringify({ url: "https://example.com" }) });

Python

requests.post("https://useforgekit.dev/api/v1/link-preview", json={"url": "https://example.com"}, headers={"Authorization": "Bearer fk_live_..."})

cURL

curl -X POST https://useforgekit.dev/api/v1/link-preview -d '{"url":"https://example.com"}' -H "Authorization: Bearer fk_live_..."

Pricing

250 free credits/month. Paid plans from $19/mo. View pricing.

FAQ

What metadata is returned?

Title, description, OG image, favicon, and canonical URL.

SSRF protection?

Yes — private IP ranges and localhost are blocked.