MH MediaHarvester Web Context API

Website Screenshot

Capture responsive website screenshots

Enter one URL or a batch of URLs, choose mobile, tablet, desktop or custom viewport sizes, and generate downloadable screenshots from localhost.

API POST /v1/web/screenshots/batch

Input

URLs and viewport sizes

Developer Access

Use the same workflow through the API

The local API key is already enabled for localhost apps. Send one URL or a list of URLs with the device presets you need.

curl.exe -X POST "http://127.0.0.1:8013/v1/web/screenshots/batch" ^
  -H "Content-Type: application/json" ^
  -H "X-API-Key: mh-localhost-dev-key" ^
  -d "{\"urls\":[\"https://example.com\"],\"presets\":[\"mobile\",\"tablet\",\"desktop\"],\"fullScreenshot\":true}"