Official SDKs
Screenshot API SDKs for Node.js, Python and Go
Install one package and capture your first page in three lines. The SDKs cover screenshots, PDFs, content extraction, batches, signed URLs and webhooks, and an MCP server gives AI agents the same features. For developers who want the feature shipped today, not another HTTP wrapper to maintain.
MIT licensed200 free renders a monthNo card
npm install snaprender
import { SnapRender } from 'snaprender';
const snap = new SnapRender({ apiKey: 'sk_live_your_key_here' });
const png = await snap.capture({ url: 'https://example.com' });pip install snaprender
from snaprender import SnapRender
snap = SnapRender(api_key="sk_live_your_key_here")
png = snap.capture("https://example.com")go get github.com/User0856/snaprender-go
client := snaprender.NewClient("sk_live_your_key_here")
png, err := client.Capture(ctx, "https://example.com", nil)curl "https://app.snap-render.com/v1/screenshot?url=https://example.com" \
-H "X-API-Key: sk_live_your_key_here" \
--output screenshot.png
From install to first capture in a minute
The SDKs are thin, typed clients over the same REST API. You write the feature, they handle the plumbing.
-
Three lines to a screenshot
Install, pass your key, call
capture. You get the image bytes back, ready to save, upload or send. -
Every feature, typed
Screenshots, PDFs, extraction, batches, signed URLs, webhooks and usage, with options your editor completes and errors that carry the API code.
-
Your AI agent gets it too
The same account powers an MCP server with 11 tools, so Claude, Cursor or your own agent can capture and read pages.
Choose your language
Each guide walks from install to saving a file, with full-page, device and PDF examples.
-
Node.js
npm install snaprenderTypeScript types included. Works in Node 18 and up, and in serverless functions.
Node.js quickstart -
Python
pip install snaprenderA small client with keyword arguments that match the API parameters, and a webhook signature helper.
Python quickstart -
Go
go get github.com/User0856/snaprender-goContext-aware methods and typed errors, with helpers to check for rate limits and bad keys.
github.com/User0856/snaprender-go
Go quickstart
Any other language
No package needed: one HTTP request with your key in a header. These quickstarts use each language's standard HTTP client.
An MCP server for AI agents
Give an agent eyes with the Model Context Protocol. It works with claude.ai, Claude Desktop, Claude Code, Cursor, Windsurf and any MCP client. Connecting Claude? Use the step-by-step guide.
Hosted (recommended)
Nothing to install and always up to date. Sign in with OAuth from clients that support it, or pass your key.
{
"mcpServers": {
"snaprender": {
"url": "https://app.snap-render.com/mcp",
"headers": {
"Authorization": "Bearer sk_live_your_key_here"
}
}
}
}Local, with npx
For clients that run MCP servers over stdio on your machine.
{
"mcpServers": {
"snaprender": {
"command": "npx",
"args": ["snaprender-mcp"],
"env": {
"SNAPRENDER_API_KEY": "sk_live_your_key_here"
}
}
}
}Both give the agent 11 tools, including take_screenshot, extract_content and get_usage. More integrations (ChatGPT, LangChain, n8n): AI connectors.
Guides for your framework
Working code for the places a screenshot feature usually lives: a route, a background job, a plugin.
-
Next.js route handlers
Screenshots from a route on Vercel, without shipping Chromium in the function.
Read the guide -
Django and Celery
A view, a background task and caching, so a capture never blocks a request.
Read the guide -
Laravel queued jobs
The Http facade and a queued job that stores each capture.
Read the guide -
Rails and Active Storage
Net::HTTP, Active Job and Active Storage, wired together.
Read the guide -
WordPress
A plugin snippet built on
Read the guidewp_remote_get. -
GitHub Actions
Daily captures of a list of URLs, with no server of your own.
Read the guide
Screenshots as an API call
Send a GET request, get a PNG back. Ads and cookie banners blocked by default.
200 free renders a month. Paid plans start at $9.
Questions
Which languages have an official SDK?
Node.js (npm install snaprender), Python (pip install snaprender) and Go (go get github.com/User0856/snaprender-go). The API is plain REST with JSON, so any language works over HTTP: there are quickstarts for PHP, Ruby, Java, C# and cURL.
Do I need an SDK to use SnapRender?
No. One HTTP request with your key in the X-API-Key header returns the image. The SDKs save you building query strings and parsing errors, and give you typed options in your editor.
What do the SDKs cover?
Every endpoint: screenshots of a URL, HTML or Markdown in PNG, JPEG, WebP or PDF, content extraction, batches and their status, signed URLs, webhooks (create, list, delete, test) and usage. Errors come back as exceptions with the API error code.
Are the SDKs open source?
Yes, all three are MIT licensed. The Go SDK lives on GitHub, and the Node.js and Python packages ship their source on npm and PyPI.
How do I connect an AI agent?
Point any MCP client at https://app.snap-render.com/mcp, or run npx snaprender-mcp locally. Both give the agent 11 tools, including screenshots, extraction and batches. Claude users can follow the step-by-step guide.
How do I get an API key?
Sign up free, and your key is in the dashboard right away. The free plan includes 200 renders a month with every feature. No credit card.