← Back to Discover

Screenshotline

Screenshotline is a screenshot API that returns a captured web page as a binary image from a single GET request.

Browser automation

What it does

A GET request to /take with a url parameter returns the captured page as a binary image response. Screenshotline says the response has no JSON envelope, so the URL works directly inside an img src attribute. The url must be http or https. Private and reserved addresses are refused. Parameters control output format, capture area, viewport, ad and banner blocking, delay, wait condition and caching. The access key is sent as the access_key parameter or in the X-Access-Key header. Browser-visible URLs require a signature, which is an HMAC of the sorted query. A separate /extract endpoint returns the same rendered page as Markdown, with JavaScript executed, banners dismissed and lazy images loaded. An MCP server lets agents call it directly.

Capabilities

  • Output formats are png (the default), jpeg, webp and pdf.
  • The full_page parameter captures the whole document and scrolls first so lazy images load.
  • The selector parameter captures one element instead of the viewport.
  • Screenshotline installs an observer before any page script runs to remove cookie banners, and it collapses empty ad slots.
  • Blank captures are detected with two independent signals and reported in a header.

When to use it

  • You want to show a web page capture directly inside an img src attribute.
  • You want to feed live pages to models as Markdown.
  • You need captures of pages that show cookie banners, ads or popups.