List npm user packages
List the packages an npm user can publish, 25 per page.
Headers
Get your API keyAPI key (`sfk_...`)
npm username, e.g. `sindresorhus`. Case-sensitive.
max 214 chars
1-based page number. Default: 1.
≥ 1 · ≤ 10000
Cursor from `page.nextCursor` of the previous response. It only continues the same lookup and filters.
min 1 chars · max 2048 chars
Endpoint-specific response payload.
Whether the item exists. Every outcome is HTTP 200; branch on this field.
one of: found, not_found
Username.
One page of packages.
Package name.
Description.
Version npm shows for the package.
Dist-tags.
Maintainer usernames.
Who published the version npm shows. Avatars are not exposed.
Publishing username.
The last publication npm lists.
Who published last.
ISO 8601 UTC timestamp, or null when npm has none.
ISO 8601 UTC timestamp, or null when npm has none.
ISO 8601 UTC timestamp, or null when npm has none.
ISO 8601 UTC timestamp, or null when npm has none.
Type information npm lists.
The TypeScript types entry, when present.
Bundled declaration path.
DefinitelyTyped package name.
Whether npm marks the package as high impact.
How many packages the user can publish, when a count is available.
≥ 0
Pagination state for this page.
Whether another page is available.
Opaque cursor for the next request; null on the last page.
The 1-based page number of this response, when numbered.
≥ 0
Rows per page, when fixed.
≥ 0
Total rows, or null when npm does not publish one.
≥ 0
Metadata describing the request and billing outcome.
Unique request identifier for tracing this API call.
min 1 chars
Credits charged for this request.
≥ 0
Public API version that served the response.
one of: v1
Code example
curl "https://api.socialfetch.dev/v1/npm/user/packages?username=sindresorhus" \
-H "x-api-key: YOUR_API_KEY"Responses
npm user packages.