How I capture website screenshots in n8n with HTTP Request (File) — free-tier friendly tips

Hey folks :waving_hand:

I keep seeing the same question in automation land: *“What’s a simple way to turn a URL into a PNG/PDF from n8n without standing up Puppeteer myself?”*

Here is a pattern that has been working well for me using a plain **HTTP Request** node (no custom node required).

### 1) HTTP Request → File

- **Method:** `GET`

- **URL:** `https://snap.flyhold.in/v1/take\`

- **Authentication:** None in the node if you pass the key as a query/header param (better: store the key in n8n credentials / env and reference it)

- **Query parameters:**

  • `api_key` — your key *(or use header `X-API-Key` / Bearer instead)*

  • `url` — `{{ $json.url }}` (or a fixed URL while testing)

  • `width` — `1280`

  • `height` — `720`

  • `type` — `png` | `jpeg` | `webp` | `pdf`

  • optional: `full_page` = `true`, `block_cookie_banners` = `true`

- **Response format:** **File**

- **Timeout:** `60000` (renders can be slow on heavy pages)

Downstream you can write the binary to disk, email it, push to Drive/S3 via other nodes, etc.

### 2) Schedule without burning credits for no reason

Two practical tips if you run this on a cron:

1. **Failures should not punish you.** On Snap, failed captures do not consume a credit — useful when a target site 500s at 3am.

2. **Short-term cache.** Snap keeps a ≤1 hour render cache; a `HIT` is free. Response header: `X-Snap-Cache`. If your workflow re-checks the same URL within the hour (retries, overlapping schedules), you do not double-pay.

### 3) Minimal example (conceptual)

`Schedule Trigger` → `Set` (list of URLs) → `Split Out` → `HTTP Request` (above) → `Write Binary File` / `Google Drive` / whatever you need.

Keep API keys out of exported workflow JSON when you share templates.

### Docs / longer write-up

I wrote a short guide with the exact fields:

Full API docs are linked from the guide.

### Pricing context (disclosure)

I built **Snap** (snap.flyhold.in). Free Developer is **200 screenshots/month, no card**. Paid starts at **$9 / 10,000** or **$29 / 30,000**. Formats include WebP and PDF.

**Honest gaps:** no official SDKs, webhooks, S3 upload, or geo proxies yet. If you need those, a larger vendor is the better fit. If you just need URL → file from n8n, this pattern is the product.

Happy to help debug node settings if you paste a redacted workflow screenshot (hide your key!). If a specific URL renders wrong, send it over — I am collecting real-world failure cases.

— Amiel

1 Like