{"uid":"cap_53j2gaNjM1C3NbHNQh0Y2","slug":"stride20k-npm-package-health-lookup-5aeadb23","name":"Stride20k npm Package Health Lookup","description":"Agent data gateway plus the live x402 market feed. Normalized, schema-stable JSON for crypto prices, DeFi TVL, on-chain DEX pools, gas, FX, US Treasury yields, US weather, WHOIS, DNS, email validation, web-page extraction, tech news, Wikipedia, npm/PyPI package health, ERC-20 token-risk scoring, and composed domain dossiers, plus x402 ecosystem analytics and metered LLM inference. Pay per call with USDC via the x402 protocol; no accounts, no API keys.","url":"https://gateway.stride20k.com/dev/npm/%7BpackageName%7D","method":"GET","headers":{},"bodySchema":{"type":"object","properties":{"properties":{"type":"string"}}},"responseSchema":{"type":"json","example":{"ok":true,"data":{"package":"hono","distTags":{"next":"4.5.0-rc.2","latest":"4.12.27"},"deprecated":false,"lastModified":"2026-06-23T02:48:49.115Z","versionCount":434,"latestVersion":"4.12.27","dependencyCount":0,"weeklyDownloads":47559567},"meta":{"cached":false,"source":"npm registry","fetchedAt":"2026-07-04T00:00:00.000Z","attribution":null},"endpoint":"/dev/npm/:packageName"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.003","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.003/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.003","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.003","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_rgjtjkDjTnr0OpsiZ8L6B","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.003","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Fetches normalized health and metadata for a given npm package, including latest version, weekly downloads, dependency count, deprecation status, and dist-tags.","exampleAgentPrompt":"Can you check the npm package health for 'axios' — I want to know the latest version, whether it's deprecated, and how many weekly downloads it's getting?","exampleUseCases":[{"title":"Vetting a dependency before adoption","prompt":"Before I add 'fastify' to my project, can you check its npm health — is it deprecated, what's the latest version, and how popular is it by weekly downloads?"},{"title":"Auditing a supply chain for stale packages","prompt":"I'm reviewing my dependencies and I need to know if 'moment' is deprecated on npm and when it was last modified."},{"title":"Checking a package version for an AI agent workflow","prompt":"What's the latest stable version of 'hono' on npm right now? I need to know the dist-tags too, like if there's a next or beta channel."}],"resultDescription":"Returns a JSON object with ok status, and data containing package name, dist-tags (e.g. latest, next), deprecation flag, last modified timestamp, total version count, latest version string, dependency count, and weekly download count. Also includes meta fields: cache status, source attribution, and fetch timestamp.","failureModes":["Package not found on npm registry — returns ok:false or empty data","Malformed or URL-encoded package name causes routing mismatch","Scoped packages (e.g. @scope/pkg) may require special URL encoding","npm registry upstream timeout causes delayed or failed fetch","Cached responses may lag real-time registry state by minutes"],"whenToPreferThis":"Use this endpoint when you need structured, normalized npm package metadata — especially deprecation status, download popularity, and version info — without setting up npm registry API credentials. Ideal for AI agents performing dependency audits, package vetting, or supply-chain health checks. Prefer over raw npm registry calls when you need a stable schema and pay-per-call access with no account setup.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T12:42:54.055Z","isFirstParty":false}