{"uid":"cap_PdPNYcOdLQ5rQvu-wrsMF","slug":"scrapemole-pkgs-npm-version-metadata-lookup-cd800e54","name":"ScrapeMole Pkgs: npm Version Metadata Lookup","description":"Pay-per-call package registry lookups: npm package metadata, version details, search, and download counts; PyPI project metadata, releases, and name lookup. Public registry data only (no auth, no private packages, no scraping of user profiles). Emails and tokens are stripped. USDC via x402, no accounts.\n\nPayments: x402 v2, scheme \"exact\", USDC on Base (eip155:8453). The payment is verified before the work and settled only when the response is 200. Terms: https://pkgs.scrapemole.workers.dev/terms","url":"https://pkgs.scrapemole.workers.dev/v1/npm/version?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["GET"],"type":"string"},"queryParams":{"type":"object","required":["name","version"],"properties":{"name":{"type":"string","examples":["lodash"],"description":"npm package name."},"version":{"type":"string","examples":["4.17.21"],"description":"Exact version or \"latest\"."}},"additionalProperties":false}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":{"type":"json","example":{"dist":{"shasum":"…","tarball":"https://registry.npmjs.org/lodash/-/lodash-4.17.21.tgz","integrity":"sha512-…"},"name":"lodash","source":"https://registry.npmjs.org/lodash","license":"MIT","version":"4.17.21","published":"2021-02-20T…","description":"Lodash modular utilities.","dependencies":{}}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.002","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.002/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_4KzNcX351kWPnFo7VKuiC","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.002","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Fetches metadata for a specific npm package version (or latest) including dist info, license, dependencies, and publish date","exampleAgentPrompt":"Can you look up the npm metadata for lodash version 4.17.21 — I need its license, published date, tarball URL, and list of dependencies?","exampleUseCases":[{"title":"Dependency audit for a Node.js project","prompt":"I need to verify the license and published date for express version 4.18.2 on npm — can you pull up its full version metadata?"},{"title":"Security check on a specific package version","prompt":"What is the integrity hash and tarball URL for axios version 1.6.0 on npm? I want to verify what we're pulling in our build."},{"title":"Checking latest package details before upgrading","prompt":"What does the latest version of react look like on npm right now — give me the version number, published date, and its dependencies."}],"resultDescription":"A JSON object containing the package name, version, description, license, published timestamp, dependencies object, and dist fields (tarball URL, integrity hash, shasum) sourced from the npm registry. Emails and tokens are stripped from the response.","failureModes":["Package name not found on npm registry — 404 response","Specified version does not exist for the package — 404 or error response","Payment not settled — 402 response before work begins","Invalid query parameters (missing name or version) — 400 response","Network or upstream registry timeout — 5xx response"],"whenToPreferThis":"Use this endpoint when you need precise, structured metadata for a specific npm package version — including dist hashes, tarball URLs, license, and dependency list — without setting up npm registry credentials or scraping. Ideal for AI agents performing dependency audits, security checks, build verification, or license compliance at $0.002 per call with no account required.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-30T07:04:19.176Z","isFirstParty":false,"canonicalSlug":"scrapemole-pkgs-npm-version-metadata-lookup-cd800e54"}