{
  "openapi": "3.0.1",
  "info": {
    "title": "Full Page Screenshot Pro",
    "description": "Full-page or viewport screenshots of any URL list as JPG, PNG, WebP or PDF. Hides cookie banners, loads lazy images, renders emoji, iPhone/iPad/Pixel presets, dark mode, retina and ZIP download. Failed or bot-blocked pages are never charged.",
    "version": "0.2",
    "x-build-id": "CbquidC4xujuzRrbP"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/goblinlabs~full-page-screenshot-pro/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-goblinlabs-full-page-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/goblinlabs~full-page-screenshot-pro/runs": {
      "post": {
        "operationId": "runs-sync-goblinlabs-full-page-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/goblinlabs~full-page-screenshot-pro/run-sync": {
      "post": {
        "operationId": "run-sync-goblinlabs-full-page-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": "Pages to capture.",
            "items": {
              "type": "object",
              "required": [
                "url"
              ],
              "properties": {
                "url": {
                  "type": "string",
                  "title": "URL of a web page",
                  "format": "uri"
                }
              }
            }
          },
          "device": {
            "title": "Device",
            "enum": [
              "desktop",
              "laptop",
              "tablet",
              "iphone",
              "pixel",
              "custom"
            ],
            "type": "string",
            "description": "Screen size and device to emulate. Mobile presets also set a mobile user agent and touch.",
            "default": "desktop"
          },
          "customWidth": {
            "title": "Custom width (px)",
            "minimum": 200,
            "maximum": 3840,
            "type": "integer",
            "description": "Used when Device is Custom.",
            "default": 1280
          },
          "customHeight": {
            "title": "Custom height (px)",
            "minimum": 200,
            "maximum": 4000,
            "type": "integer",
            "description": "Used when Device is Custom.",
            "default": 800
          },
          "captureMode": {
            "title": "Capture mode",
            "enum": [
              "fullPage",
              "viewport",
              "fixedHeight",
              "element"
            ],
            "type": "string",
            "description": "What part of the page to capture.",
            "default": "fullPage"
          },
          "fixedHeight": {
            "title": "Fixed height (px)",
            "minimum": 100,
            "type": "integer",
            "description": "Used when Capture mode is Fixed height.",
            "default": 1080
          },
          "selector": {
            "title": "Element CSS selector",
            "type": "string",
            "description": "Used when Capture mode is Element. The first visible match is captured."
          },
          "format": {
            "title": "Output format",
            "enum": [
              "png",
              "jpg",
              "webp",
              "pdf"
            ],
            "type": "string",
            "description": "WebP is limited to 16,383 px tall (the format's maximum); taller pages are cut and flagged as truncated.",
            "default": "jpg"
          },
          "jpegQuality": {
            "title": "JPG quality",
            "minimum": 1,
            "maximum": 100,
            "type": "integer",
            "description": "Used when format is JPG.",
            "default": 80
          },
          "darkMode": {
            "title": "Dark mode",
            "type": "boolean",
            "description": "Emulate prefers-color-scheme: dark. Only affects sites that support it.",
            "default": false
          },
          "retina": {
            "title": "Retina (2x)",
            "type": "boolean",
            "description": "Render at device scale factor 2. Images are twice the width and height.",
            "default": false
          },
          "hideCookieBanners": {
            "title": "Hide cookie banners and consent pop-ups",
            "type": "boolean",
            "description": "Clicks a visible Accept button if one exists, then hides common consent platforms and fixed cookie notices.",
            "default": true
          },
          "hideStickyHeaders": {
            "title": "Hide sticky / fixed headers",
            "type": "boolean",
            "description": "Hide every fixed or sticky element (headers, chat widgets, bars). When off, a top header is kept once at the top of a full-page capture.",
            "default": false
          },
          "hideSelectors": {
            "title": "Extra CSS selectors to hide",
            "type": "array",
            "description": "Any other elements to hide before capture.",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "scrollToLoad": {
            "title": "Auto-scroll to load lazy images",
            "type": "boolean",
            "description": "Scroll through the page first so lazy-loaded images and sections appear.",
            "default": true
          },
          "lazyLoadWaitMs": {
            "title": "Wait for images (ms)",
            "minimum": 0,
            "maximum": 60000,
            "type": "integer",
            "description": "Maximum time to wait for unfinished images after scrolling.",
            "default": 5000
          },
          "waitUntil": {
            "title": "Wait until",
            "enum": [
              "load",
              "domcontentloaded",
              "networkidle"
            ],
            "type": "string",
            "description": "Page load event to wait for.",
            "default": "domcontentloaded"
          },
          "delayMs": {
            "title": "Extra delay (ms)",
            "minimum": 0,
            "type": "integer",
            "description": "Extra wait after load, before capture.",
            "default": 0
          },
          "maxHeight": {
            "title": "Max page height (px)",
            "minimum": 500,
            "type": "integer",
            "description": "Very long pages are cut at this height and flagged as truncated.",
            "default": 15000
          },
          "createZip": {
            "title": "Bundle all files into a ZIP",
            "type": "boolean",
            "description": "Also save one ZIP of every output as 'all-screenshots' in the key-value store.",
            "default": false
          },
          "maxConcurrency": {
            "title": "Max parallel pages",
            "minimum": 1,
            "type": "integer",
            "description": "Default: 1 per GB of memory."
          },
          "pageTimeoutSecs": {
            "title": "Per-page timeout (seconds)",
            "minimum": 10,
            "maximum": 600,
            "type": "integer",
            "description": "Give up on a page after this many seconds (not charged).",
            "default": 60
          },
          "blockHeavyResources": {
            "title": "Block video/audio and ad/analytics scripts",
            "type": "boolean",
            "description": "Faster and cheaper; these never affect a still screenshot.",
            "default": true
          },
          "proxyConfiguration": {
            "title": "Proxy",
            "type": "object",
            "description": "Optional Apify Proxy for sites that block datacenter IPs. Off by default.",
            "default": {
              "useApifyProxy": false
            }
          },
          "networkIdleMaxMs": {
            "title": "Max wait for network idle (ms)",
            "minimum": 0,
            "maximum": 30000,
            "type": "integer",
            "description": "After the page's HTML loads, wait up to this long for the network to go quiet.",
            "default": 3000
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}