Official SDKs

Integrate in Minutes

Simple, well-documented SDKs for every major language. Install with one command, capture your first screenshot with a few lines of code.

Choose Your Language

Every SDK follows the same simple pattern: install, initialize with your API key, capture.

npm install snaprender
import SnapRender from 'snaprender';
const snap = new SnapRender({ apiKey: 'sk_live_your_key_here' });
const buffer = await snap.capture({
  url: 'https://example.com',
  format: 'png'
});
pip install snaprender
from snaprender import SnapRender
snap = SnapRender("sk_live_your_key_here")
data = snap.capture(
  "https://example.com",
  format="png"
)
go get github.com/User0856/snaprender-go
client := snaprender.NewClient(
  "sk_live_your_key_here",
)
img, err := client.Capture(
  ctx, "https://example.com", nil,
)

PHP

GitHub source Coming to Packagist
composer require snaprender/snaprender # coming soon
$snap = new SnapRender\SnapRender(
  'sk_live_your_key_here'
);
$image = $snap->capture(
  'https://example.com'
);

Ruby

GitHub source Coming to RubyGems
gem install snaprender # coming soon
snap = SnapRender.new(
  "sk_live_your_key_here"
)
image = snap.capture(
  "https://example.com"
)

cURL

No install needed
Works with any HTTP client
curl "https://app.snap-render.com/v1/screenshot\
?url=https://example.com\
&format=png" \
  -H "X-API-Key: sk_live_your_key_here" \
  --output screenshot.png
Model Context Protocol

AI Agent Integration

Give AI agents the ability to capture screenshots using the Model Context Protocol. Works with Claude Desktop, Claude Code, Cursor, Windsurf, and any MCP-compatible client.

Remote MCP (Recommended)

Zero install, hosted endpoint

Add this to your MCP client config. No packages to install, always up to date.

{
  "mcpServers": {
    "snaprender": {
      "type": "streamable-http",
      "url": "https://app.snap-render.com/mcp",
      "headers": {
        "Authorization": "Bearer sk_live_your_key_here"
      }
    }
  }
}

Local MCP (npx)

Runs on your machine

For clients that support stdio transport. Runs locally via npx.

{
  "mcpServers": {
    "snaprender": {
      "command": "npx",
      "args": ["snaprender-mcp"],
      "env": {
        "SNAPRENDER_API_KEY": "sk_live_your_key_here"
      }
    }
  }
}

Both options provide 3 tools: take_screenshot, check_screenshot_cache, and get_usage.

More AI integrations (ChatGPT, LangChain, n8n)

Available on all major package registries

Frequently Asked Questions

Which languages do you support?
We have official SDKs for Node.js, Python, Go, PHP, and Ruby. Since the API is standard REST with JSON responses, you can also use cURL or any HTTP client in any programming language.
Do I need an SDK?
No. The API is simple REST, so a single HTTP request is all you need. The SDKs add convenience: automatic error handling, configurable retries, and typed responses for languages that support them.
Are the SDKs open source?
Yes. All SDKs are open source and published on their respective package registries (npm, PyPI, Go modules, Packagist, RubyGems). Source code is available on GitHub.
How do I get an API key?
Sign up free at app.snap-render.com, then generate an API key from your dashboard. No credit card required. The free plan includes 500 screenshots per month with all features.

Ready to integrate?

Sign up in 30 seconds. Get your API key instantly. Capture your first screenshot.

Create free account