# npm Registry API

**Canonical:** https://apis.io/apis/npm/registry/  
**Provider:** npm — https://apis.io/providers/npm/  
**Base URL:** https://registry.npmjs.org  
**Documentation:** https://github.com/npm/registry/blob/main/docs/REGISTRY-API.md

npm Registry API is one of 10 APIs that [npm](https://apis.io/providers/npm/) publishes on the [APIs.io](https://apis.io/) network, described by a machine-readable OpenAPI specification. This API exposes 1 JSON Schema definition. Tagged areas include Packages, JavaScript, Registry, Package Management, and Node.js. The published artifact set on APIs.io includes API documentation, an OpenAPI specification, and 1 JSON Schema.

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. Developers can query package metadata, download tarballs, search for packages, and retrieve version-specific information. The API follows CouchDB-based conventions and serves package manifests in JSON format, enabling tools and services to integrate with the npm ecosystem for dependency resolution, package discovery, and automated workflows.

## Machine-readable artifacts (4)

- **Documentation** — https://github.com/npm/registry/blob/main/docs/REGISTRY-API.md
- **OpenAPI** — https://raw.githubusercontent.com/api-evangelist/npm/refs/heads/main/openapi/npm-registry-api-openapi.yml
- **JSONSchema** — https://raw.githubusercontent.com/api-evangelist/npm/refs/heads/main/json-schema/npm-package-schema.json
- **APIsJSON** — https://raw.githubusercontent.com/api-evangelist/npm/refs/heads/main/apis.yml

## Other npm APIs (9)

- [npm Hooks API](https://apis.io/apis/npm/hooks/)
- [npm CLI](https://apis.io/apis/npm/cli/)
- [npm Provenance](https://apis.io/apis/npm/provenance/)
- [npm Downloads API](https://apis.io/apis/npm/npm-downloads-api/)
- [npm OIDC API](https://apis.io/apis/npm/npm-oidc-api/)
- [npm Packages API](https://apis.io/apis/npm/npm-packages-api/)
- [npm Search API](https://apis.io/apis/npm/npm-search-api/)
- [npm Tokens API](https://apis.io/apis/npm/npm-tokens-api/)
- [npm Trusted Publishers API](https://apis.io/apis/npm/npm-trusted-publishers-api/)

## Tags

Packages, JavaScript, Registry, Package Management, Node.js

---

Profiled by [API Evangelist](https://apievangelist.com) and published on [APIs.io](https://apis.io/apis/npm/registry/). The API's provider profile, Kin Score and agent-readiness rating are at https://apis.io/providers/npm/.
