Get npm Package
PythonDeveloper ToolsPOST api.upapi.io/npm-package.getFetch metadata for a public npm package: latest version, recent versions, maintainers, license, repository, keywords.
npmpackagenodejspython
AuthAPI key
Cost1 unit
Timeout15s
Cache300s
Request schema
| Field | Type | Description |
|---|---|---|
namereq | string | Package name, including @scope/ for scoped packages (e.g. @angular/core) |
Response schema
| Field | Type | Description |
|---|---|---|
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.
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.