List npm package names
List npm package names in registry key order, with an opaque cursor.
Headers
Get your API keyAPI key (`sfk_...`)
Inclusive start: the named package is the first row. Leave it out to start at the beginning.
max 214 chars
Names per page, 1 to 1000. Default: 1000.
≥ 1 · ≤ 1000
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.
A page of names.
Package name, as the registry keys it.
Documents in the registry for this page.
≥ 0
Where this page starts in the registry's key order.
≥ 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/registry/packages?after=express&limit=100" \
-H "x-api-key: YOUR_API_KEY"Responses
npm package names.