{
  "openapi": "3.0.1",
  "info": {
    "title": "Chrome Extension & Source Code Scraper",
    "description": "Scrape Chrome Web Store extensions from search, categories, or direct URLs. Filter by featured status, ratings, and users. Get full metadata, reviews, and optional source .zip files. Pick a region — results vary by country.",
    "version": "0.0",
    "x-build-id": "USAJRfFCYECPn7HFX"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/calm_builder~chrome-extension-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-calm_builder-chrome-extension-scraper",
        "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/calm_builder~chrome-extension-scraper/runs": {
      "post": {
        "operationId": "runs-sync-calm_builder-chrome-extension-scraper",
        "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/calm_builder~chrome-extension-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-calm_builder-chrome-extension-scraper",
        "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": [
          "proxyCountry"
        ],
        "properties": {
          "proxyCountry": {
            "title": "Request Country",
            "enum": [
              "us",
              "af",
              "al",
              "dz",
              "as",
              "ad",
              "ao",
              "ai",
              "ag",
              "ar",
              "am",
              "aw",
              "au",
              "at",
              "az",
              "bs",
              "bh",
              "bd",
              "bb",
              "by",
              "be",
              "bz",
              "bj",
              "bm",
              "bt",
              "bo",
              "bq",
              "ba",
              "bw",
              "br",
              "io",
              "vg",
              "bn",
              "bg",
              "bf",
              "bi",
              "kh",
              "cm",
              "ca",
              "cv",
              "ky",
              "cf",
              "td",
              "cl",
              "cn",
              "co",
              "km",
              "cg",
              "cr",
              "hr",
              "cu",
              "cw",
              "cy",
              "cz",
              "cd",
              "dk",
              "dj",
              "dm",
              "do",
              "ec",
              "eg",
              "sv",
              "gq",
              "ee",
              "et",
              "fk",
              "fj",
              "fi",
              "fr",
              "gf",
              "pf",
              "ga",
              "gm",
              "ge",
              "de",
              "gh",
              "gi",
              "gr",
              "gl",
              "gd",
              "gp",
              "gu",
              "gt",
              "gg",
              "gn",
              "gw",
              "gy",
              "ht",
              "hn",
              "hk",
              "hu",
              "is",
              "in",
              "id",
              "ir",
              "iq",
              "ie",
              "im",
              "il",
              "it",
              "ci",
              "jm",
              "jp",
              "je",
              "jo",
              "kz",
              "ke",
              "xk",
              "kw",
              "kg",
              "la",
              "lv",
              "lb",
              "ls",
              "lr",
              "ly",
              "li",
              "lt",
              "lu",
              "mo",
              "mk",
              "mg",
              "mw",
              "my",
              "mv",
              "ml",
              "mt",
              "mq",
              "mr",
              "mu",
              "yt",
              "mx",
              "fm",
              "md",
              "mc",
              "mn",
              "me",
              "ms",
              "ma",
              "mz",
              "mm",
              "na",
              "np",
              "nl",
              "nc",
              "nz",
              "ni",
              "ne",
              "ng",
              "mp",
              "no",
              "om",
              "pk",
              "pw",
              "ps",
              "pa",
              "pg",
              "py",
              "pe",
              "ph",
              "pl",
              "pt",
              "pr",
              "qa",
              "re",
              "ro",
              "ru",
              "rw",
              "sh",
              "kn",
              "lc",
              "mf",
              "pm",
              "vc",
              "ws",
              "sm",
              "st",
              "sa",
              "sn",
              "rs",
              "sc",
              "sl",
              "sg",
              "sx",
              "sk",
              "si",
              "so",
              "za",
              "kr",
              "ss",
              "es",
              "lk",
              "sd",
              "sr",
              "sz",
              "se",
              "ch",
              "sy",
              "tw",
              "tj",
              "tz",
              "th",
              "tl",
              "tg",
              "to",
              "tt",
              "tn",
              "tr",
              "tm",
              "tc",
              "ug",
              "ua",
              "ae",
              "gb",
              "uy",
              "uz",
              "ve",
              "vn",
              "vi",
              "wf",
              "ye",
              "zm",
              "zw"
            ],
            "type": "string",
            "description": "Country used for Chrome Web Store requests. Listings, rankings, and available extensions can differ by region, so choose the market you want to scrape.",
            "default": "us"
          },
          "searchUrls": {
            "title": "Search URLs & Queries",
            "type": "array",
            "description": "Enter Chrome Web Store search URLs or plain search keywords.",
            "items": {
              "type": "string"
            }
          },
          "maxExtensionsPerSearch": {
            "title": "Max Extensions Per Search",
            "minimum": 1,
            "maximum": 10000,
            "type": "integer",
            "description": "The maximum number of extensions to scrape per search query or URL.",
            "default": 10
          },
          "categoryLinks": {
            "title": "Custom Category URLs",
            "type": "array",
            "description": "Enter custom Chrome Web Store category URLs.",
            "items": {
              "type": "string"
            }
          },
          "predefinedCategories": {
            "title": "Predefined Categories",
            "type": "array",
            "description": "Select from standard Chrome Web Store categories.",
            "items": {
              "type": "string",
              "enum": [
                "https://chromewebstore.google.com/category/extensions/productivity/communication",
                "https://chromewebstore.google.com/category/extensions/productivity/developer",
                "https://chromewebstore.google.com/category/extensions/productivity/education",
                "https://chromewebstore.google.com/category/extensions/productivity/tools",
                "https://chromewebstore.google.com/category/extensions/productivity/workflow",
                "https://chromewebstore.google.com/category/extensions/lifestyle/art",
                "https://chromewebstore.google.com/category/extensions/lifestyle/entertainment",
                "https://chromewebstore.google.com/category/extensions/lifestyle/games",
                "https://chromewebstore.google.com/category/extensions/lifestyle/household",
                "https://chromewebstore.google.com/category/extensions/lifestyle/fun",
                "https://chromewebstore.google.com/category/extensions/lifestyle/news",
                "https://chromewebstore.google.com/category/extensions/lifestyle/shopping",
                "https://chromewebstore.google.com/category/extensions/lifestyle/social",
                "https://chromewebstore.google.com/category/extensions/lifestyle/travel",
                "https://chromewebstore.google.com/category/extensions/lifestyle/well_being",
                "https://chromewebstore.google.com/category/extensions/make_chrome_yours/accessibility",
                "https://chromewebstore.google.com/category/extensions/make_chrome_yours/functionality",
                "https://chromewebstore.google.com/category/extensions/make_chrome_yours/privacy"
              ],
              "enumTitles": [
                "Productivity - Communication",
                "Productivity - Developer Tools",
                "Productivity - Education",
                "Productivity - Tools",
                "Productivity - Workflow & Planning",
                "Lifestyle - Art & Design",
                "Lifestyle - Entertainment",
                "Lifestyle - Games",
                "Lifestyle - Household",
                "Lifestyle - Just for Fun",
                "Lifestyle - News & Weather",
                "Lifestyle - Shopping",
                "Lifestyle - Social Networking",
                "Lifestyle - Travel",
                "Lifestyle - Well-being",
                "Make Chrome Yours - Accessibility",
                "Make Chrome Yours - Functionality & UI",
                "Make Chrome Yours - Privacy & Security"
              ]
            }
          },
          "maxExtensionsPerCategory": {
            "title": "Max Extensions Per Category",
            "minimum": 1,
            "maximum": 10000,
            "type": "integer",
            "description": "The maximum number of extensions to scrape from each category.",
            "default": 10
          },
          "directExtensions": {
            "title": "Direct Extension URLs or IDs",
            "type": "array",
            "description": "Enter direct Chrome Web Store extension URLs or IDs to scrape them directly.",
            "items": {
              "type": "string"
            }
          },
          "filterBy": {
            "title": "Filter By (Search & Category Only)",
            "enum": [
              "all",
              "featured",
              "established_publishers"
            ],
            "type": "string",
            "description": "Filter search and category listing results by publisher status. Applied to every search query, category URL, and predefined category — including full Chrome Web Store URLs. If a pasted URL already contains a different filter (`?filterBy=...`), this input overrides it.",
            "default": "all"
          },
          "minRating": {
            "title": "Minimum Rating",
            "minimum": 0.1,
            "maximum": 5,
            "type": "number",
            "description": "Minimum rating threshold (e.g., 4.5)."
          },
          "maxRating": {
            "title": "Maximum Rating",
            "minimum": 0.1,
            "maximum": 5,
            "type": "number",
            "description": "Maximum rating threshold (e.g., 5.0)."
          },
          "minUsers": {
            "title": "Minimum Users",
            "type": "integer",
            "description": "Minimum number of users installed."
          },
          "maxUsers": {
            "title": "Maximum Users",
            "type": "integer",
            "description": "Maximum number of users installed."
          },
          "fetchDetails": {
            "title": "Fetch Extension Details",
            "type": "boolean",
            "description": "Fetch deep details for extensions found in search or category pages. Direct extensions are always fetched with full details.",
            "default": false
          },
          "fetchReviews": {
            "title": "Fetch Reviews",
            "type": "boolean",
            "description": "Fetch user reviews for each extension. Applies when extension details are loaded (via Fetch Extension Details or Direct Extension URLs).",
            "default": false
          },
          "maxReviews": {
            "title": "Max Reviews Per Extension",
            "minimum": 1,
            "maximum": 10000,
            "type": "integer",
            "description": "Maximum number of reviews to fetch per extension when Fetch Reviews is enabled.",
            "default": 10
          },
          "sourceCodeExtensions": {
            "title": "Extension URLs or IDs for Source Download",
            "type": "array",
            "description": "Enter extension URLs or IDs to download source code (.zip). Only extensions listed here will have source downloaded — not search or category results.",
            "items": {
              "type": "string"
            }
          }
        }
      },
      "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
                  }
                }
              },
              "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}