Need help with your APIs? I offer API discovery, governance & evangelism services. Explore services →
API Evangelist API Evangelist
Discovery
Learnings
Guidance
Toolbox
Alignment
API Evangelist LLC

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 NuGet feed. It uses a flat container structure where packages are organized by lowercase package ID and version, providing direct access to the binary package files.

NuGet Package Content API is one of 7 APIs that NuGet publishes on the APIs.io network, described by a machine-readable OpenAPI specification.

Tagged areas include Package Management, .NET, Package Download, Content, and NuPkg. The published artifact set on APIs.io includes API documentation and an OpenAPI specification.

This API exposes 3 operations across 3 paths, and defines 1 schema. It is described by OpenAPI 3.1.0, at version 3.0.0.

Requests are made against a single base URL, https://api.nuget.org/v3/catalog0.

3 operations 3 paths 1 schemas 3 GET

Metadata

The identity and technical contract details declared by the specification.

Specification
OpenAPI 3.1.0
API Version
3.0.0
Server
https://api.nuget.org/v3/catalog0
Terms of Service
Resource Areas
1

Paths & Operations 3

Across 3 paths, the API surfaces 3 operations — 3 GET. Each is listed below with its method, path, parameters, and response codes.

Package Content 3

Endpoints for enumerating package versions and downloading package content files (.nupkg) and manifests (.nuspec).

GET
/{lowerId}/index.json
Enumerate package versions
listPackageVersions 1 param → 200404
GET
/{lowerId}/{lowerVersion}/{lowerId}.{lowerVersion}.nupkg
Download package content (.nupkg)
downloadPackage 2 params → 200404
GET
/{lowerId}/{lowerVersion}/{lowerId}.nuspec
Download package manifest (.nuspec)
downloadPackageManifest 2 params → 200404

Schemas 1

The contract defines 1 schema that model the data the API accepts and returns. The most detailed is VersionIndex (1 property). Each schema is shown below with its type and property counts.

VersionIndex
object
A list of all available versions for a package.
1 property 1 required

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

nuget-package-content-api-openapi.yml Raw ↑

Other APIs NuGet publishes across the network.

NuGet Catalog API
NuGet Search API
NuGet Autocomplete API
NuGet Package Publish API
NuGet Registration API
NuGet Service Index API