# npm Registry Data API (https://www.socialcrawl.dev/platforms/npm) > npm API with 2 endpoints: Search and Package. Search npm packages and read any version with its dependencies, engines, licence, maintainers, downloads and tarball integrity hash. 100 free credits, no card. TL;DR: SocialCrawl's npm Registry API exposes 2 endpoints, 1 credit per call, all returning one unified JSON schema with computed fields such as engagement rate, language and content category. Single x-api-key auth, 100 free credits on signup. ## Endpoints | Endpoint | Method | Path | Credits | Description | | --- | --- | --- | --- | --- | | Search | GET | `/v1/npm/search` | 1 | Search npm packages | | Package | GET | `/v1/npm/package` | 1 | Get an npm package version | ## Code example ```bash curl -G "https://www.socialcrawl.dev/v1/npm/search" \ --data-urlencode "query=react state" \ -H "x-api-key: sc_YOUR_API_KEY" ``` Every response shares one JSON envelope: `{ success, platform, endpoint, data, credits_used, credits_remaining }`. ## FAQ ### What does the SocialCrawl npm API cover? It covers 2 endpoints: Search and Package. They search npm packages and read one published version with its dependencies, in the same unified JSON as the other 94 platforms. ### Can I read a scoped package? Yes. Pass the full name, for example @vue/server-renderer, or the package's npm page as url. ### Does it return download counts? Yes. Search results carry weekly and monthly downloads and the number of dependents in post.ext.npm. ### Do I get maintainers' email addresses? No. Maintainers are listed by npm username only. ### How much does it cost? Each call costs 1 credit, cache hits are free, and a package or version npm does not have answers 404 and is not charged. You start with 100 free credits. ## Pricing - Standard endpoints: 1 credit per call - Advanced endpoints: 5 credits per call - Premium endpoints: 10 credits per call - 100 free credits on signup, no credit card required. Cached responses cost 0 credits. Credit packs never expire. - Full pricing: https://www.socialcrawl.dev/pricing ## Explore with AI Questions this API answers, phrased for an AI assistant: - What is the SocialCrawl npm API? - How do I get npm package dependencies with an API? - Is there an API to search npm packages with download counts?