{
  "openapi": "3.0.1",
  "info": {
    "title": "VS Code Marketplace + Open VSX Extension Checker",
    "description": "Check VS Code extensions on the Marketplace and Open VSX side by side: installs, rating, latest stable and pre-release version, Open VSX availability and version lag in days, repo, license, dependencies. For Cursor, Windsurf and VSCodium teams, extension devs and AI agents.",
    "version": "1.0",
    "x-build-id": "PWAsRgnEsGi91WBhY"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/hydrocore~vscode-openvsx-extensions/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-hydrocore-vscode-openvsx-extensions",
        "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/hydrocore~vscode-openvsx-extensions/runs": {
      "post": {
        "operationId": "runs-sync-hydrocore-vscode-openvsx-extensions",
        "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/hydrocore~vscode-openvsx-extensions/run-sync": {
      "post": {
        "operationId": "run-sync-hydrocore-vscode-openvsx-extensions",
        "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",
        "properties": {
          "extensions": {
            "title": "Extensions",
            "type": "array",
            "description": "Extension ids (publisher.name, e.g. ms-python.python) or Marketplace / Open VSX URLs, one per line. Each is checked on both registries. Same extension twice = saved once. The example list is ignored if you leave it unchanged and run a search.",
            "default": [
              "ms-python.python",
              "esbenp.prettier-vscode",
              "GitHub.copilot-chat",
              "rust-lang.rust-analyzer"
            ],
            "items": {
              "type": "string"
            }
          },
          "searchQuery": {
            "title": "Or search extensions",
            "type": "string",
            "description": "Optional keyword search (e.g. mcp, tailwind, claude). Results are added after the list above and checked on both registries."
          },
          "category": {
            "title": "Category",
            "enum": [
              "",
              "AI",
              "Chat",
              "Programming Languages",
              "Snippets",
              "Linters",
              "Themes",
              "Debuggers",
              "Formatters",
              "Keymaps",
              "SCM Providers",
              "Other",
              "Extension Packs",
              "Language Packs",
              "Data Science",
              "Machine Learning",
              "Visualization",
              "Notebooks",
              "Education",
              "Testing"
            ],
            "type": "string",
            "description": "Optional: search one category (can be used without a keyword).",
            "default": ""
          },
          "searchIn": {
            "title": "Search in",
            "enum": [
              "vscode",
              "openvsx"
            ],
            "type": "string",
            "description": "Which registry the search runs on. Every result is still checked on both.",
            "default": "vscode"
          },
          "sortBy": {
            "title": "Sort search results by",
            "enum": [
              "installs",
              "rating",
              "updated",
              "published",
              "relevance"
            ],
            "type": "string",
            "description": "Order of search results (applied before Max results). Extensions from your list keep their order.",
            "default": "installs"
          },
          "maxResults": {
            "title": "Max search results",
            "minimum": 1,
            "maximum": 1000,
            "type": "integer",
            "description": "How many search results to save. Default 20.",
            "default": 20
          },
          "minInstalls": {
            "title": "Min installs",
            "minimum": 0,
            "type": "integer",
            "description": "Skip extensions with fewer VS Code installs (Open VSX downloads when not on VS Code). Skipped ones are free.",
            "default": 0
          },
          "updatedWithinDays": {
            "title": "Updated within (days)",
            "minimum": 0,
            "type": "integer",
            "description": "Only extensions updated in the last N days (0 = any).",
            "default": 0
          },
          "onlyOpenVsxGaps": {
            "title": "Only Open VSX gaps",
            "type": "boolean",
            "description": "Keep only extensions missing from Open VSX or with an older version there (what Cursor / Windsurf / VSCodium users can't get up to date).",
            "default": false
          },
          "onlyChanged": {
            "title": "Only new or changed since last run",
            "type": "boolean",
            "description": "Monitor mode: skip extensions whose versions did not change since the last run with the same monitor key (free). Great for scheduled supply-chain checks.",
            "default": false
          },
          "monitorKey": {
            "title": "Monitor key",
            "type": "string",
            "description": "Name for this watch list, e.g. team-extensions. Runs with the same key share memory."
          },
          "includeNotFound": {
            "title": "Save free rows for missing ids",
            "type": "boolean",
            "description": "Add a free row (status not found / error) for ids found on neither registry.",
            "default": true
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}