Skip to main content
Beta. This endpoint is new and its response shape may still change. It is the companion to Export Page Snapshots, which tells you which snapshot each bot received; this returns the HTML itself.
Returns the stored HTML for a single snapshot ID. Every request re-checks that the snapshot belongs to a domain your account can access, so a snapshot ID is a durable reference — unlike the temporary htmlUrl links, it doesn’t expire.
Always call this endpoint from a server-side environment (backend API, serverless function, build script, etc.). Never include your API key in client-side code — it will be visible to anyone inspecting your frontend.
Programmatic (API key) access requires the Pro plan and above — requests from Starter accounts return 403 plan_upgrade_required.

Which should I use?

Request

Headers

Body Parameters

* Exactly one of snapshot_id or id is required. id refers to a live crawl-feed event and is used by the dashboard; API integrations should use snapshot_id.

Example Request

Response

Success (200)

Error Responses

snapshot not found in storage is expected for older snapshots. The stored HTML is retained on a rolling basis while the crawl history is kept indefinitely, so a snapshot ID can outlive its downloadable copy. Fetch the HTML soon after export if you need to keep it.

Example

Export a page’s snapshot history, then pull the HTML for each distinct version:
Iterate the snapshots dictionary rather than rows — a single version is usually served across many day × bot combinations, so keying off rows would fetch the same HTML repeatedly and burn your quota.