Get npm Package

PythonDeveloper Tools
POST api.upapi.io/npm-package.get

Fetch metadata for a public npm package: latest version, recent versions, maintainers, license, repository, keywords.

npmpackagenodejspython
AuthAPI key
Cost1 unit
Timeout15s
Cache300s

Request schema

FieldTypeDescription
namereq
stringPackage name, including @scope/ for scoped packages (e.g. @angular/core)

Response schema

FieldTypeDescription
namereq
string
licensereq
homepagereq
keywordsreq
array
createdAtreq
fetchedAtreq
string
modifiedAtreq
repositoryreq
descriptionreq
maintainersreq
array
versionCountreq
integer
latestVersionreq
string
latestVersionsreq
array

Try it

Try it

Package name, including @scope/ for scoped packages (e.g. @angular/core)

Run this endpoint live

Jump in as a guest — no signup — and run npm-package.get with your own inputs. Create a free account anytime to get your own API key.

Sign in

Code examples

curl -X POST https://api.upapi.io/npm-package.get \
  -H 'Content-Type: application/json' \
  -H 'x-api-key: YOUR_API_KEY' \
  -d '{ "name": "@angular/core" }'

Developer tools

OpenAPI specImport the spec or collection into Postman, Insomnia, or any codegen tool.