Changelog
Every shipped feature, endpoint, and SDK release. Newest first.
Two capture bugs that made us look broken, and a homepage that stopped shouting
Fixed: a popup selector was deleting the page
/v1/try returned capture_failed for vercel.com and
urlbox.com in about six seconds — too fast to be a timeout. The cause was
ours. The popup remover’s selector list is mostly substring matchers, and one
of them was [class*="grecaptcha"]. urlbox.com ships
<body class="… hide-grecaptcha">, a class whose whole purpose
is to hide the badge. It matched the <body>, the removal loop
called .remove() on it, and everything afterwards threw on a null
document body. A competitor’s screenshot API was unscreenshotable by us because
its body class contained the word we were searching for.
The removal pass now refuses to touch <body>, <html>
or any ancestor of the body. That is the fix — removing the one selector would
have moved the bug, since [class*="cookie-bar"] matches a body class of
no-cookie-bar just as happily.
Fixed: pages that never go quiet
openalternative.co spent the full 30-second timeout and then failed.
wait_for_network_idle defaults to true, which waits for the network to
settle — and it never does on a page that long-polls or holds a websocket open.
The document had loaded every time; only “the network went quiet” never became
true. Captures now fall back to the loaded page instead of failing, and the free
preview asks for load outright, because nobody watches a preview widget
for thirty seconds.
Faster: waiting for popups that are not there
The popup sequence cost about 4.6 seconds of unconditional waiting on a page with no popup at all. Measured across twelve sites, every banner that existed appeared within half a second — 65ms on theguardian.com, 498ms on bbc.com — and nine of the twelve had none. The waits are conditional now, which is about 3.1 seconds off every capture of a page with nothing to dismiss.
Changed: the homepage
- The hero runs a live capture against the same public endpoint the free tools use. Paste a URL, watch it happen. It is not a recording.
- One brand mark at every size instead of three unrelated ones, flat rather than four gradients and a gold bolt.
- The headline states a position rather than listing features, and it is one that holds: plans differ by monthly credits and request rate, and by nothing else. There is no feature flag anywhere in the codebase.
- 642 KB of drifting browser-window artwork removed from every page, then the motion brought back drawn as the new mark — a tenth of the markup.
Fixed: the small print of layout
- The live capture was below the fold on every phone. It is above it now on a 390px screen.
- A grid track with a 320px minimum pushed the whole document sideways at 320px wide. Three grids had the same latent bug.
Four pages that answer a question instead of describing a product
New: task pages
- How to take a full-page screenshot — the browser ways first, because for one screenshot that is the right answer, then Playwright with its operational cost named, then the API. The middle is the four things that break it: lazy loading leaving the bottom blank, fixed headers, consent overlays, and Chromium’s 16,384px texture limit.
- HTML to PDF — page ranges, header and footer templates, document metadata. Including the one that costs people an afternoon: Chromium renders header templates at font-size zero unless the template sets one, and paints them inside the page margin, so a margin shorter than the header leaves nowhere to draw.
- Scheduled daily screenshots — cron, a real IANA timezone, an HMAC-signed webhook. The cron library accepts any string as a timezone and silently falls back to UTC, so
Europe/Vilnuswould run in the wrong zone until somebody noticed; the field validates against the real database. - Website change monitoring — the argument being that detection is the easy half. Visual monitoring gets switched off after a fortnight because it fires every run, and no threshold separates a rotating carousel from a changed price. So the page is about removing the noise before the comparison rather than tuning it after.
Why these four and not more comparison pages: our only two non-brand search
queries both land on /alternative-to/ pages, and every commercial
head term earns zero impressions rather than a poor position.
A fifth comparison page changes nothing. Task queries are the one shape that
has worked on this domain.
Rewritten: two pages that were too short to rank
- The MCP server page, 455 → 1,199 words. It claimed the model can see the page and never showed the loop, so it now does — question, tool call, image block back, answer — plus every tool’s arguments and a troubleshooting table, read off the published package rather than remembered.
- The scrolling video page, 571 → 1,117 words. It was a reference with no advice; it now covers the three settings that decide whether a clip looks deliberate, and how to get cookie banners out of a recording you cannot crop.
Fixed: the free tools
- You could not read what you typed into any of them. All four set the URL box’s text colour to a border token — one character of a variable name. Obvious in light mode, and at 1.72:1 it had been unreadable in dark since the tools shipped.
- The social preview checker drew five identical cards while arguing that the same link looks different on each platform, and captioned each one with a layout it was not drawing. Platforms whose card comes out the same now share one, so the count is the finding.
- It also contradicted itself: with no
twitter:cardthe warning said X falls back to a small thumbnail while the X card promised the large image.
Fixed: 37 contrast failures, and a nav that scrolled the page sideways
- Audited all 51 pages in both themes across resting, hover, focus and focus-visible. Every primary button on the site had been failing AA on hover, in dark mode too —
--primarywas darkened for exactly this reason and--primary-hoverwas left on the old value at 4.47:1. - Between 901 and 980px the nav was still one row and did not fit, scrolling the page sideways by up to 56px. Found while checking a change of my own for regressions; it was already live.
We re-checked every competitor claim on this site. Thirty-eight were wrong.
Fixed: the social preview checker drew five identical cards
- The whole premise of the tool is that the same link looks different on each platform. It then rendered every platform with the same layout and printed a caption underneath describing a different one — Slack’s said “coloured bar on the left, image on the right” over a card with the image on top. The cards now draw what their captions claim.
- The tool contradicted itself on screen. With no
twitter:cardtag the warning said “X defaults to the small square thumbnail” while the X card promised “large image above the text”, because the layout check only looked forsummaryand treated a missing tag as the large one. Two tests pin it to the warning now. - Each card cuts the title and description at that platform’s limit. A 230-character description now visibly stops at 125 on X and 200 on LinkedIn instead of being clamped identically everywhere, which is the difference the warning above it was already describing.
- Platforms whose card comes out identical now share one card instead of printing the same picture five times. The count is the finding: “4 different cards across the five platforms”, with LinkedIn and Facebook under one heading because nothing separates them. One card would mean all five agree and the only question left is whether that card is any good.
- Added a line saying what you are looking at — including that if several cards look the same, that is the answer: your page has no
twitter:tags, so every platform is reading the sameog:ones.
Fixed: you could not read what you typed into the free tools
- All four tool pages set their URL box’s text colour to a border token —
color: var(--p-border). One character of a variable name. In light mode that is near-white text on a near-white field, which is how it was spotted; in dark it was#374151on#111827, 1.72:1, and had been live and unreadable there the whole time too. - The screenshot tool also pinned its field to a hardcoded
#0b1220, so that one stayed dark while its text went dark with the theme. Now on the same token as the other three. - The sweep could not have caught this. It walked text nodes, and an input keeps its text in
.value— not a text node, so form controls were never looked at at all. It now checks every input, textarea and select, both the value and the placeholder, which is what found the other three pages once the first was reported.
Fixed: every remaining contrast failure, including on hover
- Widened the audit from ten pages to all 51, in both themes, in four states — resting, hover, focus and focus-visible, the last three forced through the devtools protocol rather than hoped for. It found 37 failures. All of them were in light mode; dark had none.
- Every primary button failed the moment you pointed at it, in both themes.
--primarywas deliberately darkened from#6366f1to#4f46e5a while back so white text would clear 4.5:1 — and--primary-hoverwas left on the old value at 4.47:1. The fix had been applied to the resting state and not to the hover. That one was never about light mode; it had been live in the dark site all along. - The nav’s “Get Free API Key” lost its white text on hover.
.nav-links a:hoveris a more specific selector than.btn-primary:hover, so it won and the button took body-text colour: 3.52:1 on dark, 3.97:1 on light. - The secondary button’s hover set white text on a transparent button. Over a dark page that reads as a brighten; over a white one it is white on white, 1:1, invisible.
- The rest were descendants of surfaces that stay dark in light mode — the Copy button, “Quick Start”, the demo URL bar, the 200 OK badge — each naming a token of its own, so setting the container’s colour never reached them. Those surfaces now re-declare the whole token set, and anything inside is right without being listed.
- The sweep is
ops/check-contrast.mjsand currently reports 0 findings. Dark mode’s resting state is pixel-identical to before, which is how we know none of this cost anything.
Fixed: two things light mode got wrong
- The code samples under “Built for developers” were unreadable. Those blocks painted a translucent black over the card, which is dark on a dark card and pale grey on a white one — while the syntax colours stayed tuned for a dark background. Measured 1.46:1. Code surfaces now keep their dark background in both themes, which was the stated intent all along.
- The blinking marks vanished in light mode. They are drawn light-on-dark, so the first cut simply hid them. They are the one bit of character on the page and losing them was noticed straight away. They are back, inverted into faint dark-on-white wireframes, still blinking — only the colours flip, the animation is untouched. The broad coloured glows stay out; inverted they turn to mud.
- Found by measuring rather than looking: a sweep of ten pages computing the contrast of every text node against its real background. It turned up 20 failures in light mode and zero in dark, including 169 colour literals hiding in inline
styleattributes that the first pass missed because it only read<style>blocks. All fixed; the sweep is clean now apart from one false positive on a gradient-backed badge.
Fixed: reduced motion made the background brighter, not calmer
- The glowing badge in the background art keeps its resting look inside its keyframes —
opacity: .14— and the rule itself set none. Turning the animation off forprefers-reduced-motiontherefore dropped it to the SVG default of 1, seven times brighter, glaring through the text beneath it. Anyone who asks for less motion got a louder page, which is the opposite of the accommodation. - Checked every other animation on the site for the same shape: five others, none of them animate opacity, all unaffected.
Fixed: light mode looked broken if you had visited earlier that day
- The stylesheet link carried a hand-written
?v=that nobody bumped, and the server caches CSS for 24 hours. Returning visitors got the new HTML with the old stylesheet: the theme button showed a sun and a moon stacked on top of each other, and clicking it did nothing. A reload would not fix it; the URL had to change. - Every check passed and so did a browser test, because a fresh browser has an empty cache and cannot reproduce a returning visitor. The query string is now the stylesheet's own content hash, and CI fails if a page links a stale one.
New: light mode
- A toggle in the nav on every page. It follows your operating system by default and remembers an explicit choice in
localStorage, applied before first paint so there is no flash of the wrong theme. If your OS is set to light, this site will now be light. - Getting there meant tokenising 498 colour literals that had accumulated in 41 pages’ own
<style>blocks — a second palette, a few percent off the one in the stylesheet. Each token holds the exact original value, so dark mode is unchanged: eight representative pages render pixel-identical to before. - Code blocks stay dark in both themes. Their syntax colours are tuned for a dark background and recolouring them is a separate job.
Changed: the comparison table no longer repeats its header
- A second header row halfway down the table helped when scrolled and looked like a duplicate when it was not. Removed. The row label staying pinned while the vendor columns scroll already solves the problem it was there for.
Fixed: on a phone, the comparison table showed only our own column
- Six columns do not fit in 390px. The table scrolled sideways, but the feature names scrolled away with it — so you could reach the competitor columns and then not know which row was which. The row label is now pinned while the five vendor columns scroll under it.
- It did not work the first time, and the CSS looked correct.
position: stickywas applied and computed assticky; the label still sat at x=-375 once scrolled. A responsive rule gives every wide tabledisplay: blockso it can scroll on phones, and a sticky cell inside a block box has no table containing block to stick within. Tables already inside a scrolling wrapper now keep real table layout. Checked at 390, 768 and 1440px, with page overflow still 0 at each. - This matters more than it reads: mobile is 132 of our 234 search impressions and both of our clicks, and ranks roughly twice as well as desktop. The comparison was invisible on the device that actually brings people here.
Changed: a qualified answer now looks different from a plain yes
- Fifteen cells on the home page and fourteen across the comparison pages say something other than yes or no — “$99 plan”, “partial”, “7-day trial”, “Yes, from Ultra $99”. They were rendering in body grey, less prominent than a red “no”, which is precisely backwards: those cells carry the nuance the rest of this release is about. They are now amber, with a legend under the table.
- The header row repeats halfway down, which is what Urlbox do on their own feature table and for the same reason: by row 17 you cannot see which column is which.
- The section subtitle said “Same category. Same quality. Dramatically better pricing.” Against ScreenshotAPI.net at 5,000 captures it is 1.6×. It now reads “Checked against every vendor’s own pricing page and API docs, including where they beat us.”
New: the newest pages are reachable from every page
- The MCP server, scrolling video and the sourced price comparison are now in the footer of all 49 indexed pages. Before this, scrolling video was linked from one page on the whole site and MCP from three.
- That matters more than it sounds. Search Console has eight URLs sitting at “Discovered — currently not indexed”, which is Google deciding this domain has not earned the crawl budget. A page with one inbound internal link is the first thing to get skipped.
- The MCP server also has a card on the home page now. It shipped yesterday as the headline feature and was mentioned exactly once, in a single inline link.
Dates on the comparison pages now say when we actually looked
- They read “checked 4 October 2026” while the figures had just been re-verified. All four vendors’ published prices were read off their own pricing pages again today — ApiFlash $7/1,000, $35/10,000, $180/100,000; ScreenshotAPI.net $9/$29/$175; ScreenshotOne $17/2,000, $79/10,000, $259/50,000; Urlbox $19/$49/$99 and $495 base plus $3 per 1,000 — so the attestation now reads 25 October.
Corrected: the comparison tables
- Every competitor cell on the home page, the four
/compare/pages, the pricing page and the 2026 roundup was re-read against that vendor’s own documentation rather than against what we wrote last time. Thirty-eight cells changed, and almost all of them had been wrong in our favour. - Three of the four competitor prices were for plans that do not exist. We listed a 5,000/month workload at $39.99 on ScreenshotAPI.net, $29 on ScreenshotOne and $19 on ApiFlash. The cheapest plans that actually cover 5,000 are $29, $79 and $35. Against ScreenshotAPI.net at that volume we are 1.6× cheaper, not 4.4×.
- Urlbox Business was understated by about $300. Their page reads “$498/month — $495 base, then $3 per 1,000 renders”. We published $498 as the price of 100,000 renders. It is the floor. At 100,000 it is roughly $795.
- “4–12× cheaper” is gone. It divided our cheapest rate by their most expensive at a different volume. Like for like it is 1.6–5× against ScreenshotAPI.net, 2.3–3× against ApiFlash, 4.4–6.8× against ScreenshotOne and 5.3–10× against Urlbox. Below about 1,000 captures a month ApiFlash is cheaper than we are, at $7 against our $9, and the ApiFlash comparison now says so at the top instead of the bottom.
Corrected: features we said competitors did not have
- ScreenshotOne has batch capture (
/bulk), async webhooks, proxy routing, full-page slicing and scrolling video. We had all five marked “no”. - ScreenshotAPI.net has batch capture, webhooks, S3/GCS/Azure upload, scheduled cron captures, dark mode, custom cookies and headers, transparency and clip regions. All had been marked “no”.
- ApiFlash has S3 upload, text and HTML extraction, JavaScript injection and cookie-banner blocking. Their documentation page builds its parameter table in the browser, so reading the served HTML shows nothing — which is how we got this wrong and kept it wrong.
- Urlbox and ApiFlash both publish an official Python SDK. We said Node only.
Corrected: two that favoured them
- We credited Urlbox with scheduled captures. They have no native scheduler; their own guide routes it through Zapier.
- We credited ScreenshotAPI.net with a permanent 100/month free tier. It is a 7-day trial.
What this leaves
- Ad and cookie-banner blocking, text and HTML extraction, S3 upload and geo/proxy routing are now parity rows — yes for all five vendors. They stay in the table rather than being quietly dropped, because removing the rows where we have no edge is the same cherry-picking in the other direction.
- What survives as a real difference: PDF control as a complete set (page ranges and custom headers/footers and document metadata), scheduled captures with HMAC-signed webhooks, full-page slicing, a free tier you can stay on, and price against Urlbox and ScreenshotOne.
- The “4–12× cheaper than Cloudinary or Bannerbear” line on the OG-image posts has now been checked too, and it was wrong in both directions. Bannerbear bills one credit per render at $49/1,000, $149/10,000 and $299/50,000 — against our $1.80, $1.16 and $0.79 per thousand that is 8 to 27×, so we were understating it. Cloudinary runs the other way. One of their credits buys a thousand transformations, so $99/mo for 225 credits is about $0.44 per thousand, cheaper per image than any plan we sell, and their free tier allows 25,000 transformations a month against our 100 captures. The page now says so, and says to pick us over Cloudinary for page screenshots rather than for price.
An MCP server, a security patch, and the price comparison written down
New: MCP server — give your agent eyes
- getSnap for Claude and other agents. Five tools over MCP: capture a screenshot or PDF, compare two pages, audit one for accessibility, check remaining credits.
- The capture tools return the image itself, not a link to it. Most integrations hand an agent a URL and stop, leaving the model aware a capture happened and unable to see it. “Screenshot this and tell me what’s broken” now finishes in one turn.
- Each tool states its credit cost in its own description, because an agent deciding whether to call something should be able to see what it will spend. Cached captures cost nothing and say so.
npx -y getsnap-mcp, orclaude mcp add getsnap --env GETSNAP_API_KEY=... -- npx -y getsnap-mcp. Listed in the official MCP Registry asdev.getsnap/getsnap.
Security: Node.js patched
- The API now runs Node v22.23.4, up from v22.23.2. The October 2026 release fixed seven CVEs affecting the 22.x line, including a High-severity out-of-bounds write in the Brotli decoder.
- That one was reachable: the social preview checker fetches a URL you supply, in-process, and offers Brotli in its
accept-encoding. A malicious response could have reached the decoder. No evidence it was exploited; patched regardless. - Also picked up in the same update: OpenSSL, SQLite, Undici, c-ares, and a CA-bundle change removing a compromised intermediate certificate authority.
- The canary now checks the running Node version against the latest release in its line and alerts if a patch has been available for more than three days — because patches previously landed only when someone happened to deploy.
New: pricing, compared honestly
- Price per 1,000 captures against Urlbox, ScreenshotOne, ApiFlash and ScreenshotAPI.net, at equal volume, every figure checked against the vendor’s own page and dated.
- It also corrects us. The “4–12× cheaper” line elsewhere on this site compares our cheapest rate with their most expensive — different volumes. Like for like it is 2.2–6.6×, which is the number that survives a sceptical reader.
Operations
- The restore drill runs as a workflow now rather than as a page of commands somebody has to remember. It asserts rather than prints: a restored backup whose keys cannot authenticate fails the run.
- First automated run passed — backup restores cleanly, migrations apply, integrity intact.
Things that were broken on a phone, and a www that did not exist
Fixed: most of the live demo was unreachable on a phone
- The demo’s site tabs scrolled sideways with no scrollbar, no fade and no partial tab at the edge. Measured at 390px: the row needed 848px and had 340px, so four of the six tabs —
linear.app,apple.com,news.ycombinator.comand most oftailwindcss.com— were reachable only by guessing they were there. At 820px it still hid 78px, so this was never only a phone problem. - The tabs wrap now instead of scrolling. Nothing is hidden at any width from 1440px down to 360px. The strip is taller on a phone as a result, which is the trade we chose.
Fixed: the whole page scrolled sideways on a tablet
- Between 860px and 700px the page had up to 134px of horizontal scroll. The cause was the navigation: it had no wrap point until 640px, so the row broke
API DocsandFree Toolsacross two lines and then pushed the whole container wider than the viewport, taking every section with it. A nav problem that presented as the entire page being scrollable. - The row now tightens at 1080px and wraps properly at 900px. Zero horizontal overflow at every width.
Fixed: navigation tap targets were under the accessibility floor
- Nav links measured 20.8–22.4px tall at every width above 768px, under the 24×24 minimum in WCAG 2.5.8 Target Size — a 2.2 AA criterion, which is the standard our own accessibility checker tests against. The phone nav had been fixed for this; every wider layout had the same problem and nobody looked, because axe does not evaluate target size by default.
- Now 34.8px everywhere. The header did not get taller: the call-to-action button was already setting the row height.
New: www.getsnap.dev works
- It previously had no DNS record at all, so it failed to connect rather than redirecting. Anyone typing it, and any site linking it, hit a dead host. It now redirects to the apex with the path and query intact, so
www.getsnap.dev/blog/…lands on the article rather than the home page.
Changed: a calmer background
- The drifting marks are down to about a third of their previous density — four on a desktop, one on a phone — and they now keep to the margins rather than passing behind the text. Measured over 30 seconds of real animation, a mark’s centre sits over the content column under 4% of the time, down from 100%, and never under the sticky header.
- The site also spells its own name one way now. It had been both
getsnap.devandgetSnap.devacross titles, structured data, copy and alt text.
Operations
- The canary notices if the nightly backup stops running. Two alerts already covered a backup that ran and failed; neither could fire if it never ran, because nothing exits non-zero when nothing executes. It now checks that the newest backup is under 26 hours old and not an empty file.
- Health checks no longer fill the access log. They were 45% of it, which meant roughly half the retained forensic window was monitoring traffic.
The health endpoint now answers the question it was asked
Changed: GET /v1/health checks its dependencies
- It used to return a hardcoded
{"status":"ok","version":"1.0.0"}. That proved the process was accepting connections and nothing else — Redis unreachable, database file missing, it still answeredok. - It now pings Redis and reads the SQLite schema, and reports each one separately with the time it took. A response that says
degradednames which half is unhappy, so a page arrives already diagnosed instead of just saying “down”. - It can now return 503. If you poll this endpoint, that is the one change worth knowing: a sick dependency is no longer reported as a 200. The body shape is unchanged apart from the new
checksanduptime_sfields. - Dependency results are memoised for one second. The endpoint is unauthenticated and monitors poll it on a schedule, so this keeps a flood from amplifying into real Redis load — without rate-limiting the callers we actually want.
- Error messages from a failing dependency go through the same redaction the logs use, because a connection error tends to quote the connection string it failed on.
Fixed: the version number was wrong in three places
package.jsonsaid1.0.0, the OpenAPI document said1.5.0,/v1/healthsaid1.0.0, and this changelog said1.19.0. None of them failed anything, which is why all three drifted.- The API reads
package.jsonat runtime now, so the health response and the OpenAPI document cannot disagree with the build again. A CI check keeps the two static pages — this changelog and the badge on the home page — in step with it.
Changed: the canary leaves the box
- Every canary step imported the service and called it in-process. That covers the engine and says nothing about whether anyone can reach it: with Fastify refusing connections, every step would still have passed.
- There is now one step that fetches the public hostname over real DNS, real TLS and real Caddy, and it reports which dependency is unhealthy when the answer is a 503.
A fourth free tool, and one background instead of three
New: compare two pages pixel by pixel
- Visual diff — two URLs in, three images out: before, after, and an overlay marking every pixel that changed, with a similarity score. Staging against production, a vendor's page over time, or checking what a redesign actually moved.
- It is the first free tool that costs two captures rather than one, because it launches a browser per URL. It draws on the same six-an-hour budget as the others, so three comparisons an hour, or a mix. It also checks there is room for both before starting — capturing one side and then running out spends real compute and returns nothing.
- Results are never cached. “Has this page changed”, answered from a cached capture, is an answer about yesterday.
- The same engine is
POST /v1/diff, which adds a threshold you control, any viewport, full-page capture, and a response you can fail a CI job on.
Changed: the comparison is now shared code
/v1/diffand the free tool now run the same pixel comparison. Two copies of the settings would eventually disagree and report different similarity figures for the same pair of pages — the sort of discrepancy nobody notices until a customer does. No behaviour change to the paid endpoint.
Fixed: the background was three different things
- Thirteen pages had drifting marks, seventeen had an empty container, and seventeen had nothing. Moving from a blog post to a tool page changed the texture twice. Every page now carries the same layer.
- The marks move freely and bounce off each other rather than tracing four fixed paths, and the count follows the viewport instead of always being four.
- On a phone, the diff result now shows the overlay first. The three panes stack at that width, and the overlay is the answer — it should not sit below two full-height screenshots.
- On a wide screen, the diff result breaks out of the reading measure. Each pane was 231px, a 1280px capture shown at 18%, with a thousand pixels of empty screen either side. You cannot see a pixel diff at 18%.
The SDK READMEs no longer describe a test mode that does not exist
Fixed: sk_test_ was never a thing
- Both SDK READMEs said an API key starts with
sk_live_orsk_test_. There is no test mode and there never has been, so anyone looking for a test key was looking for something that does not exist. - Corrected in the repository on 2026-10-05. npm and PyPI kept serving the old text until today, because neither registry allows a published version to be replaced — which is why this is 1.14.1 rather than a re-upload of 1.14.0.
- No code changed.
getsnap@1.14.1on npm andgetsnap 1.14.1on PyPI are byte-identical to 1.14.0 apart from the README and the version string.
Behind it
- Releases now go out through a manual workflow that checks all four version strings agree and that the version is not already published, before anything irreversible happens. Publishing npm without PyPI, or the reverse, is the one failure here that cannot be repaired by pushing a fix.
Three tools were describing the wrong page, confidently
Fixed: an error page is no longer reported as your page
- The preview checker parsed whatever came back, including error pages. A site behind bot protection returned a challenge page, and we reported it as “no og:title, no og:description, no og:image” — all false. Response status is now checked before anything is shown, and a bot challenge says so plainly: your tags are probably fine, we simply cannot see them from here.
- The accessibility checker had the same gap, and it mattered more. A URL that returned 404 came back as “2 violations, 1 pass” — an accurate description of an error page and a false one of the page you asked about. A screenshot of a 404 is self-evident; a number is not. It now names the status instead.
POST /v1/auditreturns the newhttp_statusfield, so the API can still audit an error page deliberately. - The screenshot tool reported a PDF URL as “may be slow, blocking automated browsers, or down” — three guesses, all wrong, about a server that was working. The browser downloads a PDF rather than rendering it; the tool now says that, and names the content type it got.
Documented: two things the screenshot tool always did
- A capture of the same URL is reused for up to 24 hours. The status line has always said served from cache, but never how old that could be — which is exactly what you need to know when you have just deployed a fix and the image has not changed.
- An image URL captures fine. Only downloads do not.
All three were found the same way: by pointing each tool at a URL that returns an error, rather than at the fixtures its tests used. Every one of them passed its own test suite.
Two more tools you can use without an account, and the same address check the renderer got now covers everything that leaves the server
New: an accessibility checker and a social preview checker
- Accessibility checker — paste a URL, get its WCAG 2.2 A and AA failures grouped by severity, with the elements responsible. It runs the same engine as
POST /v1/audit, and it says plainly that automated testing finds roughly a third of accessibility problems: a clean result means the machine-checkable rules pass, not that the page is accessible. - Social preview checker — the card X, LinkedIn, Facebook, Slack and Discord would each show for a link, and what is wrong with the tags behind it. They read different tags in a different order, which is why the same link can look right in one app and bare in the next.
- getSnap.dev/tools collects all three in one place.
- The two capture tools share one budget of six an hour, because both launch a real browser and that is the thing being rationed. The preview checker only reads tags out of your markup, so it costs milliseconds and has its own allowance of twenty. In all three, a run that fails or is refused costs you nothing.
Security: the address check now covers every path that leaves the server
- v1.17.0 added this for captures. The same check was missing from the accessibility audit, from video capture, from webhook delivery and from caller-supplied proxies — four paths that each take an address from the caller and reach out to it. All four now resolve the address and refuse private, loopback, link-local and
file://targets, and re-check every redirect. - Behaviour change:
POST /v1/auditandPOST /v1/videoreturn400 url_not_allowedfor an intranet orfile://URL, matching/v1/screenshot. - Behaviour change: a
proxy_urlpointing at a private address is refused. A proxy is dialled like any other host, and whatever it answers with ends up in your capture. - Behaviour change: webhook deliveries no longer follow redirects, and a
webhook_urlon a private address is refused. A 3xx is recorded as the delivery result. Following redirects would have reopened the hole the address check closes — a public URL can answer with a redirect to anywhere. - We checked whether any of this had been used before it was fixed. It had not: across the access logs, every call to the affected endpoints was either our own, a crawler getting a 404, or a scanner rejected at authentication.
New: llms.txt
- getSnap.dev/llms.txt describes the site for language models — what getSnap is, what each page covers, and the pricing facts worth getting right, rather than leaving them to be inferred from HTML.
Fixed
- The accessibility checker shipped with a malformed stylesheet link that made the browser discard the page's own styles. Pages are now checked for unclosed tags before release.
- Shared links were missing alt text on their preview image, so screen readers announced the card without describing it. The blog index and this changelog had no preview image at all and fell back to a bare text link. Found by pointing the new preview checker at our own site.
A free tool with no signup, and the renderer can no longer be aimed at a private network
New: capture a page without an account
- getSnap.dev/tools/screenshot.html — paste a URL, get a PNG. No account, no card, no extension.
- Six successful captures an hour per visitor. Only successful ones count: a typo, an unreachable site or a blocked address costs you nothing, and repeat URLs are served from cache.
- Fixed at 1280×720 PNG with no options. Everything else — full page, PDF, video, custom viewports, authenticated pages, scheduling, batch — stays in the API, where the free tier is 100 captures a month.
Security: capture URLs are checked against their resolved address
- Until now only the URL's syntax was validated, which accepts anything the URL parser understands. The renderer could be pointed at
file://, atlocalhost, or at a private or link-local address including the cloud metadata endpoint. - Every capture URL is now resolved and judged by the addresses it points to, not by how the hostname reads — a public name resolving to
127.0.0.1is refused. Redirects are re-checked, because a redirect is a second navigation. - Behaviour change: capturing an intranet address directly now returns
400 url_not_allowed. It was never a supported path — it worked only because the server could route there. To reach a private network, use a proxy.
Fixed
- Rejected requests no longer reach route handlers. Authentication replied correctly and the handler ran anyway, which showed up as a status code that disagreed with its own response body on
POST /v1/render-link. Traced to a framework behaviour, reported upstream, and written up. - Horizontal scrolling on phones. Several pages were wider than the viewport, which pushed the centred content off to one side — worst on the homepage, where a decorative element extended 115px past the left edge.
- Links inside paragraphs and lists are underlined again, so they are not distinguished from surrounding text by colour alone.
- The homepage no longer downloads all six demo captures on load. It fetches the visible one and the next, which cut about 1.2MB from first load.
API keys are stored hashed, and render links are signed with a server-held secret
We no longer store your API key
- Only a SHA-256 hash of your key is kept. It is enough to recognise the key you send, and cannot be turned back into the key.
- Your key is shown once — in the
POST /v1/signupresponse and in your welcome email. Nobody, including us, can retrieve it afterwards. Lost it? Email support@getsnap.dev and we will revoke it and issue a new one. - Why it matters beyond the obvious: the database, and every nightly backup of it, previously contained live credentials. Now they contain hashes.
- SHA-256 rather than a password hash is deliberate. Slow hashes exist to defend low-entropy human-chosen secrets against offline guessing; an API key is 32 random characters, so there is nothing to guess, and a slow hash would be paid on every authenticated request.
- Nothing to do. Existing keys keep working exactly as before.
Breaking: render links signed before this release stop working
- Regenerate them with
POST /v1/render-link. The URL format is unchanged — stillkey=pk_…plus a signature — so nothing in your code needs to change. - v1.15.0 moved the secret out of the URL but still keyed the signature with a value stored on your account row. Anyone able to read the database, or a backup of it, could therefore mint valid links for any account and burn its quota.
- The signature is now keyed by a secret held only in the server environment, combined with your account. Reading the database no longer yields anything that can sign.
- There is deliberately no grace period accepting old signatures: honouring them would preserve exactly the weakness this removes.
Fixed
- Rejected requests no longer reach route handlers. Replying from an authentication hook stopped halting the request chain once the app registered a second
onSendhook — a Fastify behaviour we reproduced in isolation and reported upstream as fastify/fastify#7090. Visible symptom was a status code that disagreed with its response body onPOST /v1/render-link. - Four unhandled promise rejections that could terminate the API process: a welcome email sent without a catch, an async shutdown handler, an async screencast frame listener, and a selector failure that discarded its original error.
- The API no longer serves the marketing site, so
api.getsnap.devcan no longer answer with a duplicate of a page that belongs ongetsnap.dev.
Signed render links no longer carry your API key, plus a correctness sweep
Breaking: render links use a public handle
POST /v1/render-linknow returns a URL containingkey=pk_…, a non-secret handle for your account, instead ofapi_key_id=sk_live_….- Links generated before this release stop working. Regenerate them. The change is deliberate rather than incidental:
/v1/render-linkexists so you can put a capture in an<img>tag without exposing a key, and it was doing the opposite — publishing the secret into page source, Referer headers, CDN logs and ours. Because the signature is HMAC'd with that same secret, anyone holding one link could mint any other. - The signature is still keyed by your secret, so only you can create a valid link. The secret simply never leaves the server now.
- Every account gained a
public_id, backfilled automatically. Nothing to do beyond regenerating links.
Fixed
- Scheduled captures that omitted
formatfailed on every run, withpage.screenshot: options.quality is unsupported for the png screenshots. A schedule created as{"url": "…"}— the obvious thing to create — never once succeeded. The worker now applies the same defaults a direct/v1/screenshotcall gets. - Team members could be charged for nothing.
/v1/upgradehad no notion of teams, so a member of a free team could buy Starter, have it charged, and see no change — because effective limits come from the team row. It now returns409 team_billing_requiredand points owners at/v1/teams/:id/checkout. - Cache keys ignored options that change the capture.
lazy_load,wait_for_selectorandwait_for_network_idlewere absent, so a request asking forlazy_loadcould be served an image taken without it. Also addedfail_if_selector_missingand proxy credentials. Existing cache entries are unaffected. - A missing
x-api-keyreturned400describing the request body, and on routes with required body fields it reported those instead, hiding the auth failure entirely. Now401 unauthorizedwith a message naming the header. - Validation errors name the part that failed —
Invalid request headers/querystring/params— rather than always claimingbody. - Favicon corners rendered as white pixels on dark browser tabs; the raster copies had been flattened without an alpha channel.
Changed
POST /v1/signupreturnsverification_required, and its message no longer claims the key is ready to use. With email verification enabled the key returns403 email_not_verifieduntil the activation link is clicked, which the response and the docs now both say.- Stripe Checkout metadata carries your public handle instead of your live API key.
usage_logrows are deleted automatically after 90 days, which the privacy policy had always claimed and nothing enforced.- Logs redact any
sk_live_/sk_test_token before writing.
Added
captures_totalis now actually emitted on/v1/metrics, labelled bykind,statusandcache. It had been declared and never incremented, so the counter read as a flat zero./v1/upgrade,/v1/billingand/v1/signupdocument their full response set in the OpenAPI spec, including the new409.- Per-language quick starts for Python, Node.js, PHP, Ruby, Go, Java and C#, and hosted-vs-self-hosted comparisons for Puppeteer, Playwright, Selenium and html2canvas.
Runtime Discord alerting + full-site a11y sweep + docs completeness
Runtime alerts (Discord)
- New
src/services/alerts.tsservice fires color-coded Discord embeds for three classes of prod incident:- Stripe webhook signature failure - 1h Redis dedup. Fires when someone posts to
/v1/webhook/stripewith a missing / rotated / spoofed signature header. Muted so a bot sniffing the endpoint can't spam the channel. - API 5xx response - 10min Redis dedup (env-tunable via
ALERT_5XX_DEDUP_SECONDS). Fires on the first 5xx per rolling window with request_id + method + path + error so on-call can grep the droplet logs. - Cron script fatal error - no dedup.
sendDrips/backupDb/restoreDball alert on top-level exceptions. The shell wrappers (hourly-drip.sh,daily-backup.sh) also POST to Discord on non-zero exit to catchdocker exec-level failures the Node script can't self-report.
- Stripe webhook signature failure - 1h Redis dedup. Fires when someone posts to
- Wired via Fastify
onSendhook (catches all 5xx including explicitreply.code(500)from route handlers, not just uncaught exceptions). - All alerts are fire-and-forget from the call site; a broken webhook or Redis outage cannot mask the underlying error being reported. Fail-open on Redis errors (prefer noisy to silent). No retry on Discord POST (5s timeout, drop over back-up).
- 10 new tests covering dedup + payload shape + failure resilience. See
ops/ALERTS.mdfor the triage runbook.
Deploy notifications (GitHub Actions)
- New "Notify Discord" step in
.github/workflows/deploy.ymlfires for every deploy (success / failure / cancelled) with color-coded embeds. Failure variant says "auto-rolled back"; title links to the workflow run URL for one-click log access. - CI failures ping Discord too now (extension of the deploy pattern to
.github/workflows/ci.yml).
Full-site WCAG 2.1 AA sweep
- Audited all 26 user-facing pages via the
/v1/auditendpoint (dogfooding). Found 18+ violations across 8 pages; fixed all of them. - Landmark fixes:
<main>added to 11 pages (changelog + 10 blog posts + docs/playground). Fixeslandmark-one-main+regionviolations that flagged 20-30 nodes each. - Heading order: footer
h4→h3on landing; release-bodyh4→h3on changelog; "Pricing Comparison"h3→h2on all 4 compare pages. - 50 unassociated
<label>tags on/docs/playground.htmlgainedfor=attributes. - Color-contrast: every
color:var(--primary)used as text bumped tovar(--primary-text).method.deletegained--red-light. - Link-in-text-block: global underline rules for
.footer-links a,.article p/li/td a, changelog paragraph links,.docs-content h3 a. - Scrollable-region-focusable: new
landing/a11y.js(250B gz) referenced from all 26 pages addstabindex="0"to every<pre>so keyboard users can arrow-scroll code blocks. - Result: 0 violations across all 26 pages.
Documentation completeness
README.mdendpoints table went from 19 rows to 30, grouped into 8 categories.- /docs/api-reference.html gained a "Complete endpoint index" section listing every operation with links to detailed sections or the interactive Swagger UI.
- New blog post: Team-owned Stripe subscriptions in 3 endpoints - case study of shipping v1.13 team billing without a per-seat model.
- New runbook:
ops/ALERTS.mdwith per-event triage playbook + Redis DEL commands for forcing re-fire during triage.
SDKs (getsnap@1.14.0)
- Python: added
__version__module attribute (was missing since v1.0). Nowgetsnap.__version__returns"1.14.0". - No API surface changes - identical to 1.13.0 for both npm + PyPI. Bump is for cache invalidation + documentation timestamp.
Config
DISCORD_ALERT_WEBHOOK_URL+ALERT_5XX_DEDUP_SECONDSadded to.env.exampleand documented insrc/config.tszod schema.
Regression check
- Test suite: 254 → 264 tests, all passing (10 new alert tests).
- Live smoke test: all 12 API paths return expected shapes; auth wall correct; team billing endpoints route through
metadata.team_idcorrectly (verified via direct Stripe API subscription create with metadata + observing team row update). - All 25 pages audited: 0 WCAG violations.
Team-owned Stripe subscriptions (billing Phase 2)
Team billing
- Teams now have their own Stripe subscription, decoupled from the creator's personal billing. Previously, at team-creation time the team copied the creator's
stripe_customer_id/stripe_subscription_idand any downstream Stripe events only ever touched the creator'sapi_keysrow, never the team — the team's plan silently drifted whenever the creator up/downgraded. - The owner now runs
POST /v1/teams/:id/checkoutwhich creates a fresh Stripe customer for the team, launches Checkout withmetadata.team_idstamped on the resulting subscription, and returns the checkout URL. New team subs get a 7-day trial withmissing_payment_method: cancel. - Downstream webhook events (
customer.subscription.created / updated / deleted / trial_will_end) checksubscription.metadata.team_idand route to the team row via newupdateTeamPlan/downgradeTeamToFreeservice functions. Redis cache is punched for every attached api_key so members see the new limits instantly, not on TTL.
API endpoints
POST /v1/teams/:id/checkout— owner-only. Body{plan: starter | pro | business}. Returns{url, type: "checkout" | "portal"}; if the team already has an active sub, punts to billing portal.POST /v1/teams/:id/portal— owner-only. Stripe billing portal for the team's subscription. Returns 400 if no subscription exists yet.GET /v1/teams/:id/billing— any team member. Returns plan, limits,subscription_status(active / trialing / past_due / canceled / unpaid / incomplete / null),current_period_end,cancel_at_period_end,has_team_subscription.- Total endpoints in Swagger: 27 → 30. Team paths: 7 → 10 (11 operations).
DELETE /v1/teams/:idnow also cancels the team's Stripe subscription before dropping the DB row (fire-and-forget with error logging) so owners aren't charged after dissolving.
Schema migrations
- Three new columns on
teamsvia idempotentALTER TABLE:subscription_status TEXT,current_period_end TEXT,cancel_at_period_end INTEGER DEFAULT 0. POST /v1/teamsno longer copies the creator'sstripe_customer_idorstripe_subscription_id. New teams start with those fields empty; existing teams keep whatever inherited values they already have (owner can re-run/checkoutto migrate).
SDKs
getsnap@1.13.0on npm and PyPI. Node:snap.teams.checkout(teamId, {plan}),snap.teams.portal(teamId),snap.teams.billing(teamId). Python:snap.create_team_checkout(team_id, plan),snap.get_team_billing_portal(team_id),snap.get_team_billing(team_id).- CLI:
getsnap teams checkout <team_id> <plan>,getsnap teams portal <team_id>,getsnap teams billing <team_id>.
Regression check
- Test suite: 246 → 254 tests, all passing. 8 new tests cover metadata-based routing, empty-metadata fallthrough,
subscription_details.metadatafallback path, team dedup, owner-email lookup for trial_will_end. - Live end-to-end smoke: created a test team → ran
/checkout(freshcus_...created with team metadata) → directly created a subscription via Stripe API withmetadata.team_id→ verified webhook fired and updatedteams.plan,monthly_limit,rate_limit_per_min,subscription_status,stripe_subscription_id. Cancelled the sub → team status transitioned correctly.
Team lifecycle: transfer ownership + dissolve
API
POST /v1/teams/:id/transfer-ownership— owner promotes a member to owner and gets demoted to admin. Every team has exactly one owner at all times; this is the only way to change ownership without dissolving. Body:{ new_owner_user_id }.DELETE /v1/teams/:id— owner permanently dissolves the team, detaches every member's api_key back to their personal plan, revokes outstanding invites, drops the team'smonthly_usagerow. Returns{ detached_key_count, invites_revoked }. One-way action, no undo.- Total endpoints in Swagger: 25 → 27. Team routes now cover the full lifecycle owner → admin transitions without support tickets.
Usage rollover on team creation
- When a solo user creates a team, their current-month personal
monthly_usagerow is now copied into the team's counter as part of the create transaction. Previously usage reset to zero when a solo Pro user made a team on the 20th of the month, effectively giving them a fresh 25,000 quota. Fixed.
SDKs
getsnap@1.12.0on npm and PyPI. Node:snap.teams.transferOwnership(teamId, { new_owner_user_id })+snap.teams.dissolve(teamId). Python:snap.transfer_team_ownership(team_id, new_owner_user_id)+snap.dissolve_team(team_id).- CLI:
getsnap teams transfer <team_id> <new_owner_user_id>+getsnap teams dissolve <team_id> --yes. Dissolve requires an explicit--yesflag because it's irreversible.
Docs
- /docs/teams.html and /docs/referrals.html are now full reference documentation (previously just interactive dashboards). Teams doc gained a permissions matrix, all 8 endpoint references with curl / Node / Python / CLI samples, a data model, and a 10-question FAQ. Referrals doc gained reward-mechanics tables, cookie attribution deep-dive, anti-abuse rules, and an expanded 8-question FAQ.
SDK team methods + WCAG AA fix
SDKs
getsnap@1.11.0on npm and PyPI — adds thesnap.teams.*namespace (Node) /snap.create_team()et al. (Python) wrapping all six team endpoints with typed request / response shapes.- CLI adds a
getsnap teamsfamily:list,create,members,invite,accept,leave. Terminal-friendly output; all subcommands accept--jsonfor machine-readable output.
Accessibility
- Ran our own
POST /v1/auditagainst getSnap.dev and found 60 WCAG AA color-contrast violations, all stemming from three color patterns (primary-on-dark text, white-on-primary buttons, red 'no' cells in the comparison table). - Fixed by splitting
--primaryinto two roles:--primary(#4f46e5) for backgrounds and borders where white text sits on top;--primary-text(#a5b4fc) for text on dark backgrounds. Plus--red-light(#fca5a5) for the comparison table crosses. - Re-audit: 60 → 0 violations. Full WCAG AA sweep now returns zero total violations.
Bug fixes
- Team-member api_keys were returning
500 FOREIGN KEY constraint failedon every capture becausemonthly_usage.api_key_idhad a FK toapi_keys.id, but the teams refactor started routing usage under the team ID (which doesn't exist in api_keys). Fix: inline migration drops the FK constraint (table-swap since SQLite has no ALTER DROP CONSTRAINT).
Team accounts
Six new endpoints
POST /v1/teamscreates a team, hoists your current plan/quota/rate onto it, and attaches your api_keyGET /v1/teamslists teams you belong to with your role in eachGET /v1/teams/:id/memberslists the roster with emails and rolesPOST /v1/teams/:id/invitesinvites a member by email (owner/admin only). Fires a branded invite email with a single-use link that expires in 7 days.POST /v1/teams/acceptconsumes an invite token, adds the caller to the team, and attaches their api_key to the shared planPOST /v1/teams/:id/leavelets non-owners leave the team; api_keys detach and fall back to personal limits
How the shared pool works
- All requests from any team member's api_key deduct from ONE shared monthly quota and one 60-second rate-limit window.
- Individual api_key logging still tracks each user's usage inside
usage_log, so you can see who made what. - Team members keep their own api_keys — no key sharing, no unrevealed secrets.
- Solo users are unaffected:
api_keys.team_iddefaults to NULL and everything works as before.
Roles
owner— created the team. Cannot leave via /leave (transfer or dissolve instead). Every team has exactly one.admin— can invite / remove members, cannot dissolve.member— can view team info and use the shared quota.
Anti-abuse
- Invites verify caller's email against the invited email before accepting
- Cannot re-invite an existing member (returns
409 already_member) - Owners cannot leave via /leave endpoint
- Role escalation via double-invite is blocked (existing membership takes precedence)
Accessibility audit endpoint
New endpoint
POST /v1/auditruns axe-core against any URL and returns categorised WCAG 2.0 / 2.1 / 2.2 violations grouped by impact (critical,serious,moderate,minor).- Every violation includes the rule ID, plain-English description, WCAG success criterion tags, and the failing HTML elements with CSS selectors so you can jump straight to the fix in your codebase.
- Optional
tagsfilter (wcag2aa,wcag21aa,wcag22aa,section508,ACT, etc.) narrows the audit to a specific conformance level. - Optional
rulesfilter (e.g.color-contrast,label,region) runs only specific axe rules for targeted CI gates. - Optional
include_screenshotflag captures a viewport screenshot alongside the report (+1 credit) so you have visual context in review.
CLI
- New
getsnap audit <url>command with a color-coded, terminal-friendly summary. Shows impact tier counts, top violations with rule ID + help + deque.university docs link, and a status marker (!!,!,*,OK) at the start of each line for CI log skimming.
SDKs
getsnap@1.10.0on npm and PyPI — adds typedaudit()methods with fullAuditOptions/AuditResponse/AxeViolationshapes.
Pricing
- 1 credit per audit + 1 more if you request a screenshot. No cache (DOM state is per-invocation) — but audits are 3-5x cheaper than a full capture on average since we skip the heavy image encoding.
Visual regression diff + CLI
New endpoint
POST /v1/diffcaptures two URLs at identical viewport dimensions, compares them pixel-by-pixel with pixelmatch, and returns a similarity score (0-100) plus three CDN URLs: before, after, and a red-overlay diff image.- Both captures run in parallel to halve latency. Cache HITs on either side reduce the credit charge - a diff of two pages already in cache costs 0 credits.
- Per-side overrides for
wait_for_selector,extra_delay_ms, andcsshandle sites where each side settles at different rates. - pixelmatch tunables exposed:
threshold(0-1 YIQ sensitivity),anti_alias,include_aa. Sensible defaults for typical marketing / product pages.
CLI
- Every SDK install now ships a
getsnapexecutable. No code required for one-off captures:
export GETSNAP_KEY=sk_live_... npx getsnap screenshot https://news.ycombinator.com --out hn.png npx getsnap pdf https://news.ycombinator.com --out hn.pdf --full-page npx getsnap og https://blog.example.com/post --out og.png npx getsnap video https://getsnap.dev --out demo.mp4 --duration 5 npx getsnap diff https://staging.mysite.com https://mysite.com npx getsnap usage npx getsnap referrals
Every capture flag from the SDK is available on the CLI: --full-page, --viewport 1440x900, --wait-for #hero, --dark-mode, --device mobile, etc. Full reference: npx getsnap --help.
SDKs
getsnap@1.9.0on npm and PyPI — adds typeddiff()methods with fullDiffOptions/DiffResponseshapes. Node package now ships the CLI too via abinentry.
Referral program
New endpoint
GET /v1/referralsreturns your unique referral code, ready-to-share URL, reward tier, and aggregated stats (total, paid, pending, reverted, lifetime earnings in cents).
How it works
- Every account gets an auto-generated 8-character referral code (uppercase alphanumeric, ambiguous chars like 0/O/1/I/L excluded).
- Share
https://getsnap.dev/?ref=YOURCODE. Landing JS captures the code into a 30-day first-party cookie on the referee's visit. - When the referee signs up, the code follows them into the request. On their first paid checkout (Starter, Pro, or Business), we attach a Stripe coupon giving them a discount on their first month.
- When the referee's first invoice is actually paid (i.e. they finished the trial + kept the plan), you get a $5.00 credit added to your Stripe customer balance.
Anti-abuse
- Self-referral (same email on both sides) is silently ignored.
- Each referee can only be attributed to one referrer, ever, enforced by a UNIQUE constraint at the DB level.
- Reward fires only on the FIRST successful invoice - trial cancellations or later refunds don't burn credits.
- Reward is idempotent under Stripe webhook retries and repeat-billing invoices for the same subscription.
OG image endpoint + billing hardening
New endpoint
- Added
POST /v1/og-image: a convenience wrapper over/v1/screenshotwith defaults tuned for social share images — 1200×630 PNG, hi-DPI (2x), ad and popup blocking on, waits for network idle. - Same billing as
/v1/screenshot: 1 credit per fresh capture, 0 for cache hits. - Supports
response_type: "url"(JSON with CDN URL, default) or"binary"(raw image bytes withCache-Control: public, max-age=604800, immutable).
Billing reliability
- Stripe webhook is now idempotent. Retried event deliveries (up to 3 days) no longer risk double-charging or double-applying subscription changes. Backed by a
stripe_eventsUNIQUE-constrained log with transactional rollback.
Onboarding
- Day-3 activation email lands automatically for new signups who haven't made an API call yet. Real paste-and-run code (curl, Node.js SDK, Python SDK) instead of a marketing pitch.
- Trial-ending email fires 72 hours before your Stripe trial expires. Includes a personalised billing portal link so you can update or cancel in one click. Wired via Stripe's
customer.subscription.trial_will_endwebhook.
SDKs
getsnap@1.6.0on npm and PyPI — addsogImage()/og_image()convenience methods with typedOgImageOptions/OgImageResponseshapes.
Ops
- Automated production deploys on git tag push.
.github/workflows/deploy.ymlchecks out the tag, rebuilds viadocker compose, polls/v1/healthfor up to 90 seconds, and auto-rolls back on failure. - Restore script now supports
RESTORE_TARGET_DB_PATHfor safe drills against a scratch path. Documented RTO/RPO inops/RESTORE-DRILL.md. - Load test script + baseline results at
ops/load-test.jsandops/LOAD-TEST-RESULTS.md. Verified production sustains 51 req/s at p95 <30ms with 12% memory utilisation.
Geo/proxy routing + full OpenAPI schemas
API
- New
proxy_url,proxy_username,proxy_password,proxy_countryfields on/v1/screenshotand/v1/video - Supports
http,https,socks5,socks5hschemes. Credentials stripped before handing to Playwright and SHA-256–truncated in cache keys. - Managed geo pool via
PROXY_URL_TEMPLATEenv var. When configured, clients passproxy_country: "US"and we substitute. - Optional
PROXY_ALLOWED_COUNTRIESallow-list restricts which ISO codes are accepted.
Docs
- Swagger UI at api.getsnap.dev/docs now shows the full request body (up to 74 parameters), response shape, and every error code for each endpoint. Previously it rendered barebones stubs.
- The interactive playground at /docs/playground exposes every Phase 6–11 field in collapsible sections: proxy, PDF metadata, extract_metadata, clip, slicing, blocking, emulation.
SDKs
getsnap@1.5.0on npm and PyPI — addsproxy_*fields toScreenshotOptionsandVideoOptions, plus HMAC verification example.
Scrolling video capture (MP4 + GIF)
New endpoint
POST /v1/videorecords a smoothly-scrolling capture as MP4 (libx264 + faststart, quality-driven CRF) or GIF (two-pass palettegen → paletteuse).- 10–30 fps, 2–30 second duration, viewport up to 1920×1080.
- Uses Chrome DevTools'
Page.screencastprotocol for high-fps frame sampling (not a screenshot loop) and ffmpeg for encoding. - Sync / async webhook / raw binary response modes. Async webhooks include a
video.completedevent. - Costs 1 credit per second of video (rounded up, min 1).
Infrastructure
- Dockerfile now installs
ffmpegalongsidecurl. - New
SCHEDULE_WORKER_CONCURRENCYenv var so cron-driven captures don't starve the sync pool.
SDKs
getsnap@1.4.0Node:client.video(),client.videoBinary(), fullVideoOptionstypes.getsnap@1.4.0Python:gs.video(**kwargs),gs.video_binary(**kwargs). First release published to PyPI.
Scheduled captures with HMAC-signed webhooks
New endpoints
POST /v1/schedules,GET /v1/schedules,GET /v1/schedules/:id,PATCH /v1/schedules/:id,DELETE /v1/schedules/:idPOST /v1/schedules/:id/run— trigger a schedule immediately for testingGET /v1/schedules/:id/runs— execution history (last 100 runs kept)
Design
- BullMQ repeatable jobs, Redis-backed, survive restarts via startup DB hydration
- IANA timezone support (validated with cron-parser)
- Optional
webhook_secrettriggers HMAC-SHA256 delivery signing:X-Webhook-Signature: sha256=<hex>andX-Webhook-Timestampso receivers can verify authenticity and defeat replay attacks
SDKs
- Node:
client.schedules.{create, list, get, update, remove, runNow, runs} - Python:
create_schedule / list_schedules / get_schedule / update_schedule / delete_schedule / run_schedule_now / list_schedule_runs
Feature parity blast: 30+ new screenshot options
Category A — new capture behaviour
clip: { x, y, width, height }— capture a specific rectangle of the viewport, overridingfull_pageandselectorfull_page_max_height— hard cap on infinite-scroll pagesfull_page_slices,full_page_slice_height,full_page_slice_overlap_height— split tall captures into overlapping strips for AI vision workflowsreduced_motionandmedia_type: "screen" | "print"emulationclick_accept— auto-click cookie-consent Accept buttons (OneTrust, Cookiebot, FundingChoices, generic heuristics)press_escape— dismiss modals via Escape keypressfail_if_selector_missing— hard-fail on missing selectors instead of silently ignoringattachment_name— setsContent-Dispositionon binary responsesAVIFas a first-class output format
Category B — PDF completeness
- Paper sizes: A0–A6, Letter, Legal, Tabloid, Ledger
- Orientation, per-side margins (top/right/bottom/left),
pdf_background,pdf_scale - Templated
pdf_header/pdf_footer(Chromium format:<span class="pageNumber">,totalPages,title,url,date) - Page range filter (
pdf_page_range: "1-5,8") - Document metadata:
pdf_title,pdf_subject,pdf_author,pdf_keywords,pdf_creator
Category C — extraction
extract_metadatareturns{title, favicon, open_graph, fonts, http_status, http_status_text, http_headers}in one field
Category D — request blocking
block_images,block_fonts,block_scripts,block_frames,block_urls(wildcard patterns),bypass_csp
Dependencies
sharpfor AVIF conversion + full-page slicingpdf-libfor PDF metadata post-processing
Rebrand: SnapAPI → getSnap.dev
- New brand across the entire stack: landing, docs, compare pages, SDKs, email templates, Swagger title, webhook User-Agent
- Class renamed
SnapAPI→GetSnapin the Node SDK; backwards-compat aliases preserved (SnapAPI,SnapAPIError) - New comparison landing table with 6 columns and honest research-based rows for ScreenshotAPI, Urlbox, ScreenshotOne, ApiFlash
- Four dedicated
/compare/*.htmldeep-dive pages - Node SDK
getsnappublished to npm (renamed from a legacy internal name)
Initial public release
Core API
POST /v1/screenshot— screenshot or PDF of any URL or HTML stringPOST /v1/batch— up to 100 URLs in one requestPOST /v1/render-link+GET /v1/render— signed GET URLs for<img>embeddingGET /v1/usage,GET /v1/health
Capture features
- AI popup removal (90+ heuristic selectors), ad blocking
- Full-page, mobile/tablet emulation, dark mode, Retina/HiDPI
- Element capture via selector, transparent PNG
- Wait-for-selector, lazy-load auto-scroll, click/scroll before capture
- Custom CSS/JS injection, cookies, headers, locale, timezone, user agent
- Text and HTML extraction
- Async webhooks, S3 upload to user-owned buckets
Platform
- Fastify + Playwright + Redis + SQLite stack on a single droplet
- DigitalOcean Spaces CDN with hash-based caching
- Sliding-window rate limiting, monthly quota enforcement
- Stripe metered billing with 4 plans (Free / Starter / Pro / Business)