{
  "info": {
    "_postman_id": "screenshotapi-2026-v1",
    "name": "ScreenshotAPI",
    "description": "Render any URL to PNG / JPG / PDF / MP4 / GIF. Set the {{apiKey}} variable in the Variables tab to authorize all requests.\n\nDocs: https://websitescreenshotapi.net/docs",
    "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json"
  },
  "variable": [
    { "key": "baseUrl", "value": "https://websitescreenshotapi.net/api/v1", "type": "string" },
    { "key": "apiKey",  "value": "sho_live_REPLACE_ME",                 "type": "string" }
  ],
  "auth": {
    "type": "bearer",
    "bearer": [{ "key": "token", "value": "{{apiKey}}", "type": "string" }]
  },
  "item": [
    {
      "name": "Screenshot (sync image)",
      "request": {
        "method": "POST",
        "header": [{ "key": "Content-Type", "value": "application/json" }],
        "url": { "raw": "{{baseUrl}}/screenshot", "host": ["{{baseUrl}}"], "path": ["screenshot"] },
        "body": { "mode": "raw", "raw": "{\n  \"url\": \"https://news.ycombinator.com\",\n  \"format\": \"png\",\n  \"full_page\": true,\n  \"block_ads\": true,\n  \"block_cookie_banners\": true,\n  \"viewport_width\": 1920,\n  \"viewport_height\": 1080\n}" }
      }
    },
    {
      "name": "Screenshot full-page mobile (iPhone 15 Pro)",
      "request": {
        "method": "POST",
        "header": [{ "key": "Content-Type", "value": "application/json" }],
        "url": { "raw": "{{baseUrl}}/screenshot", "host": ["{{baseUrl}}"], "path": ["screenshot"] },
        "body": { "mode": "raw", "raw": "{\n  \"url\": \"https://example.com\",\n  \"device\": \"iphone_15_pro\",\n  \"full_page\": true,\n  \"format\": \"jpg\",\n  \"quality\": 85\n}" }
      }
    },
    {
      "name": "Screenshot of a CSS selector",
      "request": {
        "method": "POST",
        "header": [{ "key": "Content-Type", "value": "application/json" }],
        "url": { "raw": "{{baseUrl}}/screenshot", "host": ["{{baseUrl}}"], "path": ["screenshot"] },
        "body": { "mode": "raw", "raw": "{\n  \"url\": \"https://news.ycombinator.com\",\n  \"selector\": \".athing\",\n  \"format\": \"png\"\n}" }
      }
    },
    {
      "name": "PDF render (A4)",
      "request": {
        "method": "POST",
        "header": [{ "key": "Content-Type", "value": "application/json" }],
        "url": { "raw": "{{baseUrl}}/screenshot", "host": ["{{baseUrl}}"], "path": ["screenshot"] },
        "body": { "mode": "raw", "raw": "{\n  \"url\": \"https://example.com\",\n  \"format\": \"pdf\",\n  \"pdf_paper\": \"A4\",\n  \"full_page\": true\n}" }
      }
    },
    {
      "name": "Async screenshot + webhook",
      "request": {
        "method": "POST",
        "header": [{ "key": "Content-Type", "value": "application/json" }],
        "url": { "raw": "{{baseUrl}}/screenshot-async", "host": ["{{baseUrl}}"], "path": ["screenshot-async"] },
        "body": { "mode": "raw", "raw": "{\n  \"url\": \"https://example.com\",\n  \"format\": \"png\",\n  \"webhook_url\": \"https://your-app.com/wh/screenshot\",\n  \"webhook_secret\": \"my-shared-secret-32-chars\"\n}" }
      }
    },
    {
      "name": "Animate — scroll video MP4",
      "request": {
        "method": "POST",
        "header": [{ "key": "Content-Type", "value": "application/json" }],
        "url": { "raw": "{{baseUrl}}/animate", "host": ["{{baseUrl}}"], "path": ["animate"] },
        "body": { "mode": "raw", "raw": "{\n  \"url\": \"https://github.com\",\n  \"format\": \"mp4\",\n  \"scenario\": \"scroll\",\n  \"scroll_mode\": \"continuous\",\n  \"duration\": 10,\n  \"scroll_easing\": \"ease_in_out_quint\",\n  \"scroll_back\": true\n}" }
      }
    },
    {
      "name": "Animate — auto-duration (page-aware)",
      "request": {
        "method": "POST",
        "header": [{ "key": "Content-Type", "value": "application/json" }],
        "url": { "raw": "{{baseUrl}}/animate", "host": ["{{baseUrl}}"], "path": ["animate"] },
        "body": { "mode": "raw", "raw": "{\n  \"url\": \"https://your-landing-page.com\",\n  \"format\": \"mp4\",\n  \"scenario\": \"scroll\",\n  \"auto_duration\": true,\n  \"max_duration\": 15,\n  \"scroll_speed_pps\": 400\n}" }
      }
    },
    {
      "name": "Animate — GIF",
      "request": {
        "method": "POST",
        "header": [{ "key": "Content-Type", "value": "application/json" }],
        "url": { "raw": "{{baseUrl}}/animate", "host": ["{{baseUrl}}"], "path": ["animate"] },
        "body": { "mode": "raw", "raw": "{\n  \"url\": \"https://example.com\",\n  \"format\": \"gif\",\n  \"scenario\": \"scroll\",\n  \"duration\": 6,\n  \"gif_fps\": 12,\n  \"gif_width\": 720\n}" }
      }
    },
    {
      "name": "Bulk batch (≤500 URLs) + webhook",
      "request": {
        "method": "POST",
        "header": [{ "key": "Content-Type", "value": "application/json" }],
        "url": { "raw": "{{baseUrl}}/bulk", "host": ["{{baseUrl}}"], "path": ["bulk"] },
        "body": { "mode": "raw", "raw": "{\n  \"urls\": [\n    \"https://example.com\",\n    \"https://news.ycombinator.com\",\n    \"https://github.com\"\n  ],\n  \"format\": \"png\",\n  \"viewport_width\": 1280,\n  \"block_ads\": true,\n  \"webhook_url\": \"https://your-app.com/wh/batch\",\n  \"webhook_secret\": \"shared-secret\"\n}" }
      }
    },
    {
      "name": "Get screenshot status (async polling)",
      "request": {
        "method": "GET",
        "url": { "raw": "{{baseUrl}}/screenshot/REPLACE_DB_ID", "host": ["{{baseUrl}}"], "path": ["screenshot", "REPLACE_DB_ID"] }
      }
    },
    {
      "name": "Get batch status",
      "request": {
        "method": "GET",
        "url": { "raw": "{{baseUrl}}/batch/bat_REPLACE_ME", "host": ["{{baseUrl}}"], "path": ["batch", "bat_REPLACE_ME"] }
      }
    },
    {
      "name": "Get batch status with all results inlined",
      "request": {
        "method": "GET",
        "url": {
          "raw": "{{baseUrl}}/batch/bat_REPLACE_ME?include=results",
          "host": ["{{baseUrl}}"],
          "path": ["batch", "bat_REPLACE_ME"],
          "query": [{ "key": "include", "value": "results" }]
        }
      }
    },
    {
      "name": "Get plan & quota",
      "request": {
        "method": "GET",
        "url": { "raw": "{{baseUrl}}/credits", "host": ["{{baseUrl}}"], "path": ["credits"] }
      }
    },
    {
      "name": "Public demo (no auth, 3/IP/24h)",
      "request": {
        "auth": { "type": "noauth" },
        "method": "POST",
        "header": [{ "key": "Content-Type", "value": "application/json" }],
        "url": { "raw": "{{baseUrl}}/demo", "host": ["{{baseUrl}}"], "path": ["demo"] },
        "body": { "mode": "raw", "raw": "{\n  \"url\": \"https://example.com\"\n}" }
      }
    }
  ]
}
