{"uid":"cap_2OBiWcIozqS_j_4KaiuZ8","slug":"salt19-npm-package-facts-5422104d","name":"SALT19 NPM Package Facts","description":"SALT19 is an independent applied AI systems lab behind EvoMind governed cognition, the MCP-native Agent Utility Grid, the ARCS research community, AeroClear UAS flight intelligence, and practical software for real-world work.","url":"https://api.salt19.com/v1/npm-package-facts","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"package":{"type":"string","maxLength":214,"minLength":1},"version":{"type":"string","maxLength":64}}},"responseSchema":{"type":"json","example":{"license":"MIT","package":"hono","version":"4.13.3","deprecated":false}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.01","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.01/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_nkzotIS5tw8GROzYR8a_j","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Retrieves key metadata facts about an NPM package — including license, version, and deprecation status — for a given package name and optional version.","exampleAgentPrompt":"Can you look up the npm package facts for 'hono' version 4.13.3 — specifically its license and whether it's deprecated?","exampleUseCases":[{"title":"License compliance check for dependency","prompt":"I need to verify the license for the npm package 'lodash' at version 4.17.21 before we add it to our commercial project — can you check if it's MIT or something more restrictive?"},{"title":"Deprecation audit before installing","prompt":"Before I install 'request' from npm, can you check whether it's been deprecated and what license it carries?"},{"title":"Automated package metadata enrichment","prompt":"Can you pull the facts for the npm package 'express' — I need the current version, its license type, and whether it's still active and not deprecated?"}],"resultDescription":"Returns a JSON object containing the package name, resolved version string, SPDX license identifier (e.g. 'MIT'), and a boolean deprecated flag indicating whether the package has been marked as deprecated on the npm registry.","failureModes":["Package name not found on npm registry — returns error or empty result","Invalid or malformed package name (too long or empty) — rejected by input schema validation","Requested version does not exist for the package — may return error or null version","Network or upstream npm registry unavailability — timeout or 5xx error","Payment failure via x402 protocol — request not processed"],"whenToPreferThis":"Choose this endpoint when an agent needs quick, structured facts about a specific npm package — particularly license type and deprecation status — without scraping the npm website. Useful for automated dependency audits, license compliance pipelines, or enriching package manifests. Prefer over raw npm registry API calls when a pay-per-use, agent-friendly endpoint with a clean response schema is preferred.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T00:31:17.639Z","isFirstParty":false}