# VS Code New Extensions Monitor (`vesperxiv/vscode-new-extensions`) Actor

Returns extensions newly published on the VS Code Marketplace, newest first, filtered by category and/or keyword. Uses the free public Marketplace gallery API (no key, no login) and filters by publishedDate within the requested window.

- **URL**: https://apify.com/vesperxiv/vscode-new-extensions.md
- **Developed by:** [Vesper](https://apify.com/vesperxiv) (community)
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $5.00 / 1,000 price per new extensions

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.
Since this Actor supports Apify Store discounts, the price gets lower the higher subscription plan you have.

Learn more: https://docs.apify.com/actors/running/actors-in-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 New Extensions Monitor

Returns the extensions **newly published on the VS Code Marketplace**, newest first, filtered by category and/or keyword — one dataset row per extension.

### What you get

- **Dataset — one item per new extension:** `extensionId` (`publisher.name`), `publisher`, `displayName`, `description`, `categories`, `version`, `publishedDate`, `lastUpdated`, `downloads`, `rating`, `ratingCount`, `url` (the extension page on marketplace.visualstudio.com).
- **`summary.json`** (key-value store): the filters used, how many extensions were scanned/fetched, and how many were returned.

### Input

| Field | What it is |
|---|---|
| `daysBack` | Only extensions first published within the last N days (default 7, 1–90). |
| `limit` | Maximum extensions returned (default 20, 1–100). |
| `category` | Optional Marketplace category, e.g. `Themes`, `Programming Languages`, `Testing`, `Debuggers`, `Snippets`, `Data Science`. Matched against the extension's own categories. |
| `keyword` | Optional keyword searched on the Marketplace, e.g. `python`, `ai`, `theme`. |

### Sample output

```json
{
  "extensionId": "SheiphanJoseph.spokedown",
  "extensionName": "spokedown",
  "publisher": "SheiphanJoseph",
  "displayName": "Spokedown: Markdown Read Aloud, Word by Word",
  "description": "Reads Markdown aloud with natural local voices and highlights each word in the editor.",
  "categories": "Education",
  "version": "0.1.0",
  "publishedDate": "2026-11-16T00:05:35.453Z",
  "lastUpdated": "2026-11-16T00:05:35.453Z",
  "downloads": 12,
  "rating": null,
  "ratingCount": 0,
  "url": "https://marketplace.visualstudio.com/items?itemName=SheiphanJoseph.spokedown"
}
```

### How the data is fetched

The free public VS Code Marketplace gallery API — the same endpoint the VS Code client itself uses — **no API key, no login**:

`POST https://marketplace.visualstudio.com/_apis/public/gallery/extensionquery`

One honest caveat: the API has no server-side "published after" filter, so the Actor pages results in published-date order (newest first) and stops at the first page whose oldest item predates your `daysBack` window. The Marketplace publishes roughly 200 new extensions a day, so a 7-day window scans about 1,400 items — the Actor pages through them (100 per request) until your `limit` is filled. For a narrow category/keyword combined with a wide window, fewer rows may come back than the limit.

### Limits

- `publishedDate` is the date the extension was first published; updates to an existing extension do not make it "new" again.
- `downloads` is the Marketplace install count at fetch time (new extensions are usually 0–small); `rating` is null until the extension has ratings.
- Max 100 extensions per run; run more often (e.g. daily) instead of raising `daysBack` very high.

# Actor input Schema

## `category` (type: `string`):

Optional VS Code Marketplace category, matched case-insensitively against the extension's categories, e.g. "Themes", "Programming Languages", "Testing", "Debuggers", "Snippets", "Data Science".

## `daysBack` (type: `integer`):

Only return extensions first published within the last N days (1-90).

## `keyword` (type: `string`):

Optional keyword searched on the Marketplace, e.g. "python", "ai", "theme". Matched by the Marketplace search against name, description and tags.

## `limit` (type: `integer`):

Maximum extensions returned per run (1-100).

## Actor input object example

```json
{
  "category": "Themes",
  "daysBack": 7,
  "keyword": "python",
  "limit": 20
}
```

# Actor output Schema

## `results` (type: `string`):

No description

## `summary` (type: `string`):

No description

# 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 = {
    "category": "",
    "daysBack": 7,
    "keyword": "",
    "limit": 20
};

// Run the Actor and wait for it to finish
const run = await client.actor("vesperxiv/vscode-new-extensions").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 = {
    "category": "",
    "daysBack": 7,
    "keyword": "",
    "limit": 20,
}

# Run the Actor and wait for it to finish
run = client.actor("vesperxiv/vscode-new-extensions").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 '{
  "category": "",
  "daysBack": 7,
  "keyword": "",
  "limit": 20
}' |
apify call vesperxiv/vscode-new-extensions --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,vesperxiv/vscode-new-extensions"
        }
    }
}
```

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/DL9J1MKV8rdcXz4BK/builds/s0zYFGRBAwtzF5yMv/openapi.json
