Documentation

Everything you need to use the Looklink API and get the most out of it.

Making your pages previewable

Looklink reads Open Graph meta tags from the page's <head>. Add these tags and any link preview tool — not just Looklink — will pick them up.

Minimal <head>
<meta property="og:title"       content="Your page title" />
<meta property="og:description" content="A sentence or two about this page." />
<meta property="og:image"       content="https://yoursite.com/og-image.png" />
<meta property="og:url"         content="https://yoursite.com/this-page" />
<meta property="og:site_name"   content="Your Site" />
Tag Required What it does
og:titleYesThe headline shown in the preview card.
og:descriptionRecommendedSupporting text beneath the title. Keep it under 150 characters.
og:imageRecommendedThumbnail image. Must be an absolute URL. 1200×630 px, PNG or JPG.
og:urlRecommendedCanonical URL of the page. Prevents duplicates when the same content is accessible at multiple URLs.
og:site_nameOptionalThe name of your site, shown separately from the page title.

Fallback behaviour

If Open Graph tags are absent, Looklink falls back to the page's <title> tag and <meta name="description">. You will still get a usable preview — just without a thumbnail.

Framework examples

SvelteKit

<svelte:head>
  <title>Your Page Title</title>
  <meta property="og:title"       content="Your Page Title" />
  <meta property="og:description" content="What this page is about." />
  <meta property="og:image"       content="https://yoursite.com/og-image.png" />
  <meta property="og:url"         content="https://yoursite.com/this-page" />
</svelte:head>

Next.js (App Router)

export const metadata = {
  title: 'Your Page Title',
  description: 'What this page is about.',
  openGraph: {
    title: 'Your Page Title',
    description: 'What this page is about.',
    images: ['https://yoursite.com/og-image.png'],
    url: 'https://yoursite.com/this-page',
    siteName: 'Your Site',
  },
}

More documentation — API reference, authentication, rate limits — is on its way.