# VS Code & Open-VSX Scraper — Extensions & Bug Reviews (`ttyan0111/vscode-cursor-extension-spy`) Actor

Zero-proxy dual-registry scraper for VS Code Marketplace & Open-VSX (Cursor/Windsurf). Extracts install metrics, verified domains, GitHub repos, low-star bug reviews, automated pain signals, agentSummary, and RUN_SUMMARY for AI agents.

- **URL**: https://apify.com/ttyan0111/vscode-cursor-extension-spy.md
- **Developed by:** [Truong Truong Giang](https://apify.com/ttyan0111) (community)
- **Categories:** Developer tools, Lead generation, Agents
- **Features:** Limited permissions
- **Stats:** 1 total users, 0 monthly users, 0.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $2.00 / 1,000 extension scraped (vs code + open-vsx)s

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.

Learn more: https://docs.apify.com/actors/store.md#pay-per-event

## What's an Apify Actor?

An Actor is a serverless cloud program that runs on the Apify platform. It has two run modes.
In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours,
and optionally produces a well-defined JSON output, datasets with results, or files in key-value store.
In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.

Apify vocabulary and the platform model are defined once, in the agent quickstart at https://apify.com/agents.md.

## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For examples already wired to this Actor's own input schema, see the [API](#api) section below.

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).

# README

## VS Code & Open-VSX Scraper — Extensions & Bug Reviews \[MCP Ready]

Fast **zero-proxy dual-registry scraper** for **Visual Studio Code Marketplace** and **Open-VSX** (Cursor, Windsurf, VSCodium, Trae, Gitpod) built for **DevTools founders, AI coding agent builders, B2B lead generation, and AI agents (via Apify MCP Server)**.

### Key Capabilities

1. **Dual-Registry Install Intelligence (VS Code + Cursor/Windsurf):** Extracts VS Code Marketplace `vscodeInstalls`, `averageRating`, `ratingCount`, `trendingDaily` / `trendingWeekly` / `trendingMonthly`, `version`, `lastUpdated`, `categories`, `tags`, and cross-checks `open-vsx.org` (`listedOnOpenVsx`, `openVsxDownloads`) to compute `totalCombinedInstalls`.
2. **Verified Publisher Domains & Repo Leads:** Captures `verifiedDomain`, `isDomainVerified`, `publisherName`, `publisherDisplayName`, `githubRepoUrl`, `supportUrl`, `learnUrl`, and `marketplaceUrl` directly from registry metadata.
3. **Flexible Queries + Open-VSX Fallback:** Accepts search keywords (`"mcp"`, `"ai coding"`), exact `publisher.extensionName` identifiers (`"Continue.continue"`), or VS Code Marketplace URLs (`itemName=pub.ext`), automatically falling back to Open-VSX search if VS Code Marketplace returns zero hits.
4. **Filtered Low-Star Bug Reviews & 6-Tag Pain Signals:** Fetches VS Code Marketplace reviews, keeps complaints with `rating <= maxRatingFilter`, and classifies pain signals across 6 canonical categories: `crash_bug`, `billing_subscription`, `performance_slow`, `broken_after_update`, `feature_request`, and `auth_config_issue`.
5. **AI Agent & MCP Ready:** Outputs a concise `agentSummary` per extension and an aggregate `RUN_SUMMARY` record in the Key-Value Store at `256 MB` RAM and `$0` proxy cost.

### Input Parameters

| Parameter | Type | Default | Description |
| :--- | :--- | :--- | :--- |
| `queries` | `string[]` | `["mcp"]` | Search keywords, `publisher.extensionName` IDs, or Marketplace URLs |
| `maxExtensionsPerQuery` | `integer` | `10` | Max unique extensions per query (`1–50`) |
| `sortBy` | `string` | `"installs"` | Sort order: `installs`, `relevance`, `trendingWeekly`, `updatedDate`, `rating` |
| `includeOpenVsxStats` | `boolean` | `true` | Cross-check Open-VSX downloads for Cursor/Windsurf reach |
| `includeReviews` | `boolean` | `true` | Extract Marketplace reviews and classify pain signals |
| `maxRatingFilter` | `integer` | `3` | Keep reviews with `rating <= maxRatingFilter` (`1–5`) |
| `maxReviewsPerExtension` | `integer` | `15` | Max filtered reviews to keep per extension (`1–50`) |

### Pricing

Pay-per-Event pricing (`actor-start`, `extension-scraped`, and `review-analyzed` when `includeReviews` is enabled).

# Actor input Schema

## `queries` (type: `array`):

Keywords (e.g. 'mcp', 'ai coding'), exact publisher.extensionName identifiers (e.g. 'Continue.continue'), or VS Code Marketplace URLs containing itemName=pub.ext.

## `maxExtensionsPerQuery` (type: `integer`):

Maximum number of unique extensions to extract per query (1–50).

## `sortBy` (type: `string`):

Ordering applied when searching the VS Code Marketplace.

## `includeOpenVsxStats` (type: `boolean`):

Cross-check each extension on open-vsx.org to capture Cursor/Windsurf downloads and compute totalCombinedInstalls.

## `includeReviews` (type: `boolean`):

Fetch VS Code Marketplace reviews, filter by maxRatingFilter, and tag bug/pain signals (crash_bug, billing_subscription, performance_slow, broken_after_update, feature_request, auth_config_issue).

## `maxRatingFilter` (type: `integer`):

Keep only reviews with rating <= this value (e.g. 3 captures 1–3★ complaints; 5 captures all reviews).

## `maxReviewsPerExtension` (type: `integer`):

Maximum number of filtered reviews to keep per extension when includeReviews is enabled (1–50).

## Actor input object example

```json
{
  "queries": [
    "mcp",
    "ai coding"
  ],
  "maxExtensionsPerQuery": 10,
  "sortBy": "installs",
  "includeOpenVsxStats": true,
  "includeReviews": true,
  "maxRatingFilter": 3,
  "maxReviewsPerExtension": 15
}
```

# Actor output Schema

## `dataset` (type: `string`):

Structured extension metadata, combined VS Code + Open-VSX install metrics, verified domains, GitHub repos, filtered bug reviews, and pain-signal summaries.

## `runSummary` (type: `string`):

Aggregate dual-registry intelligence summary in Key-Value Store (Open-VSX coverage, total installs, review totals, and pain-signal counts).

# API

You can run this Actor programmatically using our API. Below are code examples in JavaScript, Python, and CLI, as well as the OpenAPI specification and MCP server setup.

## JavaScript example

```javascript
import { ApifyClient } from 'apify-client';

// Initialize the ApifyClient with your Apify API token
// Replace the '<YOUR_API_TOKEN>' with your token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare Actor input
const input = {
    "queries": [
        "mcp",
        "ai coding"
    ],
    "maxExtensionsPerQuery": 10,
    "sortBy": "installs",
    "maxRatingFilter": 3,
    "maxReviewsPerExtension": 15
};

// Run the Actor and wait for it to finish
const run = await client.actor("ttyan0111/vscode-cursor-extension-spy").call(input);

// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
    console.dir(item);
});

// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

```

## Python example

```python
from apify_client import ApifyClient

# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")

# Prepare the Actor input
run_input = {
    "queries": [
        "mcp",
        "ai coding",
    ],
    "maxExtensionsPerQuery": 10,
    "sortBy": "installs",
    "maxRatingFilter": 3,
    "maxReviewsPerExtension": 15,
}

# Run the Actor and wait for it to finish
run = client.actor("ttyan0111/vscode-cursor-extension-spy").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
for item in client.dataset(run.default_dataset_id).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{
  "queries": [
    "mcp",
    "ai coding"
  ],
  "maxExtensionsPerQuery": 10,
  "sortBy": "installs",
  "maxRatingFilter": 3,
  "maxReviewsPerExtension": 15
}' |
apify call ttyan0111/vscode-cursor-extension-spy --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,ttyan0111/vscode-cursor-extension-spy"
        }
    }
}
```

The hosted server signs you in with OAuth on first connect, so no API token belongs in this config. Clients without OAuth support can send an `Authorization: Bearer <APIFY_API_TOKEN>` header instead, using a token from API & Integrations in Apify Console (https://console.apify.com/settings/integrations).

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/tHlOKzyDNjIZ258tZ/builds/ZcMpaEsOVcrLywga9/openapi.json
