screenshotbase.com API documentation

Use the screenshotbase.com API to render any website, or HTML you send, as a screenshot, a PDF or markdown and integrate it into your product using one of our SDKs or other pre-built integrations.

Building with an AI assistant? The full API is available as a machine-readable OpenAPI 3.1 specification, and the documentation is published as llms.txt / llms-full.txt. There is also a hosted MCP server at https://api.screenshotbase.com/mcp that AI agents can connect to directly.

Getting started

AI coding agents: run curl -s https://screenshotbase.com/agents.md and follow it: an API key, the first call and the right plan, step by step. To get started, register for a free API key. Then follow our quickstart guide or read on and integrate screenshotbase.com with our HTTP API. When you need a higher monthly screenshot volume, upgrade your plan.

Guides

SDKs

Developer experience matters to us. Integrate screenshotbase using one of our pre-built integrations.

Read more

Authentication

Learn how to authenticate with our API using HTTP headers or GET parameters.

Read more

Rate limit & quotas

Understand which endpoints count towards your monthly request quota and impact your rate limit.

Read more

Request status codes

Read about the different success & error status codes returned by the screenshotbase API.

Read more

Endpoints

API status

Learn how to retrieve your API quota programmatically.

Take website screenshot

Learn how to retrieve the screenshot of a website.

Website to PDF

Learn how to print a website as a PDF with paper size, margins and page ranges.

HTML to PDF or image

Learn how to render your own HTML, such as invoices or reports, as a PDF or a screenshot.

Website to markdown

Learn how to get the content of a website as markdown, as text or JSON.