Skip to main content
All providers

NuGet

Developer

api.nuget.org

.NET package metadata from nuget.org: the registration index for a package and full-text search.

Capabilities (15)

GET /v1/data/nuget/autocomplete1 credit

Returns a short array of package ids that begin with the typed prefix, plus the total number of matches - the data behind nuget.org's search box suggestions.

qskip?take?prerelease?packageType?
GET /v1/data/nuget/catalog-entry1 credit

Returns the permalinked catalog leaf for one published version: the complete nuspec as JSON plus packageEntries (every file inside the .nupkg with its compressed and uncompressed size), packageHash and hash algorithm (SHA512), packageSize, licenseExpression, minClientVersion, dependency groups and created/lastEdited/published timestamps and verbatimVersion.

commitnameversion
GET /v1/data/nuget/catalog-index1 credit

Returns the root of nuget.org's append-only change log: the total commit count and one entry per catalog page, each with the page URL and the commit timestamp it ends at, newest last.

No parameters
GET /v1/data/nuget/catalog-page1 credit

Returns one page of the change log: up to ~2,750 items, each a package id, version, commit timestamp and type (PackageDetails for a publish or edit, PackageDelete for a removal) with a permalink to that version's catalog entry.

page
GET /v1/data/nuget/gallery-search1 credit

The search index behind the nuget.org website: returns totalHits plus documents carrying owners, verified flag, created/published/lastEdited timestamps, listed flag, package hash and file size, flattened dependencies, target frameworks and a Vulnerabilities array - and, unlike the standard search, it can be sorted and run with no query at all.

q?skip?take?sortBy?prerelease?packageType?ignoreFilter?countOnly?luceneQuery?
GET /v1/data/nuget/package1 credit

Returns the registration document for a package: every published version grouped into pages, each normally inlined with its catalog entry (description, authors, license, tags, dependency groups per target framework), listed flag and publish date.

name
GET /v1/data/nuget/package-page1 credit

Returns one page of a paged registration: the full catalog entry for each of up to 128 versions in the lower..upper range, with dependency groups, license, tags and publish dates.

namelowerupper
GET /v1/data/nuget/package-version1 credit

Returns the registration leaf for one exact version: whether it is listed, when it was published, the .nupkg download URL, and the catalog entry URL holding that version's full metadata.

nameversion
GET /v1/data/nuget/repository-signatures1 credit

Returns whether every package on the feed is repository-signed and the certificates used to do it: subject, issuer, SHA-256 fingerprint and validity window.

No parameters
GET /v1/data/nuget/search1 credit

Searches nuget.org and returns ranked packages with id, latest version, description, authors, tags, total download count, verified-owner flag, project and icon URLs, and a per-version download breakdown.

qskip?take?prerelease?packageType?
GET /v1/data/nuget/search-diagnostics1 credit

Returns the search service's own health report: indexed document count (2.18 M registrations), the index's last commit timestamp, warm query duration, the deployment label and the age of its auxiliary download-count files.

No parameters
GET /v1/data/nuget/service-index1 credit

Returns nuget.org's resource directory: every V3 resource with its @type, version and base URL - search, autocomplete, registration, flat container, catalog, vulnerabilities, signatures and the HTML link templates.

No parameters
GET /v1/data/nuget/versions1 credit

Returns a plain ascending array of every version string published for a package, including prereleases and unlisted ones.

name
GET /v1/data/nuget/vulnerabilities1 credit

Returns the two-entry pointer document for nuget.org's vulnerability dataset: the timestamped URL of the current base snapshot and of the incremental update file, each with the time it was generated.

No parameters
GET /v1/data/nuget/vulnerability-base1 credit

Returns the full advisory dataset as an object keyed by lowercase package id, each value an array of advisories with a GitHub Advisory URL, a severity number (0 low to 3 critical) and the affected version range in NuGet interval notation such as "(, 13.0.1)".

snapshot

Licence

nuget.org serves this metadata through the documented V3 API. We pass it through and do not licence callers to rebuild the registry.

https://www.nuget.org/policies/Terms

Attribution

Display this wherever you show the data. It arrives on every response as provenance.attribution_text.

Source: NuGet Gallery

Cache: up to 3600s