{
  "openapi": "3.0.1",
  "info": {
    "title": "Chrome Web Store Scraper – Extensions, Reviews & CRX",
    "description": "Search Chrome extensions and themes, browse categories and Top Charts, extract 127-field details, reviews, manifests, developer contacts, and CRX/ZIP source.",
    "version": "0.0",
    "x-build-id": "Pa6NAZDAOIpksZ5ug"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/scrapingmonkey~chrome-web-store-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-scrapingmonkey-chrome-web-store-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/scrapingmonkey~chrome-web-store-scraper/runs": {
      "post": {
        "operationId": "runs-sync-scrapingmonkey-chrome-web-store-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/scrapingmonkey~chrome-web-store-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-scrapingmonkey-chrome-web-store-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": [
          "mode"
        ],
        "properties": {
          "mode": {
            "title": "Mode",
            "enum": [
              "search",
              "details",
              "reviews",
              "category",
              "topCharts"
            ],
            "type": "string",
            "description": "Choose the Chrome Web Store data source.",
            "default": "search"
          },
          "searchTerms": {
            "title": "Search terms",
            "type": "array",
            "description": "Keywords to search for. Required in Search mode; maxResults applies independently to every term.",
            "items": {
              "type": "string"
            },
            "default": [
              "AI assistant"
            ]
          },
          "extensionIds": {
            "title": "Extension or theme IDs / URLs",
            "type": "array",
            "description": "32-character item IDs or full Chrome Web Store details/reviews URLs. Required in Details and Reviews modes.",
            "items": {
              "type": "string"
            },
            "default": []
          },
          "categoryUrls": {
            "title": "Category URLs or paths",
            "type": "array",
            "description": "Full URLs or paths such as /category/extensions/productivity/tools and /category/themes/animals. Required in Category mode.",
            "items": {
              "type": "string"
            },
            "default": []
          },
          "charts": {
            "title": "Top Charts collections",
            "type": "array",
            "description": "One or more Chrome Web Store Top Charts collections. Each currently exposes up to 25 items.",
            "items": {
              "type": "string",
              "enum": [
                "trending",
                "popular",
                "notable"
              ],
              "enumTitles": [
                "Trending",
                "Popular",
                "New & notable"
              ]
            },
            "default": [
              "trending"
            ]
          },
          "itemType": {
            "title": "Search item type",
            "enum": [
              "extensions",
              "themes",
              "all"
            ],
            "type": "string",
            "description": "Return extensions, themes, or both in Search mode.",
            "default": "extensions"
          },
          "maxResults": {
            "title": "Maximum results",
            "minimum": 0,
            "maximum": 10000,
            "type": "integer",
            "description": "Maximum accepted results per search term, category, chart, or extension. Use 0 for all available results, with a 10,000-item safety cap.",
            "default": 50
          },
          "country": {
            "title": "Country",
            "minLength": 2,
            "maxLength": 2,
            "type": "string",
            "description": "Two-letter ISO 3166-1 country used for the built-in residential proxy location and result context.",
            "default": "US"
          },
          "language": {
            "title": "Store language (hl)",
            "type": "string",
            "description": "Chrome Web Store locale, for example en-US, de, pt-BR, or zh-Hant. Localized listings can return translated text.",
            "default": "en-US"
          },
          "includeReviews": {
            "title": "Include reviews in details",
            "type": "boolean",
            "description": "Collect matching reviews and place them in includedReviews for every Details result.",
            "default": false
          },
          "includeExtensionInfo": {
            "title": "Enrich standalone reviews",
            "type": "boolean",
            "description": "Add title, icon, rating, users, and item type from the listing to every standalone review.",
            "default": true
          },
          "reviewSort": {
            "title": "Review sort",
            "enum": [
              "newest",
              "helpful",
              "lowestRating",
              "highestRating"
            ],
            "type": "string",
            "description": "Native Chrome Web Store review order.",
            "default": "newest"
          },
          "reviewScores": {
            "title": "Review scores",
            "type": "array",
            "description": "Keep only selected star ratings. Leave empty for all scores.",
            "items": {
              "type": "string",
              "enum": [
                "1",
                "2",
                "3",
                "4",
                "5"
              ],
              "enumTitles": [
                "1 star",
                "2 stars",
                "3 stars",
                "4 stars",
                "5 stars"
              ]
            },
            "default": []
          },
          "reviewKeywords": {
            "title": "Review keyword filters",
            "type": "array",
            "description": "Keep reviews containing at least one keyword (case-insensitive). Leave empty for all review text.",
            "items": {
              "type": "string"
            },
            "default": []
          },
          "reviewsSince": {
            "title": "Reviews since",
            "type": "string",
            "description": "Inclusive ISO 8601 timestamp or YYYY-MM-DD date. Newest sorting stops pagination after this boundary."
          },
          "reviewsUntil": {
            "title": "Reviews until",
            "type": "string",
            "description": "Inclusive ISO 8601 timestamp or YYYY-MM-DD date."
          },
          "recentDays": {
            "title": "Only recent review days",
            "minimum": 1,
            "maximum": 3650,
            "type": "integer",
            "description": "Convenience rolling window. When combined with reviewsSince, the newer boundary wins."
          },
          "minRating": {
            "title": "Minimum item rating",
            "minimum": 0,
            "maximum": 5,
            "type": "number",
            "description": "Discovery modes only. Listings without a rating do not pass an active rating filter."
          },
          "maxRating": {
            "title": "Maximum item rating",
            "minimum": 0,
            "maximum": 5,
            "type": "number",
            "description": "Discovery modes only."
          },
          "minUsers": {
            "title": "Minimum users",
            "minimum": 0,
            "type": "integer",
            "description": "Discovery modes only. Listings without a user count do not pass an active user filter."
          },
          "maxUsers": {
            "title": "Maximum users",
            "minimum": 0,
            "type": "integer",
            "description": "Discovery modes only."
          },
          "featuredOnly": {
            "title": "Featured items only",
            "type": "boolean",
            "description": "Discovery modes only. Keep listings marked Featured by Chrome Web Store.",
            "default": false
          },
          "publisherVerifiedOnly": {
            "title": "Verified publishers only",
            "type": "boolean",
            "description": "Discovery modes only. Keep listings carrying the store publisher verification flag.",
            "default": false
          },
          "deduplicateResults": {
            "title": "Deduplicate across discovery inputs",
            "type": "boolean",
            "description": "Emit each item ID once across all terms, categories, or charts in the run.",
            "default": false
          },
          "includeSecurityAnalysis": {
            "title": "Analyze manifest security",
            "type": "boolean",
            "description": "Derive risk score, high-risk permissions, broad host access, manifest version, and capability flags.",
            "default": true
          },
          "downloadSource": {
            "title": "Download extension source package",
            "type": "boolean",
            "description": "Details mode only. Download the public extension or theme CRX and/or embedded ZIP to the run's default Key-Value Store.",
            "default": false
          },
          "sourceFormat": {
            "title": "Source package format",
            "enum": [
              "zip",
              "crx",
              "both"
            ],
            "type": "string",
            "description": "Store the original CRX, the extracted ZIP, or both.",
            "default": "zip"
          },
          "maxSourceFileSizeMb": {
            "title": "Maximum source package size (MB)",
            "minimum": 1,
            "maximum": 500,
            "type": "integer",
            "description": "Reject unexpectedly large CRX downloads before placing them in storage.",
            "default": 100
          },
          "maxConcurrency": {
            "title": "Maximum concurrency",
            "minimum": 1,
            "maximum": 20,
            "type": "integer",
            "description": "Number of input terms, categories, charts, or item IDs processed concurrently.",
            "default": 8
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}