microlink logo

Turn microlink.io into screenshots

Microlink API

Instant shareable content

Microlink API allows you embed API calls directly in your HTML, automagically refreshing snapshots every hour.
How to embed

Using HTML

<!-- Meta & SEO Tags  -->
<meta name="image" content="https://api.microlink.io?url=https%3A%2F%2Fmicrolink.io&screenshot=true&meta=false&embed=screenshot.url">
<meta itemprop="image" content="https://api.microlink.io?url=https%3A%2F%2Fmicrolink.io&screenshot=true&meta=false&embed=screenshot.url">
<meta property="og:image" content="https://api.microlink.io?url=https%3A%2F%2Fmicrolink.io&screenshot=true&meta=false&embed=screenshot.url">
<meta name="twitter:image" content="https://api.microlink.io?url=https%3A%2F%2Fmicrolink.io&screenshot=true&meta=false&embed=screenshot.url">

<!-- regular HTML Tags  -->
<img src="https://api.microlink.io?url=https%3A%2F%2Fmicrolink.io&screenshot=true&meta=false&embed=screenshot.url" />

Using CSS

.screenshot {
  background-image: url(https://api.microlink.io?url=https%3A%2F%2Fmicrolink.io&screenshot=true&meta=false&embed=screenshot.url);
}

Using markdown

![Screenshot](https://api.microlink.io?url=https%3A%2F%2Fmicrolink.io&screenshot=true&meta=false&embed=screenshot.url)

Features

Capabilities under the hood.

  • Background Refresh
    Stale revalidation, keeping things fresh and always up to date via ttl, reflecting any change on the target URL.
  • Embed Mode
    Enabling embed mode for consuming content directly from your HTML markup.
  • Delay
    Wait a quantity of time, selector or event to preload content before generate the document.
  • Overlay Composition
    Create truly overlay compositions combining browser skins and backgrounds.
  • Device Emulation
    Load any of our device presets to simulate different environment and scenarios.
  • Manipulate Elements
    Ability to hide, click or scroll to any element matching the given CSS Selector.
  • CSS/JS Injection
    Inject any CSS styles or JS code into the page.
  • Full Page
    Using fullPage for exporting the entire page as screenshot.
  • File Format
    Being PNG or JPEG file format supported by type.
  • Background Refresh
    Stale revalidation, keeping things fresh and always up to date via ttl, reflecting any change on the target URL.
  • Embed Mode
    Enabling embed mode for consuming content directly from your HTML markup.
  • Delay
    Wait a quantity of time, selector or event to preload content before generate the document.
  • Overlay Composition
    Create truly overlay compositions combining browser skins and backgrounds.
  • Device Emulation
    Load any of our device presets to simulate different environment and scenarios.
  • Manipulate Elements
    Ability to hide, click or scroll to any element matching the given CSS Selector.
  • CSS/JS Injection
    Inject any CSS styles or JS code into the page.
  • Full Page
    Using fullPage for exporting the entire page as screenshot.
  • File Format
    Being PNG or JPEG file format supported by type.

Microlink CLI

Powerful command-line interface

Microlink CLI enables third party integration for any software or platform from your friendly terminal.
Read Docs
microlink-api
npx microlink-api https://microlink.io?&screenshot&embed=screenshot.url
SUCCESS 57.9 kB in 2830.018ms
uri https://api.microlink.io?url=https://microlink.io&screenshot&embed=screenshot.url
cache HIT
prerender prerender (3654.865ms)