Screenshot API for cURL / Shell
Capture website screenshots in cURL / Shell without headless Chrome CLI or any browser dependency. One HTTP call. Get back an image.
Quick Start
# Basic screenshot
curl -o screenshot.png \
"https://grabshot.dev/v1/screenshot?url=https://stripe.com&format=png&key=YOUR_API_KEY"
# With device frame and custom size
curl -o framed.png \
"https://grabshot.dev/v1/screenshot?\
url=https://stripe.com&\
format=png&\
width=1280&\
frame=macbook&\
key=YOUR_API_KEY"
# Full page capture
curl -o fullpage.png \
"https://grabshot.dev/v1/screenshot?url=https://stripe.com&fullPage=true&format=png&key=YOUR_API_KEY"
CI/CD Pipeline (GitHub Actions)
# .github/workflows/screenshots.yml
name: Visual Snapshots
on: [push]
jobs:
capture:
runs-on: ubuntu-latest
steps:
- name: Capture production screenshot
run: |
curl -o production.png \
"https://grabshot.dev/v1/screenshot?\
url=https://mysite.com&\
format=png&\
width=1280&\
fullPage=true&\
key=${{ secrets.GRABSHOT_KEY }}"
- name: Upload artifact
uses: actions/upload-artifact@v4
with:
name: screenshots
path: "*.png"
Start capturing screenshots in cURL / Shell
25 free screenshots per month. No credit card required.
Get Free API Key →