# VS Code Marketplace extension API

Get VS Code Extension data via REST or OpenAny MCP—with pay-per-use pricing, no subscription, and no proxies required. Powered by Apish, pass parameters such as id, output, and retrieve structured data including publisher-qualified extension identifier, publisher identifier, source-reported install count, declared extension dependencies, and VSIX package link for extension inventory, and package review.

Documentation: https://openany.si/vs-code-marketplace/vs-code-marketplace-extension-api/c0ab4b6c-9b75-42e5-adfa-0082720a0391/
API ID: c0ab4b6c-9b75-42e5-adfa-0082720a0391
Provider: apish
Contract revision: 3
Method: GET
Endpoint: https://api.openany.si/v1/agent-apis/apish/vscode/v1/extension
Page update time: 2026-12-03T02:45:22.631Z
Access: OpenAny REST
OpenAny MCP: availability is not supplied by this REST contract. Check get_api on the configured OpenAny MCP server before execution.
Request content type: none
Execution mode: sync
Authentication: Authorization: Bearer $OPENANY_API_KEY

## Billing
Price: $0.002 / billing credit
API-key calls use your shared balance. Review the published billing rules before making a paid request.
Price source: OpenAny public API contract.
Contract update time: 2026-12-03T02:45:22.109Z. This is not a price-change timestamp.
```json
{
  "currency": "USD",
  "mode": "rules",
  "parameters": [],
  "policy_version": 2,
  "sale": {
    "addons": [],
    "base_price_micro_usd": "0",
    "max_cost_micro_usd": "2000",
    "quantities": [
      {
        "id": "upstream_credits",
        "label": "Actual API.SH credits consumed",
        "max_quantity": "1",
        "measure": "value",
        "pointer": "/credits_used",
        "price_micro_usd": "2000",
        "quantity_scale": 0,
        "source": "response",
        "unit": "credit",
        "unit_quantity": "1"
      }
    ],
    "rounding": "ceil",
    "variants": []
  }
}
```

## Usage and limits
## VS Code Extension API

Set id to the full publisher.extension identifier or Marketplace items URL. The response links the extension to its publisher, release metadata, target platforms and available files without installing the package.

## What You Can Build

- **Extension inventory**: Resolve a listing to its publisher-qualified ID.
- **Package review**: Inspect dependencies, file links and listed target platforms.

## Returned Data

| Field | Meaning |
| --- | --- |
| `id` | Publisher-qualified extension identifier |
| `publisher.name` | Publisher identifier |
| `installs` | Source-reported install count |
| `extension_dependencies` | Declared extension dependencies |
| `files.VSIXPackage` | VSIX package link |

## Request parameters
```json
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "title": "VS Code Marketplace extension API request inputs",
  "$comment": "Declared input types grouped by HTTP location. Path, query and header values describe decoded inputs and are serialized as text on the wire; body is the payload. This is not an exhaustive provider contract or a schema for the raw HTTP request.",
  "type": "object",
  "properties": {
    "path": {
      "type": "object",
      "properties": {}
    },
    "query": {
      "type": "object",
      "properties": {
        "id": {
          "type": "string",
          "description": "Extension id `publisher.extension` or a marketplace.visualstudio.com/items?itemName=... link."
        },
        "raw": {
          "type": "string",
          "description": "0 leaves out the bulky `raw` source blocks (often 10-30x smaller).",
          "enum": [
            "0",
            "1"
          ]
        },
        "fields": {
          "type": "string",
          "description": "Comma-separated fields to return, e.g. `posts.id,posts.title`. Call metadata is always included."
        },
        "fresh": {
          "type": "string",
          "description": "1 skips the 24-hour cache and fetches live.",
          "enum": [
            "1"
          ]
        },
        "output": {
          "type": "string",
          "description": "JSON only for this OpenAny product. Omit output or use json; CSV and NDJSON exports are not exposed.",
          "enum": [
            "json"
          ]
        },
        "records": {
          "type": "string",
          "description": "Native CSV/NDJSON record selector; it has no effect on this JSON-only product."
        }
      },
      "required": [
        "id"
      ]
    },
    "headers": {
      "type": "object",
      "properties": {}
    }
  },
  "required": [
    "path",
    "query",
    "headers"
  ]
}
```

## Response fields
Source: Inferred from examples; not an exhaustive provider schema.
```json
{
  "type": "object",
  "properties": {
    "cached": {
      "type": "boolean"
    },
    "categories": {
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "credits_used": {
      "type": "integer"
    },
    "description": {
      "type": "string"
    },
    "display_name": {
      "type": "string"
    },
    "downloads": {
      "type": "integer"
    },
    "extension_dependencies": {
      "type": "array",
      "items": {}
    },
    "extension_kind": {
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "extension_pack": {
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "extension_uuid": {
      "type": "string"
    },
    "files": {
      "type": "object",
      "properties": {
        "Changelog": {
          "type": "string"
        },
        "Default": {
          "type": "string"
        },
        "Details": {
          "type": "string"
        },
        "License": {
          "type": "string"
        },
        "Manifest": {
          "type": "string"
        },
        "Small": {
          "type": "string"
        },
        "VSIXPackage": {
          "type": "string"
        },
        "VsixManifest": {
          "type": "string"
        },
        "VsixSignature": {
          "type": "string"
        }
      }
    },
    "flags": {
      "type": "string"
    },
    "icon_url": {
      "type": "string"
    },
    "id": {
      "type": "string"
    },
    "install_targets": {
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "installs": {
      "type": "integer"
    },
    "is_preview": {
      "type": "boolean"
    },
    "last_updated": {
      "type": "string"
    },
    "links": {
      "type": "object",
      "properties": {
        "getting_started": {
          "type": "string"
        },
        "github": {
          "type": "string"
        },
        "learn": {
          "type": "string"
        },
        "qna": {
          "type": "string"
        },
        "source": {
          "type": "string"
        },
        "support": {
          "type": "string"
        }
      }
    },
    "localized_languages": {
      "type": "array",
      "items": {}
    },
    "name": {
      "type": "string"
    },
    "platforms": {
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "pricing": {
      "type": "string"
    },
    "published_at": {
      "type": "string"
    },
    "publisher": {
      "type": "object",
      "properties": {
        "display_name": {
          "type": "string"
        },
        "domain": {
          "type": "string"
        },
        "domain_verified": {
          "type": "boolean"
        },
        "id": {
          "type": "string"
        },
        "name": {
          "type": "string"
        },
        "url": {
          "type": "string"
        },
        "verified": {
          "type": "boolean"
        }
      }
    },
    "rating": {
      "type": "number"
    },
    "rating_count": {
      "type": "integer"
    },
    "released_at": {
      "type": "string"
    },
    "sponsor_link": {
      "type": "null"
    },
    "tags": {
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "trending_daily": {
      "type": "number"
    },
    "trending_monthly": {
      "type": "number"
    },
    "trending_weekly": {
      "type": "number"
    },
    "update_count": {
      "type": "integer"
    },
    "url": {
      "type": "string"
    },
    "version": {
      "type": "string"
    },
    "vscode_engine": {
      "type": "string"
    },
    "weighted_rating": {
      "type": "number"
    }
  }
}
```

## Request example
Scenario: Official example · Official documentation response · Supplier-tr
```bash
curl \
  'https://api.openany.si/v1/agent-apis/apish/vscode/v1/extension?id=ms-python.python&output=json' \
  -X GET \
  -H "Authorization: Bearer $OPENANY_API_KEY" \
  -H 'Content-Type: application/json'
```

## Response example
Example from the provider's documentation. Field values in your results will differ.
Sample response · Documented HTTP 200
```json
{
  "cached": false,
  "categories": [
    "Programming Languages",
    "Debuggers",
    "… 2 more"
  ],
  "credits_used": 1,
  "description": "Python language support with extension access points for IntelliSense (Pylance), Debugging (Python Debugger), linting, formatting, refactori…",
  "display_name": "Python",
  "downloads": 3542474,
  "extension_dependencies": [],
  "extension_kind": [
    "workspace",
    "web"
  ],
  "extension_pack": [
    "ms-python.vscode-pylance",
    "ms-python.debugpy",
    "… 1 more"
  ],
  "extension_uuid": "f1f59ae4-9318-4f3c-a9b5-81b2eaa5f8a5",
  "files": {
    "Changelog": "https://ms-python.gallerycdn.vsassets.io/extensions/ms-python/python/2026.11.2026102901/1793271713407/Microsoft.VisualStudio.Services.Conten…",
    "Default": "https://ms-python.gallerycdn.vsassets.io/extensions/ms-python/python/2026.11.2026102901/1793271713407/Microsoft.VisualStudio.Services.Icons.…",
    "Details": "https://ms-python.gallerycdn.vsassets.io/extensions/ms-python/python/2026.11.2026102901/1793271713407/Microsoft.VisualStudio.Services.Conten…",
    "License": "https://ms-python.gallerycdn.vsassets.io/extensions/ms-python/python/2026.11.2026102901/1793271713407/Microsoft.VisualStudio.Services.Conten…",
    "Manifest": "https://ms-python.gallerycdn.vsassets.io/extensions/ms-python/python/2026.11.2026102901/1793271713407/Microsoft.VisualStudio.Code.Manifest",
    "Small": "https://ms-python.gallerycdn.vsassets.io/extensions/ms-python/python/2026.11.2026102901/1793271713407/Microsoft.VisualStudio.Services.Icons.…",
    "VSIXPackage": "https://ms-python.gallerycdn.vsassets.io/extensions/ms-python/python/2026.11.2026102901/1793271713407/Microsoft.VisualStudio.Services.VSIXPa…",
    "VsixManifest": "https://ms-python.gallerycdn.vsassets.io/extensions/ms-python/python/2026.11.2026102901/1793271713407/Microsoft.VisualStudio.Services.VsixMa…",
    "VsixSignature": "https://ms-python.gallerycdn.vsassets.io/extensions/ms-python/python/2026.11.2026102901/1793271713407/Microsoft.VisualStudio.Services.VsixSi…"
  },
  "flags": "validated, public",
  "icon_url": "https://ms-python.gallerycdn.vsassets.io/extensions/ms-python/python/2026.11.2026102901/1793271713407/Microsoft.VisualStudio.Services.Icons.…",
  "id": "ms-python.python",
  "install_targets": [
    "Microsoft.VisualStudio.Code"
  ],
  "installs": 244344188,
  "is_preview": false,
  "last_updated": "2026-10-29T14:13:58.767Z",
  "links": {
    "getting_started": "https://github.com/Microsoft/vscode-python.git",
    "github": "https://github.com/Microsoft/vscode-python.git",
    "learn": "https://github.com/Microsoft/vscode-python",
    "qna": "https://github.com/microsoft/vscode-python/discussions/categories/q-a",
    "source": "https://github.com/Microsoft/vscode-python.git",
    "support": "https://github.com/Microsoft/vscode-python/issues"
  },
  "localized_languages": [],
  "name": "python",
  "platforms": [
    "linux-x64",
    "win32-arm64",
    "… 8 more"
  ],
  "pricing": "Free",
  "published_at": "2016-01-19T15:03:11.337Z",
  "publisher": {
    "display_name": "Microsoft",
    "domain": "https://microsoft.com",
    "domain_verified": true,
    "id": "998b010b-e2af-44a5-a6cd-0b5fd3b9b6f8",
    "name": "ms-python",
    "url": "https://marketplace.visualstudio.com/publishers/ms-python",
    "verified": true
  },
  "rating": 4.207278251647949,
  "rating_count": 632,
  "released_at": "2016-01-19T15:03:11.337Z",
  "sponsor_link": null,
  "tags": [
    "debuggers",
    "django",
    "… 15 more"
  ],
  "trending_daily": 0.0015307850262226952,
  "trending_monthly": 1.7216805881854653,
  "trending_weekly": 0.33973177541301264,
  "update_count": 1237076528,
  "url": "https://marketplace.visualstudio.com/items?itemName=ms-python.python",
  "version": "2026.11.2026102901",
  "vscode_engine": "^1.95.0",
  "weighted_rating": 4.210989887104154
}
```

## Error handling
400: Check the request fields.
401 / 403: Verify credentials and access permissions.
402: Inspect payment requirements and balance.
429: Respect returned retry guidance.
5xx: Inspect the error and usage record before retrying a paid operation.

## Common questions
### Which extension ID should I use?
Use the full publisher.extension form, such as ms-python.python, or a Marketplace items URL containing itemName.

### Are installs and downloads interchangeable?
No. They are separate source-reported statistics; preserve their field names when comparing records.

### Does this install the extension?
No. It returns metadata and file links, including VSIXPackage when available. Installation is a separate operation.

### Does pricing=Free mean the OpenAny request is free?
No. The pricing field describes the extension listing. OpenAny request billing is shown in the selected implementation pricing area.

### How do I bypass cached results?
Pass fresh=1. A cache bypass retrieves available source data; it does not make unpublished or restricted records available.

### Can I request CSV or NDJSON?
This OpenAny implementation serves JSON only. Omit output or set output=json.

## Available implementations
- apish: https://openany.si/vs-code-marketplace/vs-code-marketplace-extension-api/c0ab4b6c-9b75-42e5-adfa-0082720a0391/

Integration guide: https://openany.si/docs/
Agent setup: https://openany.si/SKILL.md
