← All APIs
npm API
2 endpoints returning npm data as JSON, with the same API key, response envelope and credits as every other serpfast API.
Endpoints
| Path | Description |
|---|---|
| /npm/package | Package · Get an npm package version and its dependencies. |
| /npm/search | Search · Search npm packages by keywords and qualifiers. |
Example request
Package
curl "https://serpfast.com/api/v1/npm/package?package=requests" \
-H "Authorization: Bearer $SERPFAST_KEY"Pricing
One credit per request on every npm endpoint. Failed requests are refunded automatically. Start with 5,000 free credits.
Pricing