Shotlane docs

Shotlane opens any web page or HTML in current Chrome and gives you back a screenshot, a PDF or clean Markdown. One HTTP request, an SDK call, or a tool call from your AI agent.

Quickstart

GET /v1/screenshot
curl -G https://shotlane.dev/v1/screenshot \
  -H "X-API-Key: $SHOTLANE_API_KEY" \
  -d url=github.com \
  -d full_page=true \
  -o github.png
Response 200 OK
content-type: image/png
content-length: 673138
x-credits-remaining: 49999
x-target-status: 200
x-render-time-ms: 7755

How requests work

The same request three ways
curl -G https://shotlane.dev/v1/screenshot \
  -H "X-API-Key: $SHOTLANE_API_KEY" \
  -d url=example.com \
  -d width=1440 \
  -d format=jpeg \
  -o example.jpg

The base URL is https://shotlane.dev. Every render endpoint takes GET with query parameters or POST with a JSON or form body, so the same options work from a browser's address bar, curl or code. Use POST for large html or markdown.

Booleans are true or false; a list is comma-separated or a JSON array.

A successful render returns the file itself with its Content-Type (image/png, application/pdf, text/markdown…). response_type=json returns a hosted link and details instead. Errors are always JSON, with a message that says what to do next (errors).

Client libraries

Install
curl -O https://shotlane.dev/sdk/shotlane.py    # Python 3.8+, standard library only
curl -O https://shotlane.dev/sdk/shotlane.mjs   # Node 18+, Deno, Bun

Single-file SDKs for Python and Node, with no dependencies: download one next to your code. They have a method for every endpoint, and the samples in these docs use them.

Any other language: the API is plain HTTP, and the OpenAPI spec works with any OpenAPI generator. AI agents connect through the MCP server.

Credits

One successful render costs one credit: a screenshot, a PDF, a Markdown page, or one device in a multi-device check; a scrolling video costs 3 paid credits. Failed renders, bot-protection pages (100 a day, plus one per page that renders) and cache hits are free, and a refunded credit goes back to where it came from (free or paid). Free credits are spent first, then paid credits. Your free credits are topped up to 100 at the start of every month (UTC); paid credits never expire. Videos use paid credits only. /v1/account shows free_credits and paid_credits, and every response carries X-Credits-Remaining. See pricing.

All endpoints

EndpointWhat it does
/v1/screenshotScreenshot of a URL, element or HTML (PNG, JPEG, WebP, AVIF, PDF, MHTML).
/v1/pdfPDF from a URL, HTML or Markdown.
/v1/markdown, /v1/extractMain content as Markdown; JSON with metadata, links, HTML or text.
/v1/animateA scrolling video of the page as MP4, WebM or GIF.
/v1/screenshots, /v1/checkThe same page on several devices; with the layout and JavaScript problems on each.
/v1/scrape, /v1/map, /v1/reportValues by CSS selector; a site's URLs; SEO, link-preview and AI-crawler checks.
/v1/bulk, /v1/crawlUp to 500 URLs, or a whole site, as one ZIP in the background.
/v1/monitorsWatch pages and get an email or webhook when they change.
/v1/account, /v1/usage, /v1/signupCredits and keys; usage and limits; sign up without a browser.
/mcpRemote MCP server for AI agents (OAuth or API key).

Machine-readable docs for agents and tools: llms.txt, llms-full.txt (every parameter in one Markdown file) and OpenAPI. Every docs page is also Markdown: add .md to its URL.

© 2026 Shotlane · Support · Terms · Privacy · Legal notice