# VS Code Marketplace extensions and publishers (publisher domain + verified flag, installs, ratings, dates)

> List VS Code Marketplace extensions (the whole catalogue or a search, category, tag or publisher slice) with publisher, publisher domain and its verified flag, installs, rating, dates and repository / homepage / support links; total and full paging.
> ReefAPI engine `vscode-marketplace` · 4 endpoints · clean JSON, no scraping or browsers to manage.

## How to call
- **Endpoint:** `POST https://api.reefapi.com/vscode-marketplace/v1/<action>` with a JSON body.
- **Auth:** header `x-api-key: <YOUR_REEFAPI_KEY>` — create one free (1,000 credits, no card): https://reefapi.com/signup
- **Response (every call):** `{ ok: boolean, data: ..., meta: { record_count, credits, ... }, error: { code, message } }` — branch on `ok`. Failed calls are free.
- **One key + one shared credit pool** across every ReefAPI API. Per-call credits are listed on each endpoint below.
- **Use it from an AI agent (MCP):** connect `https://api.reefapi.com/mcp` (remote streamable-http). Clients that add connectors by URL, such as ChatGPT and the Claude app, connect with OAuth 2.1 (the user pastes their key once on a ReefAPI page; discovery at `/.well-known/oauth-protected-resource/mcp`). Config files send the key as `Authorization: Bearer <key>`. `?key=<key>` in the URL also works as a last-resort fallback.

## Endpoints

### POST https://api.reefapi.com/vscode-marketplace/v1/extensions — 1 credit
List VS Code Marketplace extensions (the whole catalogue or a search, category, tag or publisher slice) with publisher, publisher domain and its verified flag, installs, rating, dates and repository / homepage / support links; total and full paging.

**Parameters:**
- `search` (string, optional) — Keyword search over the marketplace.
- `category` (enum, optional) — Marketplace category. [one of: AI, Azure, Chat, Data Science, Debuggers, Education, Extension Packs, Formatters, Keymaps, Language Packs, Linters, Machine Learning, Notebooks, Other, Programming Languages, SCM Providers, Snippets, Testing, Themes, Visualization]
- `tag` (string, optional) — Extension tag (keyword), e.g. python, docker, terraform.
- `publisher` (string, optional) — Only this publisher's extensions (publisher name).
- `sort_by` (enum, optional, default "published") — published (date first published; newest first follows new extensions), updated (last update), installs, rating (weighted rating), relevance (search order). Default published, or relevance when search is set. [one of: published, updated, installs, rating, relevance]
- `sort_order` (enum, optional, default "desc") — desc (newest / most first) or asc. For a full catalogue walk use published + asc: items added during the walk land on the last page instead of shifting earlier ones. [one of: desc, asc]
- `page` (integer, optional, default 1) — Page number.
- `page_size` (integer, optional, default 100) — Rows per page, up to 1000 (1,000 rows ≈ 0.5 MB from the source).

**Returns:** total, total_pages, page, has_more, next_page, results[] (item_name, extension_id, name, publisher{name, display_name, domain, is_domain_verified}, publisher_domain, publisher_domain_verified, installs, rating, rating_count, published_at, last_updated, version, categories, category (primary), tags, repository_url, homepage, support_url, short_description, ...)

**Example request body:**
```json
{
  "sort_by": "published",
  "page_size": 50
}
```

### POST https://api.reefapi.com/vscode-marketplace/v1/extension — 1 credit
Read one VS Code Marketplace extension by publisher.extension: publisher and publisher domain (verified flag), installs, rating, dates, version, categories, tags and all its links.

**Parameters:**
- `item_name` (string, required) — publisher.extension (the itemName in the marketplace URL), the full marketplace.visualstudio.com/items?itemName= URL, or the extension id (GUID).

**Returns:** item_name, extension_id, name, publisher{name, display_name, domain, is_domain_verified}, publisher_domain, publisher_domain_verified, installs, rating, rating_count, published_at, last_updated, version, categories, category (primary), tags, repository_url, homepage, support_url, short_description

**Example request body:**
```json
{
  "item_name": "ms-python.python"
}
```

### POST https://api.reefapi.com/vscode-marketplace/v1/publisher — 1 credit
Every VS Code Marketplace extension of one publisher, plus the publisher record: display name, domain, verified-domain flag, extension count and total installs.

**Parameters:**
- `publisher` (string, required) — Publisher name (the part after marketplace.visualstudio.com/publishers/), or that URL.
- `sort_by` (enum, optional, default "installs") — Order of the publisher's extensions. [one of: installs, published, updated, rating]
- `page` (integer, optional, default 1) — Page number.
- `page_size` (integer, optional, default 1000) — Rows per page, up to 1000.

**Returns:** publisher{name, display_name, domain, is_domain_verified, extension_count, installs_total, ...}, total, results[]

**Example request body:**
```json
{
  "publisher": "ms-python"
}
```

### POST https://api.reefapi.com/vscode-marketplace/v1/new_since — 1 credit
VS Code extensions first published on or after a date or time (newest first), walked page by page; for following new extensions and their publishers.

**Parameters:**
- `since` (string, required) — First moment to include: YYYY-MM-DD (UTC midnight) or YYYY-MM-DDTHH:MM:SSZ.
- `page` (integer, optional, default 1) — Start page of the newest-first list (1,000 a page); pass next_page to continue.
- `max_pages` (integer, optional, default 2) — Pages read in this call, 1-5 (one page = 1,000 extensions, about 5-6 days).

**Returns:** since, pages_read, complete, next_page, returned, results[] (item_name, extension_id, name, publisher{name, display_name, domain, is_domain_verified}, publisher_domain, publisher_domain_verified, installs, rating, rating_count, published_at, last_updated, version, categories, category (primary), tags, repository_url, homepage, support_url, short_description)

**Example request body:**
```json
{
  "since": "2026-12-03",
  "max_pages": 1
}
```

## At scale
- **Volume:** 5M+ requests a day, measured at 60 requests a second across the fleet with no
  central bottleneck. Per-key limits are raised for high-volume accounts; volume pricing on request.
- **Missing a source:** tell us a site we do not cover and it becomes an engine. A customer asked
  for bestprice.gr on 21 Sep 2026 and it was in the catalog on 22 Sep.
- **Support:** 2 minute median time from a question in the live chat to the first answer. Setup
  help included, no support tier to buy.
- **One key, one credit pool** across every API. No per-site plans, no separate subscriptions.

## More
- Try it live, no code: https://reefapi.com/playground?engine=vscode-marketplace
- Human docs page: https://reefapi.com/docs/vscode-marketplace
- Overview page: https://reefapi.com/vscode-marketplace-api
- Every ReefAPI API in one file (for your AI): https://reefapi.com/llms-full.txt
