NuGet website screenshot

NuGet

NuGet is the package manager for .NET, providing a centralized repository for developers to discover, share, and consume reusable code libraries. The NuGet developer platform exposes a set of HTTP APIs that enable programmatic access to package search, metadata retrieval, content download, catalog browsing, and package publishing against the nuget.org feed.

5 APIs 0 Features
Package Management.NETPackagesDependenciesSoftware DistributionRegistry

APIs

NuGet Server API

The NuGet Server API is a set of HTTP endpoints used to download packages, fetch metadata, publish new packages, and perform other operations against a NuGet package source. The...

NuGet Catalog API

The NuGet Catalog API is an append-only resource that records the full history of all package events on nuget.org, including packages being added, modified, listed, unlisted, an...

NuGet Search API

The NuGet Search API allows clients to query for packages available on a NuGet package source using the SearchQueryService resource found in the service index. It supports filte...

NuGet Package Metadata API

The NuGet Package Metadata API, accessed through the RegistrationsBaseUrl resource, provides detailed metadata about packages available on a NuGet package source. It returns reg...

NuGet Package Content API

The NuGet Package Content API, accessed through the PackageBaseAddress resource, allows clients to download package content files (.nupkg) and package manifests (.nuspec) from a...

Collections

Pricing Plans

Nuget Plans Pricing

1 plans

PLANS

Rate Limits

Nuget Rate Limits

2 limits

RATE LIMITS

FinOps

Nuget Finops

FINOPS

Semantic Vocabularies

Nuget Context

0 classes · 8 properties

JSON-LD

JSON Structure

Nuget Structure

0 properties

JSON STRUCTURE

Resources

🌐
Portal
Portal
🔗
Documentation
Documentation
🔗
Website
Website
📜
PrivacyPolicy
PrivacyPolicy
📜
TermsOfService
TermsOfService
📰
Blog
Blog
🔗
Login
Login
🔗
MCPServer
MCPServer

Sources

Raw ↑
opencollection: 1.0.0
info:
  name: NuGet Server API
  version: '3.0'
items:
- info:
    name: Service Index
    type: folder
  items:
  - info:
      name: Get the service index
      type: http
    http:
      method: GET
      url: https://api.nuget.org/v3/index.json
    docs: Retrieves the service index, which is a JSON document listing all available resources on the NuGet package source.
      Clients use this document to discover the URLs for search, registration, package content, catalog, and other API resources.
- info:
    name: Package Publish
    type: folder
  items:
  - info:
      name: Push a package
      type: http
    http:
      method: PUT
      url: https://api.nuget.org/v3/package
      headers:
      - name: X-NuGet-Protocol-Version
        value: ''
      body:
        type: multipart-form
        data:
        - name: package
          type: text
          value: ''
      auth:
        type: apikey
        key: X-NuGet-ApiKey
        value: '{{X-NuGet-ApiKey}}'
        placement: header
    docs: Pushes a new package to the NuGet feed. The request body must be a multipart form data payload where the first item
      is the raw bytes of the .nupkg file. If a package with the same ID and version already exists, the push will be rejected
      with a 409 status code.
  - info:
      name: Relist a package
      type: http
    http:
      method: POST
      url: https://api.nuget.org/v3/package/:id/:version
      params:
      - name: id
        value: ''
        type: path
        description: The ID of the package.
      - name: version
        value: ''
        type: path
        description: The version of the package.
      auth:
        type: apikey
        key: X-NuGet-ApiKey
        value: '{{X-NuGet-ApiKey}}'
        placement: header
    docs: Relists a previously unlisted package, making it visible again in search results. If the package is already listed,
      the request still succeeds.
  - info:
      name: Delete or unlist a package
      type: http
    http:
      method: DELETE
      url: https://api.nuget.org/v3/package/:id/:version
      params:
      - name: id
        value: ''
        type: path
        description: The ID of the package.
      - name: version
        value: ''
        type: path
        description: The version of the package.
      auth:
        type: apikey
        key: X-NuGet-ApiKey
        value: '{{X-NuGet-ApiKey}}'
        placement: header
    docs: Deletes or unlists a package from the NuGet feed. On nuget.org, this operation unlists the package rather than performing
      a hard delete. Unlisted packages no longer appear in search results or the web interface but remain available for existing
      consumers.
bundled: true