Microsoft .NET PackageContent API

The PackageContent API from Microsoft .NET — 3 operation(s) for packagecontent.

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/microsoft-net-packagecontent-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no email required.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

microsoft-net-packagecontent-api-openapi.yml Raw ↑
openapi: 3.1.0
info:
  title: NuGet Server API (V3) PackageContent API
  description: The NuGet Server API is the set of HTTP endpoints used by the .NET CLI, NuGet client, Visual Studio, and other tooling to discover, download, publish, and unlist NuGet packages from nuget.org and compatible package sources. Entry point is the service index at /v3/index.json. Endpoints documented here cover discovery (service index), search, registration (package metadata), package base address (content), and publish.
  version: '3'
servers:
- url: https://api.nuget.org/v3
  description: nuget.org V3 API root
security: []
tags:
- name: PackageContent
paths:
  /flatcontainer/{id}/index.json:
    get:
      tags:
      - PackageContent
      summary: List package versions
      description: PackageBaseAddress resource — returns the list of all available versions for the specified package.
      operationId: listPackageVersions
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Versions document
          content:
            application/json:
              schema:
                type: object
                properties:
                  versions:
                    type: array
                    items:
                      type: string
        '404':
          description: Package not found
  /flatcontainer/{id}/{version}/{id_lower}.{version_lower}.nupkg:
    get:
      tags:
      - PackageContent
      summary: Download a package (.nupkg)
      operationId: downloadPackage
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
      - name: version
        in: path
        required: true
        schema:
          type: string
      - name: id_lower
        in: path
        required: true
        schema:
          type: string
        description: Lowercased package ID.
      - name: version_lower
        in: path
        required: true
        schema:
          type: string
        description: Lowercased version.
      responses:
        '200':
          description: NuGet package content
          content:
            application/octet-stream:
              schema:
                type: string
                format: binary
        '404':
          description: Not found
  /flatcontainer/{id}/{version}/{id_lower}.nuspec:
    get:
      tags:
      - PackageContent
      summary: Download a package manifest (.nuspec)
      operationId: downloadNuspec
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
      - name: version
        in: path
        required: true
        schema:
          type: string
      - name: id_lower
        in: path
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Package nuspec XML
          content:
            application/xml:
              schema:
                type: string
        '404':
          description: Not found
components:
  securitySchemes:
    apiKey:
      type: apiKey
      in: header
      name: X-NuGet-ApiKey
      description: NuGet API key (required only for PackagePublish push/delete operations).
x-generated-from: https://learn.microsoft.com/en-us/nuget/api/overview
x-generated-by: claude-genwave10-08-2026-05-23