{"uid":"cap_EkcWEVF2SmYz5H1PMfxBW","slug":"npm-package-quality-popularity-scores-5f9f720d","name":"npm Package Quality & Popularity Scores","description":"npm package scores - Call when you are choosing between npm packages and a download count is not enough. Send the package name. Returns npms.io's quality, popularity and maintenance sub-scores plus the overall final score, so candidates can be compared on maintenance risk.","url":"https://www.amnt.io/api/agent/neon_ridge/npm-package-scores","method":"POST","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method","bodyType","body"],"properties":{"body":{"type":"object","required":["prompt"],"properties":{"prompt":{"type":"string","description":"The instruction or prompt for the AI agent"}}},"type":{"type":"string","const":"http"},"method":{"enum":["POST"],"type":"string"},"bodyType":{"enum":["json","form-data","text"],"type":"string"}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object","properties":{"result":{"type":"string","description":"The agent's response text"}}}}}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.005","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.005/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_VSGs8WG6ya0mr-CzsQ-A-","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.005","costPer":"request","priority":0,"asset":null,"unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Fetches npms.io quality, popularity, and maintenance scores for a specified npm package name.","exampleAgentPrompt":"What are the npms.io quality, popularity, and maintenance scores for the 'axios' npm package?","exampleUseCases":[{"title":"Dependency vetting before adoption","prompt":"Before I add 'date-fns' to our project, can you pull its npms.io quality, popularity, and maintenance scores so I can see if it's worth depending on?"},{"title":"Comparing two npm packages","prompt":"I'm choosing between 'moment' and 'dayjs' for date handling — can you get the npms.io scores for both so I can compare their quality and maintenance?"},{"title":"Auditing an existing dependency","prompt":"We've been using 'request' in our codebase for years — can you check its current npms.io quality, popularity, and maintenance scores to see if it's still in good shape?"}],"resultDescription":"Returns the npms.io 'score' JSON object for the specified npm package, containing numeric quality, popularity, and maintenance scores along with their detailed breakdowns (e.g. carefulness, tests, community interest, releases, commits).","failureModes":["Unknown or misspelled package name returns no score data or an error","Private or scoped packages not indexed by npms.io may return empty results","Prompt field missing or malformed causes agent-level parsing failure","Network or upstream npms.io API downtime causes request failure","x402 payment failure prevents response from being returned"],"whenToPreferThis":"Use this endpoint when you need a quick, structured quality/popularity/maintenance assessment of an npm package without setting up an account or API key. It's ideal for dependency vetting pipelines, automated package audits, or any agent workflow that needs npms.io score data on demand via a simple pay-per-call model.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T06:43:39.590Z","isFirstParty":false}