Capture screenshots from Go with a simple HTTP GET. No headless browser, no CGo dependencies — just net/http and your API key.
package main
import (
"io"
"net/http"
"os"
)
func main() {
resp, _ := http.Get("https://snapapi.tech/v1/screenshot?url=https://example.com&api_key=YOUR_KEY")
defer resp.Body.Close()
f, _ := os.Create("screenshot.png")
defer f.Close()
io.Copy(f, resp.Body)
}curl "https://snapapi.tech/v1/screenshot?url=https://example.com&api_key=YOUR_KEY" \
-o screenshot.pngimport requests
response = requests.get("https://snapapi.tech/v1/screenshot", params={
"url": "https://example.com",
"api_key": "YOUR_KEY"
})
with open("screenshot.png", "wb") as f:
f.write(response.content)Capturing screenshot...
We run Chromium so you don't have to. No Puppeteer, no Selenium, no drivers.
Choose your format. Set quality. Get optimized output.
9 device presets — iPhone, Pixel, iPad, desktop. One parameter.
Scroll the entire page and stitch into one image. Automatic.
Capture a specific element by CSS selector instead of the whole page.
Emulate prefers-color-scheme: dark to capture dark-themed pages.
1. Sign up for a free API key — 100 screenshots/month, no credit card required.
2. Make a GET request to /v1/screenshot with your URL and API key.
3. Receive a pixel-perfect screenshot as a binary image, or JSON with metadata if meta=true.
That's it. No browser installation, no Chromium management, no headless infrastructure to maintain.