{
  "openapi": "3.0.1",
  "info": {
    "title": "Website Screenshot Pro – Full Page, No Cookie Banners",
    "description": "Reliable full-page website screenshots for a flat $10 per 1,000 successful screenshots. Failed URLs are never charged. Loads lazy images, removes cookie banners, optional ad blocking, and includes page text as Markdown. PNG, JPEG or WebP.",
    "version": "1.0",
    "x-build-id": "4gn5RvBQ8xp3aDRkM"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/regiodata~website-screenshot-pro/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-regiodata-website-screenshot-pro",
        "x-openai-isConsequential": false,
        "summary": "Executes an Actor, waits for its completion, and returns Actor's dataset items in response.",
        "tags": [
          "Run Actor"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/inputSchema"
              }
            }
          }
        },
        "parameters": [
          {
            "name": "token",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Enter your Apify token here"
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/acts/regiodata~website-screenshot-pro/runs": {
      "post": {
        "operationId": "runs-sync-regiodata-website-screenshot-pro",
        "x-openai-isConsequential": false,
        "summary": "Executes an Actor and returns information about the initiated run in response.",
        "tags": [
          "Run Actor"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/inputSchema"
              }
            }
          }
        },
        "parameters": [
          {
            "name": "token",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Enter your Apify token here"
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/runsResponseSchema"
                }
              }
            }
          }
        }
      }
    },
    "/acts/regiodata~website-screenshot-pro/run-sync": {
      "post": {
        "operationId": "run-sync-regiodata-website-screenshot-pro",
        "x-openai-isConsequential": false,
        "summary": "Executes an Actor, waits for completion, and returns the OUTPUT from Key-value store in response.",
        "tags": [
          "Run Actor"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/inputSchema"
              }
            }
          }
        },
        "parameters": [
          {
            "name": "token",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Enter your Apify token here"
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    }
  },
  "components": {
    "schemas": {
      "inputSchema": {
        "type": "object",
        "required": [
          "urls"
        ],
        "properties": {
          "urls": {
            "title": "URLs",
            "type": "array",
            "description": "Web pages to capture. One screenshot per URL. \"https://\" is added automatically if missing.",
            "items": {
              "type": "string"
            }
          },
          "fullPage": {
            "title": "Full-page screenshot",
            "type": "boolean",
            "description": "Capture the entire scrollable page, not just the visible screen.",
            "default": true
          },
          "maxFullPageHeight": {
            "title": "Max full-page height (px)",
            "minimum": 500,
            "maximum": 30000,
            "type": "integer",
            "description": "Very long pages are cut at this height to keep runs fast and avoid browser memory crashes. The result row is marked `truncated: true` when this happens.",
            "default": 15000
          },
          "device": {
            "title": "Device",
            "enum": [
              "desktop",
              "tablet",
              "mobile"
            ],
            "type": "string",
            "description": "Desktop uses the viewport size below. Tablet (820×1180) and Mobile (390×844, 2× pixel density) emulate a touch device with a mobile browser user agent.",
            "default": "desktop"
          },
          "viewportWidth": {
            "title": "Viewport width (desktop)",
            "minimum": 320,
            "maximum": 3840,
            "type": "integer",
            "description": "Browser window width in CSS pixels. Used only when Device is Desktop.",
            "default": 1440
          },
          "viewportHeight": {
            "title": "Viewport height (desktop)",
            "minimum": 320,
            "maximum": 2160,
            "type": "integer",
            "description": "Browser window height in CSS pixels. Also the screenshot height when Full-page is off.",
            "default": 900
          },
          "deviceScaleFactor": {
            "title": "Pixel density (device scale factor)",
            "minimum": 0.5,
            "maximum": 3,
            "type": "number",
            "description": "1 = normal, 2 = retina/high-DPI (4× the pixels, bigger files). If left empty, Mobile uses 2 and the others use 1."
          },
          "format": {
            "title": "Image format",
            "enum": [
              "png",
              "jpeg",
              "webp"
            ],
            "type": "string",
            "description": "PNG is lossless. JPEG and WebP are much smaller; WebP is the smallest at similar quality.",
            "default": "png"
          },
          "quality": {
            "title": "JPEG/WebP quality",
            "minimum": 1,
            "maximum": 100,
            "type": "integer",
            "description": "Compression quality from 1 to 100. Ignored for PNG.",
            "default": 80
          },
          "waitUntil": {
            "title": "Wait until",
            "enum": [
              "networkidle",
              "load",
              "domcontentloaded"
            ],
            "type": "string",
            "description": "Which page-load signal to wait for before capturing. \"Network idle\" gives the most complete result. It is applied with a time limit, so pages that never stop loading still get captured instead of failing.",
            "default": "networkidle"
          },
          "delayMs": {
            "title": "Extra delay (ms)",
            "minimum": 0,
            "maximum": 30000,
            "type": "integer",
            "description": "Additional wait after the page loads, for animations and late content.",
            "default": 1000
          },
          "waitForSelector": {
            "title": "Wait for CSS selector",
            "type": "string",
            "description": "Optional. Wait until this element is visible before capturing, e.g. `#main-chart` or `.product-grid`. If it never appears, the screenshot is still taken and a warning is added."
          },
          "scrollToLoad": {
            "title": "Scroll to load lazy content",
            "type": "boolean",
            "description": "Scroll through the page step by step to trigger lazy-loaded images and sections, then scroll back to the top before capturing. Only used for full-page screenshots.",
            "default": true
          },
          "removeCookieBanners": {
            "title": "Remove cookie banners",
            "type": "boolean",
            "description": "Close consent pop-ups from OneTrust, Cookiebot, Didomi, Usercentrics, Quantcast, TrustArc, Google Funding Choices, Sourcepoint and more. \"Reject\" is clicked when available, otherwise \"Accept\". Leftover overlays are hidden with CSS.",
            "default": true
          },
          "cookieConsentAction": {
            "title": "Cookie banner button to click",
            "enum": [
              "accept",
              "reject"
            ],
            "type": "string",
            "description": "Which button to prefer when closing consent pop-ups. \"Accept\" works on every site, including the many EU news sites with \"accept or subscribe\" walls where rejecting leads to a paywall. \"Reject\" declines consent; if a site has no reject button, accept is used.",
            "default": "accept"
          },
          "hideFloatingBars": {
            "title": "Hide floating bars",
            "type": "boolean",
            "description": "In full-page screenshots, hide elements pinned to the bottom of the screen (promo bars, chat buttons, \"back to top\"). Otherwise they show up in the middle of the image.",
            "default": true
          },
          "hideSelectors": {
            "title": "Hide elements (CSS selectors)",
            "type": "array",
            "description": "Optional. CSS selectors of elements to hide before capturing, e.g. chat widgets, sticky promo bars, or ads: `#intercom-container`, `.newsletter-popup`.",
            "items": {
              "type": "string"
            }
          },
          "blockAds": {
            "title": "Block ads & trackers",
            "type": "boolean",
            "description": "Block requests to common ad networks, ad-tech and tracking services. Speeds up ad-heavy sites such as news portals and keeps screenshots clean. Turn off to capture pages exactly as visitors see them, ads included.",
            "default": true
          },
          "includeText": {
            "title": "Include page text (Markdown)",
            "type": "boolean",
            "description": "Also return the page title, meta description and the main page text as clean Markdown. Useful for AI pipelines, archiving and change monitoring. No extra charge.",
            "default": true
          },
          "maxConcurrency": {
            "title": "Max concurrency",
            "minimum": 1,
            "maximum": 20,
            "type": "integer",
            "description": "How many pages to capture in parallel. Higher is faster but needs more memory (roughly 400 MB per parallel page).",
            "default": 5
          },
          "pageTimeoutSecs": {
            "title": "Page timeout (seconds)",
            "minimum": 15,
            "maximum": 300,
            "type": "integer",
            "description": "Maximum time to load one page. All waits are bounded by this.",
            "default": 60
          },
          "maxRetries": {
            "title": "Retries per URL",
            "minimum": 0,
            "maximum": 5,
            "type": "integer",
            "description": "How often to retry a page that fails to load (timeouts, crashes, blocked). Permanent errors like non-existent domains are not retried. Failed pages are never charged.",
            "default": 2
          }
        }
      },
      "runsResponseSchema": {
        "type": "object",
        "properties": {
          "data": {
            "type": "object",
            "properties": {
              "id": {
                "type": "string"
              },
              "actId": {
                "type": "string"
              },
              "userId": {
                "type": "string"
              },
              "startedAt": {
                "type": "string",
                "format": "date-time",
                "example": "2025-01-08T00:00:00.000Z"
              },
              "finishedAt": {
                "type": "string",
                "format": "date-time",
                "example": "2025-01-08T00:00:00.000Z"
              },
              "status": {
                "type": "string",
                "example": "READY"
              },
              "meta": {
                "type": "object",
                "properties": {
                  "origin": {
                    "type": "string",
                    "example": "API"
                  },
                  "userAgent": {
                    "type": "string"
                  }
                }
              },
              "stats": {
                "type": "object",
                "properties": {
                  "inputBodyLen": {
                    "type": "integer",
                    "example": 2000
                  },
                  "rebootCount": {
                    "type": "integer",
                    "example": 0
                  },
                  "restartCount": {
                    "type": "integer",
                    "example": 0
                  },
                  "resurrectCount": {
                    "type": "integer",
                    "example": 0
                  },
                  "computeUnits": {
                    "type": "integer",
                    "example": 0
                  }
                }
              },
              "options": {
                "type": "object",
                "properties": {
                  "build": {
                    "type": "string",
                    "example": "latest"
                  },
                  "timeoutSecs": {
                    "type": "integer",
                    "example": 300
                  },
                  "memoryMbytes": {
                    "type": "integer",
                    "example": 1024
                  },
                  "diskMbytes": {
                    "type": "integer",
                    "example": 2048
                  }
                }
              },
              "buildId": {
                "type": "string"
              },
              "defaultKeyValueStoreId": {
                "type": "string"
              },
              "defaultDatasetId": {
                "type": "string"
              },
              "defaultRequestQueueId": {
                "type": "string"
              },
              "buildNumber": {
                "type": "string",
                "example": "1.0.0"
              },
              "containerUrl": {
                "type": "string"
              },
              "usage": {
                "type": "object",
                "properties": {
                  "ACTOR_COMPUTE_UNITS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_WRITES": {
                    "type": "integer",
                    "example": 1
                  },
                  "KEY_VALUE_STORE_LISTS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_INTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_EXTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_SERPS": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_UNBLOCKER_UNITS": {
                    "type": "integer",
                    "example": 0
                  }
                }
              },
              "usageTotalUsd": {
                "type": "number",
                "example": 0.00005
              },
              "usageUsd": {
                "type": "object",
                "properties": {
                  "ACTOR_COMPUTE_UNITS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_WRITES": {
                    "type": "number",
                    "example": 0.00005
                  },
                  "KEY_VALUE_STORE_LISTS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_INTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_EXTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_SERPS": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_UNBLOCKER_UNITS": {
                    "type": "integer",
                    "example": 0
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}