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
/v1/screenshotcurl -G https://shotlane.dev/v1/screenshot \ -H "X-API-Key: $SHOTLANE_API_KEY" \ -d url=github.com \ -d full_page=true \ -o github.png
# curl -O https://shotlane.dev/sdk/shotlane.py import os from shotlane import Shotlane sl = Shotlane(os.environ["SHOTLANE_API_KEY"]) png = sl.screenshot("github.com", full_page=True) open("github.png", "wb").write(png)
// curl -O https://shotlane.dev/sdk/shotlane.mjs import { writeFile } from "node:fs/promises"; import { Shotlane } from "./shotlane.mjs"; const sl = new Shotlane(process.env.SHOTLANE_API_KEY); const png = await sl.screenshot("github.com", { full_page: true }); await writeFile("github.png", png);
200 OKcontent-type: image/png content-length: 673138 x-credits-remaining: 49999 x-target-status: 200 x-render-time-ms: 7755
- Get a free API key: confirm your email, or sign in with GitHub or Google, and it's on your dashboard, with 100 free renders a month.
- Make your first request, here a full-page screenshot of github.com. The response body is the image.
- Pick what you need next:
How requests work
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
curl https://shotlane.dev/v1/screenshot \ -H "X-API-Key: $SHOTLANE_API_KEY" \ -H "Content-Type: application/json" \ -d '{"url": "example.com", "width": 1440, "format": "jpeg"}' \ -o example.jpg
curl 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
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
| Endpoint | What it does |
|---|---|
/v1/screenshot | Screenshot of a URL, element or HTML (PNG, JPEG, WebP, AVIF, PDF, MHTML). |
/v1/pdf | PDF from a URL, HTML or Markdown. |
/v1/markdown, /v1/extract | Main content as Markdown; JSON with metadata, links, HTML or text. |
/v1/animate | A scrolling video of the page as MP4, WebM or GIF. |
/v1/screenshots, /v1/check | The same page on several devices; with the layout and JavaScript problems on each. |
/v1/scrape, /v1/map, /v1/report | Values by CSS selector; a site's URLs; SEO, link-preview and AI-crawler checks. |
/v1/bulk, /v1/crawl | Up to 500 URLs, or a whole site, as one ZIP in the background. |
/v1/monitors | Watch pages and get an email or webhook when they change. |
/v1/account, /v1/usage, /v1/signup | Credits and keys; usage and limits; sign up without a browser. |
/mcp | Remote 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