{"uid":"cap_KoPM7uhMOxvB6hWmTYkvL","slug":"scrapemole-pkgs-npm-package-metadata-lookup-12cf6abf","name":"ScrapeMole Pkgs – npm Package 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/package?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"],"properties":{"name":{"type":"string","examples":["lodash"],"description":"npm package name, optionally scoped (@scope/name)."}},"additionalProperties":false}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":{"type":"json","example":{"name":"lodash","times":{"latest":"2026-…","created":"2012-04-23T…","modified":"2026-…"},"latest":"4.18.1","source":"https://registry.npmjs.org/lodash","license":"MIT","homepage":"https://lodash.com/","keywords":["modules","stdlib","util"],"repository":{"url":"git+https://github.com/lodash/lodash.git","type":"git"},"description":"Lodash modular utilities.","maintainers":["jdalton"],"versionCount":117,"downloadsLastWeek":163000000}},"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_xwWhAH9g0st0xESCYmAXI","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 structured metadata for a named npm package, including latest version, download counts, license, maintainers, and repository info.","exampleAgentPrompt":"Look up the npm package metadata for lodash — I want to know its latest version, weekly download count, license, and who maintains it.","exampleUseCases":[{"title":"Dependency audit for a JS project","prompt":"Can you check the npm metadata for express, lodash, and axios — I need to know the latest version and license for each so I can update our dependency audit spreadsheet?"},{"title":"Checking if a package is actively maintained","prompt":"Is the 'moment' npm package still being actively maintained? Look up who the maintainers are and when it was last modified."},{"title":"Evaluating a new library before adopting it","prompt":"Before we add 'zod' to our project, can you pull its npm metadata — I want to see how many weekly downloads it gets, what version it's on, and what repo it lives in?"}],"resultDescription":"Returns a JSON object with the package name, latest version string, total version count, license identifier, homepage URL, repository type and URL, list of maintainer usernames, associated keywords, ISO timestamps for creation and last modification, weekly download count, and a link to the source registry entry.","failureModes":["Package not found — returns an error if the package name does not exist on npm","Scoped package name malformed — missing @ or / may cause lookup failure","Rate or payment failure — x402 payment not verified, request rejected before work begins","Transient registry unavailability — upstream npm registry timeout causes error response"],"whenToPreferThis":"Use this endpoint when an AI agent needs quick, structured npm package metadata (version, downloads, license, maintainers) without setting up npm registry authentication or scraping. Prefer it over raw npm registry calls when you need consistent, cleaned output with emails and tokens stripped, pay-per-call pricing with no account setup, and USDC micro-payment via x402.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-30T07:01:25.010Z","isFirstParty":false,"canonicalSlug":"scrapemole-pkgs-npm-package-metadata-lookup-12cf6abf"}