> ## Documentation Index
> Fetch the complete documentation index at: /llms.txt
> Use this file to discover all available pages before exploring further.

# Introduction

> ScreenshotRender is the web API for your agents and apps. Screenshot any website, search the web, and turn any page or document into clean Markdown or structured data.

ScreenshotRender is the web API for your agents and apps. It screenshots any website, searches the web, and turns any page or document into clean Markdown or structured data. Your agent can see a page, read it, and pull out exactly what it needs. It's one account and one key, and it works in the tools you already use.

Connect through the [MCP server](/mcp-server.md), the [SDKs](/sdks/overview.md) or the [API](/api-reference/introduction.md), all with one key.

## Get started

The MCP server runs with `npx -y screenshotrender-mcp` and reads your key from `SCREENSHOTRENDER_API_KEY`.

* Claude Code: `claude mcp add screenshotrender --env SCREENSHOTRENDER_API_KEY=sr-YOUR-API-KEY -- npx -y screenshotrender-mcp`
* Claude Desktop or Cursor (JSON config): `{"mcpServers": {"screenshotrender": {"command": "npx", "args": ["-y", "screenshotrender-mcp"], "env": {"SCREENSHOTRENDER_API_KEY": "sr-YOUR-API-KEY"}}}}`
* Hosted (no install, one tool: `take_screenshot`): `https://www.screenshotrender.com/api/mcp` with the header `Authorization: Bearer sr-YOUR-API-KEY`

All setup options: [MCP server](/mcp-server.md).

### Build directly with the API

Scrape your first page now. No account or API key is required for this request.

```bash cURL
# No API key needed to try it. Add -H "Authorization: Bearer $SCREENSHOTRENDER_API_KEY" for your account's limits:
curl -s -X POST "https://www.screenshotrender.com/api/v1/scrape" \
  -H "Content-Type: application/json" \
  -d '{
    "url": "https://example.com",
    "formats": ["markdown"]
  }'
```

Add an [API key](https://www.screenshotrender.com/dashboard) when you need more. See the [Python SDK](/sdks/python.md), [Node SDK](/sdks/node.md), or [API reference](/api-reference/introduction.md) to build it into your application.

## Other ways to get started

### Set up with an agent

Give your agent this setup prompt, or see [all MCP setup options](/mcp-server.md).

Adds the ScreenshotRender MCP server to your coding agent.

Add the ScreenshotRender MCP server to this agent. It is the npm package screenshotrender-mcp: run it with `npx -y screenshotrender-mcp` and set the environment variable SCREENSHOTRENDER\_API\_KEY to my API key, which starts with sr- (I can copy it from [https://www.screenshotrender.com/dashboard](https://www.screenshotrender.com/dashboard)). It adds six tools: take\_screenshot, search, scrape, parse, map and crawl. The API reference for agents is at [https://www.screenshotrender.com/llms.txt](https://www.screenshotrender.com/llms.txt).

> [!NOTE]
>
> **For AI agents:** [llms.txt](https://www.screenshotrender.com/llms.txt) describes the whole API in one plain text file: every endpoint with its options, credits and error codes. Every page of these docs is also available as Markdown: add `.md` to its URL.

### Build and test directly

> [card] [Get your API key](https://www.screenshotrender.com/dashboard)
>
> Create a free account for direct API access and 100 free credits

> [card] [Try it in the Playground](https://www.screenshotrender.com/playground)
>
> Test ScreenshotRender in the browser without writing code

***

## What can ScreenshotRender do?

The web, with one API key.

> [card] [Screenshot](#screenshot)
>
> Capture any page, the browser window or the full page.

> [card] [Search](#search)
>
> Search the web and get full page content from results.

> [card] [Scrape](#scrape)
>
> Any URL as Markdown, HTML or structured JSON.

> [card] [Parse](/features/parse.md)
>
> PDFs, spreadsheets and more, as clean Markdown.

> [card] [Map](/features/map.md)
>
> The URLs of a website, with their titles.

> [card] [Crawl](/features/crawl.md)
>
> Read a whole site, page by page.

### Why ScreenshotRender?

* **Clean output**: Markdown, structured JSON, screenshots and more.
* **Handles the hard parts**: JavaScript rendering, ads and cookie banners, and it respects robots.txt.
* **Screenshots you can share**: every capture comes back as a link on our domain, kept for 30 days.
* **Pay for what works**: a request that fails costs nothing.
* **Works where your agent works**: The [MCP server](/mcp-server.md), [SDKs](/sdks/overview.md) and [API](/api-reference/introduction.md) all use the same key.

***

## Screenshot

Capture any page as an image. Ask for the browser window or the full page, at any window size. See the [Screenshot feature docs](/features/screenshot.md) for all options.

```python Python
from screenshotrender import ScreenshotRender

screenshotrender = ScreenshotRender(api_key="sr-YOUR-API-KEY")

shot = screenshotrender.screenshot("https://example.com")
print(shot.screenshot)  # the image's URL
```

```js Node
import ScreenshotRender from "screenshotrender";

const screenshotrender = new ScreenshotRender({ apiKey: "sr-YOUR-API-KEY" });

const shot = await screenshotrender.screenshot("https://example.com");
console.log(shot.screenshot); // the image's URL
```

```bash cURL
curl -s -X POST "https://www.screenshotrender.com/api/v1/scrape" \
  -H "Authorization: Bearer $SCREENSHOTRENDER_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "url": "https://example.com",
    "formats": ["screenshot"]
  }'
```

```json Response
{
  "success": true,
  "data": {
    "screenshot": "https://www.screenshotrender.com/files/screenshots/8o0RFROSVXjP2IShpJLe4PMDX60WrcH8.png",
    "metadata": {
      "title": "Example Domain",
      "language": "en",
      "sourceURL": "https://example.com/",
      "url": "https://www.example.com/",
      "statusCode": 200,
      "contentType": "text/html; charset=utf-8",
      "proxyUsed": "basic",
      "cacheState": "hit",
      "cachedAt": "2026-12-03T11:45:46.804Z"
    }
  },
  "creditsUsed": 1
}
```

## Search

Search the web and get full page content from results in one call. See the [Search feature docs](/features/search.md) for all options.

```python Python
from screenshotrender import ScreenshotRender

screenshotrender = ScreenshotRender(api_key="sr-YOUR-API-KEY")

results = screenshotrender.search("open source vector databases", limit=3)

for result in results.web or []:
    print(result.title, result.url)
```

```js Node
import ScreenshotRender from "screenshotrender";

const screenshotrender = new ScreenshotRender({ apiKey: "sr-YOUR-API-KEY" });

const results = await screenshotrender.search("open source vector databases", { limit: 3 });

for (const result of results.web ?? []) {
  console.log(result.title, result.url);
}
```

```bash cURL
curl -s -X POST "https://www.screenshotrender.com/api/v1/search" \
  -H "Authorization: Bearer $SCREENSHOTRENDER_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "query": "open source vector databases",
    "limit": 3
  }'
```

```json Response
{
  "success": true,
  "data": {
    "web": [
      {
        "url": "https://medium.com/@michael.hannecke/comparison-of-5-open-source-vector-databases-89fcce12578f",
        "title": "Comparison of 5 Open Source Vector Databases | by Michael Hannecke",
        "description": "Comprehensive comparison of Milvus, Qdrant, Weaviate, Chroma, and FAISS vector databases with Python examples, detailed pros/cons, ...",
        "position": 1
      },
      {
        "url": "https://redis.io/blog/best-open-source-vector-databases-comparison/",
        "title": "Comparing the best open source vector databases (2026)",
        "description": "# Comparing the best open source vector databases\nOpen source vector databases come in two flavors: specialized tools that handle vectors and nothing else, or u...",
        "position": 2
      },
      {
        "url": "https://www.zenml.io/blog/vector-databases-for-rag",
        "title": "We Tried and Tested 10 Best Vector Databases for RAG Pipelines",
        "description": "# We Tried and Tested 10 Best Vector Databases for RAG Pipelines\n## TL;DR for Top Vector Databases for RAG Pipelines\n- [Weaviate](https://weaviate.io/): An open...",
        "position": 3
      }
    ]
  },
  "creditsUsed": 2
}
```

## Scrape

Scrape any URL and get its content in Markdown, HTML, or other formats. See the [Scrape feature docs](/features/scrape.md) for all options.

```python Python
from screenshotrender import ScreenshotRender

screenshotrender = ScreenshotRender(api_key="sr-YOUR-API-KEY")

doc = screenshotrender.scrape("https://example.com", formats=["markdown", "html"])
print(doc.markdown)
```

```js Node
import ScreenshotRender from "screenshotrender";

const screenshotrender = new ScreenshotRender({ apiKey: "sr-YOUR-API-KEY" });

const doc = await screenshotrender.scrape("https://example.com", {
  formats: ["markdown", "html"],
});
console.log(doc.markdown);
```

```bash cURL
curl -s -X POST "https://www.screenshotrender.com/api/v1/scrape" \
  -H "Authorization: Bearer $SCREENSHOTRENDER_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "url": "https://example.com",
    "formats": ["markdown", "html"]
  }'
```

```json Response
{
  "success": true,
  "data": {
    "markdown": "This domain is for use in documentation examples without needing permission. This is not a service; avoid relying on it for testing and monitoring purposes.\n\nهذا النطاق مُخصص للاستخدام في أمثلة التوثي...",
    "html": "<!DOCTYPE html><html lang=\"en\"><body><svg viewBox=\"0,0,20,20\" width=\"44\" height=\"44\" fill=\"currentColor\" aria-hidden=\"tr...",
    "metadata": {
      "title": "Example Domain",
      "language": "en",
      "sourceURL": "https://example.com/",
      "url": "https://example.com/",
      "statusCode": 200,
      "contentType": "text/html; charset=utf-8",
      "proxyUsed": "basic",
      "cacheState": "hit",
      "cachedAt": "2026-12-03T12:13:45.080Z"
    }
  },
  "creditsUsed": 1
}
```

***

## More capabilities

> [card] [JSON extraction](/features/llm-extract.md)
>
> Pull structured data out of any page with a prompt or a schema.

> [card] [Parse](/features/parse.md)
>
> Upload a document or send its URL, get Markdown back.

> [card] [Map](/features/map.md)
>
> List the URLs on a site, ordered by relevance to a search.

> [card] [Crawl](/features/crawl.md)
>
> Read many pages of a site in one job.

***

## Resources

> [card] [API Reference](/api-reference/introduction.md)
>
> Every endpoint, option and response field.

> [card] [SDKs](/sdks/overview.md)
>
> Official Node and Python SDKs.

> [card] [MCP server](/mcp-server.md)
>
> Six tools for Claude, Cursor and any MCP client.

> [card] [Billing](/billing.md)
>
> How credits work, and what each request costs.
