List npm package dependents
List packages that depend on an npm package, 36 per page; a page past the served list is empty.
Headers
Get your API keyAPI key (`sfk_...`)
npm package name, e.g. `express`, `lodash.merge`, `@types/node` or `--file--1`. Names are case-sensitive (`Express` is a different package) and keep legacy punctuation such as a leading `-`.
max 214 chars
1-based page number. Each page carries 36 rows and the list stops at page 11; a page past it is an empty page. 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
Package name the list is about.
Packages that depend on it. npm serves at most 396 names, 36 per page; this is not the full dependents count.
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.
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/package/dependents?name=express" \
-H "x-api-key: YOUR_API_KEY"Responses
npm dependents.