npm
npm is the world's largest software registry, hosting over two million JavaScript packages for the Node.js ecosystem. Their developer platform provides APIs for searching and retrieving package metadata, managing access tokens, subscribing to registry event webhooks, and publishing packages with supply chain provenance verification.
npm publishes 17 API contracts indexed on the APIs.io network, including Registry API, Hooks API, Downloads API, and 14 more. Tagged areas include Packages, JavaScript, Node.js, Package Management, and Registry.
The npm catalog on APIs.io includes 1 event-driven AsyncAPI specification, 1 JSON-LD context, and 3 Spectral governance rulesets.
npm’s developer surface includes CLI, changelog, getting-started guide, authentication, developer portal, documentation, engineering blog, and 38 more developer resources.
What this lets a business do 2
Business capabilities this provider's published APIs can perform, derived from its own contracts. Browse all capabilities →
Kin Score
Standards implemented 1
Standards this provider implements or carries. De facto ones are profiled and measured by the API Commons; formal ones come from the standards directory and are linked by the provider's own tags. The evidence column says how each claim was established — not that it was made.
APIs 17
Individual APIs this provider publishes, each with its own machine-readable definition.
npm Registry API
The npm Registry API provides programmatic access to the npm package registry, the largest software registry in the world hosting over two million JavaScript packages. Developer...
npm Hooks API
The npm Hooks API allows developers to subscribe to notifications about changes in the npm registry. Hooks send HTTP POST payloads to a configured URI whenever a package is chan...
npm CLI
The npm CLI is the official command-line interface for the npm package manager, providing developers with tools to install, publish, and manage JavaScript packages and their dep...
npm Provenance
npm Provenance provides supply chain security for JavaScript packages by establishing a verifiable link between a published package and its source code repository and build envi...
npm Downloads API
Package tarball downloads.
npm OIDC API
OpenID Connect token exchange for trusted publishing. Exchange OIDC identity tokens from supported CI/CD providers for short-lived npm registry access tokens.
npm Packages API
Package metadata retrieval, including full packuments and version-specific documents.
npm Search API
Full-text search across the npm registry with weighted scoring.
npm Tokens API
Manage npm access tokens for authentication. Create, list, and delete tokens with customizable permissions and restrictions.
npm Trusted Publishers API
Configure trusted publisher settings for packages to enable OIDC token exchange from CI/CD providers without long-lived npm tokens.
npm Access API
The Access API from npm — 5 operation(s) for access.
npm Audit API
The Audit API from npm — 1 operation(s) for audit.
npm Org API
The Org API from npm — 2 operation(s) for org.
npm Publish API
The Publish API from npm — 1 operation(s) for publish.
npm Stage API
The Stage API from npm — 5 operation(s) for stage.
npm Team API
The Team API from npm — 3 operation(s) for team.
npm Trust API
Trust-related endpoints for managing package trust and security settings.
Scroll for all 17
Postman Collections 8
Ready-to-run Postman collections for exercising this provider's APIs.
Scroll for all 8
Open Collections 9
Open, tool-agnostic API collections (OpenAPI-derived and Bruno).
npm Hooks Downloads API
OPEN COLLECTIONnpm Downloads Hooks API
OPEN COLLECTIONnpm Hooks Downloads OIDC API
OPEN COLLECTIONnpm Hooks Downloads Packages API
OPEN COLLECTIONnpm Public API
OPEN COLLECTIONnpm Hooks Downloads Registry API
OPEN COLLECTIONnpm Hooks Downloads Search API
OPEN COLLECTIONnpm Hooks Downloads Tokens API
OPEN COLLECTIONnpm Hooks Downloads Trusted Publishers API
OPEN COLLECTIONScroll for all 9
Agent Skills 3
Packaged agent skills for driving this provider's APIs from an AI assistant.
npm-configure-trusted-publishing
AGENT SKILLnpm-manage-access-tokens
AGENT SKILLnpm-staged-publish
AGENT SKILLnpm API pricing
Not yet checked against npm's own pricing page. Compiled by API Evangelist on 2026-05-05 from github.com/pricing; confirm before you rely on a figure. A free plan or tier is listed.
| Plan | Price |
|---|---|
| Public Registry freemium | Free |
| GitHub Free (with npm) freemium | Free |
| GitHub Team subscription | $4.00 per per user/month / month |
| GitHub Enterprise enterprise | $21.00 per per user/month / month |
Plan details, limits and sources →
Rate limits
- Public registry reads: see CDN abuse policy; not numerically published varies
- Replication _changes pagination: 10000 results per request
- Search API page size: 250 results per request
Compiled by API Evangelist, not yet checked against npm's documentation. All 4 limits →
Billed by: seat · FinOps profile →
Pricing Plans 1
Published pricing tiers and plan structures.
Npm Plans Pricing
PLANSRate Limits 1
Documented rate limits and quota policies.
Npm Rate Limits
RATE LIMITSService Levels 1
Uptime the provider promises or reports, as SLA4OAI. Read from its own pages; APIs.io runs no monitors.
npm
SLAFinOps 1
Cost, billing, and metering signals for API financial operations.
Npm Finops
FINOPSEvent Specifications 1
AsyncAPI definitions for this provider's event-driven and streaming APIs.
npm Hooks Events
The npm Hooks event system delivers HTTP POST payloads to subscriber endpoints whenever changes occur in the npm registry. Hooks can be configured to watch for changes to indivi...
ASYNCAPISemantic Vocabularies 1
JSON-LD contexts and semantic vocabularies used across these APIs.
Npm Context
JSON-LDSpectral Rules 3
Spectral governance rulesets for linting and validating these APIs.
OpenAPI Overlays 1
Overlays applied on top of this provider's contracts. Each card says who wrote it: a document the provider publishes, or one API Evangelist derived or generated.
Npm Registry Reference Overlay
GENERATEDJSON Schema 32
Standalone JSON Schema definitions for this provider's data models.
Distribution
JSON SCHEMAError
JSON SCHEMAnpm Hook Event Payload
JSON SCHEMAHook
JSON SCHEMAHookCreateRequest
JSON SCHEMAHookUpdateRequest
JSON SCHEMAOidcConfigsCreate
JSON SCHEMAOidcConfigs
JSON SCHEMAPackageDocument
JSON SCHEMAnpm Package Document
JSON SCHEMAPackageVersion
JSON SCHEMAPackageVersionStatus
JSON SCHEMAPackageDocument
JSON SCHEMAPackageVersion
JSON SCHEMAPerson
JSON SCHEMARegistryMetadata
JSON SCHEMARepository
JSON SCHEMASearchResults
JSON SCHEMASearchResultItem
JSON SCHEMASearchResults
JSON SCHEMAStagePackageList
JSON SCHEMAStagePackageVersion
JSON SCHEMAStagedPackumentRequest
JSON SCHEMATokenCreateRequest
JSON SCHEMAToken
JSON SCHEMATokenWithValue
JSON SCHEMATokenCreateRequest
JSON SCHEMATokenWithValue
JSON SCHEMATrustedPublisherRequest
JSON SCHEMATrustedPublisher
JSON SCHEMATrustedPublisher
JSON SCHEMATrustedPublisherRequest
JSON SCHEMAScroll for all 32
JSON Structure 1
JSON Structure definitions describing this provider's data shapes.
Npm Structure
JSON STRUCTURESecurity Posture 3
Authentication, domain security, vulnerability disclosure, and trust-center signals.
Agentic Access 1
Recommended x-agentic-access execution contracts for AI agents.
Resources
Get Started 3
Portal, sign-up, and the first successful call
Documentation 2
Reference material describing how the API behaves
Agent Surfaces 3
MCP servers, agent skills, and machine-readable catalogs
Design & Contract 10
Pagination, idempotency, versioning, errors, and events
Scroll for all 10
Build 6
SDKs, sample code, and the tooling you integrate with
Access & Security 5
Authentication, authorization, and security posture
Operate 5
Status, limits, changes, and where to get help
Commercial 4
Pricing, plans, and the legal terms of use
Company 3
The organization behind the API
Other 4
Properties that don't map to a standard resource type
Source (apis.yml)
npm API — frequently asked questions
Does npm have an API?
Yes. APIs.io lists 17 APIs from npm, including npm Registry API, npm Hooks API and npm CLI, and 14 more.
Is there an OpenAPI specification for the npm API?
Yes. APIs.io indexes 15 OpenAPI specifications for npm, each linked for download from this page.
How do I authenticate with the npm API?
npm uses bearer-token authentication (http · 2 schemes). The details are profiled on APIs.io as Npm Authentication.
How much does the npm API cost?
APIs.io lists 4 pricing plans for npm, with each plan's price, limits and inclusions under Pricing on this page.
Is the npm API ready for AI agents?
npm has a Kin Score of 60.8 out of 100 (strong) and an Agent Readiness score of 28.7 (agent-ready), scored by API Evangelist on 2026-11-06.
Work with this as data
Every provider here is available over the APIs.io API and to AI agents over MCP.