SnapRender

Link preview and social card API

Link preview and social card image API

Every shared link deserves a picture. When a site's Open Graph image is missing, wrong or blank, SnapRender captures the page as a clean 1200 by 630 card, ready to show. For chat apps, social tools, feeds and aggregators that unfurl other people's links.

200 free previews a monthNo cardCached repeats are free

A shared link unfurled with a preview image in a chat

No more blank cards

You cannot control what other sites put in their meta tags, and often they put nothing. A capture of the page itself always has something to show.

  • A picture for every link

    Use the site's own image when it has one and a capture of the page when it does not. Your feed never shows a grey box.

  • Real content from JavaScript sites

    Single-page apps render in real Chrome before the capture, so the card shows the page people will see, not an empty shell.

  • The right shape, cleaned up

    A 1200 by 630 card, rendered at 2x for sharp screens, with cookie banners and ads removed, in JPEG or WebP. Cached, so popular links cost one render.

The fallback, in two calls

Respect the site's own image when it has one. Capture the page when it does not.

  1. Read the page's tags

    /v1/extract with type=metadata returns the title, description and the Open Graph and Twitter tags of the rendered page.

  2. Use ogImage if it is there

    Show the site's own image and you are done. No render is spent on a capture.

  3. Otherwise, capture a card

    A 1200 by 630 screenshot with cache=true, so the next person to share that link gets it from cache, free.

curl "https://app.snap-render.com/v1/extract?url=https://example.com&type=metadata" \
  -H "X-API-Key: sk_live_your_key_here"

{
  "type": "metadata",
  "content": {
    "title": "Example Domain",
    "ogTitle": null,
    "ogImage": null,
    "twitterImage": null,
    ...
  }
}

Full reference: extraction and screenshots in the docs.

Simple pricing for link previews

Start with 200 free previews a month. A cached preview served again does not count.

PlanPricePreviews a monthCaptures a minuteCache up to
Free$0200101 day
Starter$92,000307 days
Growth$2910,0006030 days
Business$7950,00012030 days
Scale$199200,00020030 days

Metadata reads and captures both count as one render. Every plan has every feature. All plans and yearly prices.

See a preview of your link

Paste a URL and get the capture with the API call that made it. No sign-up.

Want to see how a link unfurls on X, LinkedIn and Slack? The OG image checker shows all of them.

Try it on your URL

Live capture, no signup. You get the screenshot and the exact API call that produced it.

Questions

How do I get a preview image when a page has no Open Graph image?

Capture the page at 1200 by 630 pixels, the standard Open Graph size: width=1200&height=630. SnapRender renders it in real Chrome with cookie banners and ads removed, and the result works as a card image anywhere.

How can I tell whether a page already has an OG image?

Call /v1/extract with type=metadata. You get the title, description, canonical URL and the Open Graph and Twitter tags, including ogImage. Use the site's own image when it exists and a capture when it does not. To check a single link by hand, use the free OG image checker.

What size should social card images be?

1200 by 630 pixels suits X, Facebook, LinkedIn, Slack and most chat apps. Set the viewport to exactly that size and every card comes out the same shape.

Does it work on JavaScript single-page apps?

Yes. Pages render in a full Chrome browser, so React, Vue, Angular and Next.js sites show their real content. That fixes the common case where a scraper reads the raw HTML and finds an empty page.

How does caching work for previews?

Add cache=true and the same preview is served from cache for cache_ttl seconds: up to 1 day on Free, 7 days on Starter and 30 days on Growth and above. Cached previews return in under 200 ms and do not count against your quota.

Can I generate my own OG images?

Yes. POST your own HTML card template with width 1200 and height 630 and get a PNG, JPEG or WebP back. Try it with the free HTML to PNG tool.

Generate perfect link previews in 5 minutes

Sign up, get your API key and start filling in missing preview images. No credit card.