Link previews are the difference between "click here" and a beautiful card with title, description, and thumbnail that makes people actually click. denkbot.dog gives you both the metadata and the screenshot to build whatever preview component you need.
Building link preview cards in chat apps, rich URL bookmarking features, browser history enrichment, and any UI feature that shows what a URL looks like before you click.
// Fetch both metadata and screenshot in parallel
const [metaRes, shotRes] = await Promise.all([
fetch('https://api.denkbot.dog/scrape', {
method: 'POST',
headers: { 'Authorization': 'Bearer YOUR_API_KEY', 'Content-Type': 'application/json' },
body: JSON.stringify({ url: 'https://example.com' }),
}),
fetch('https://api.denkbot.dog/screenshot', {
method: 'POST',
headers: { 'Authorization': 'Bearer YOUR_API_KEY', 'Content-Type': 'application/json' },
body: JSON.stringify({ url: 'https://example.com', width: 640, height: 400 }),
}),
])
const meta = await metaRes.json()
const screenshot = await shotRes.arrayBuffer()Yes, exactly. Fetch the URL metadata and screenshot, cache them, display as a link card.
The response is raw PNG bytes. Upload them to S3, Cloudflare R2, Vercel Blob, wherever.
Absolutely. We cache on our end for 15 minutes, but you should cache results longer in your application.

€19/year. Unlimited requests. API key ready in 30 seconds.