---
canonical: 'https://htmlcsstoimage.com/features/scrolling-screenshots'
title: 'Scrolling Screenshot API: Website to Video & GIF | HCTI'
description: 'Record scrolling website screenshots as MP4, WebM, or GIF with an API. Control viewport, scrolling, pauses, and duration, then retrieve the hosted recording.'
---

# Turn a scrolling webpage into a video or GIF

Send a URL and a scroll action. The API records the page scrolling in headless Chrome, scroll-triggered animations included, and returns a hosted MP4, WebM, or GIF URL.

## Key capabilities

- MP4, WebM & GIF
- Scroll and pause controls
- Hosted recording URLs

## MCP Integration

Connect an MCP-compatible client to `https://mcp.hcti.io` with OAuth. The tools use the connected organization's HTML/CSS to Image account, permissions, and plan limits.

- Use `create_url_recording` to record a public webpage as MP4, WebM, or GIF. Add scrolling, clicks, and pauses with actions, and set the recording duration and output options.
- Creation returns a recording ID and URLs before capture completes. Use `get_recording_status` to check readiness and retrieve the media URL; use `store_recording` to start a deferred recording.

[Read the full MCP docs](https://docs.htmlcsstoimage.com/integrations/mcp/).

## Show a whole page in one clip

### Website portfolios

Show a landing page from its headline through the details below the fold.

### Product walkthroughs

Combine scrolling with clicks and pauses to demonstrate a feature or interaction.

### Website previews

Generate a moving preview for a directory, launch announcement, or customer presentation.

## Related features

- [HTML to Video](https://htmlcsstoimage.com/features/html-to-video.md): Record HTML and CSS animations as video or GIF.
- [URL Screenshots](https://htmlcsstoimage.com/features/url-screenshots.md): Screenshot any website with one API call.
- [Webhooks](https://htmlcsstoimage.com/features/webhooks.md): Get notified when images are stored and resources change.

## Get started

REST API requests require an HTML/CSS to Image account and should be authenticated from trusted application code. Check the API docs and pricing for current setup instructions, limits, and feature availability.

- [View the full feature page](https://htmlcsstoimage.com/features/scrolling-screenshots)
- [Browse all features](https://htmlcsstoimage.com/features.md)
- [View pricing](https://htmlcsstoimage.com/pricing.md)
- [Read the API docs](https://docs.htmlcsstoimage.com/getting-started/recordings/)
- [Read the MCP docs](https://docs.htmlcsstoimage.com/integrations/mcp/)
