{"uid":"cap_r-Jsd03PZqbpeXLw90ZPf","slug":"tokenguard-dev-package-info-api-ed7a4840","name":"Tokenguard Dev Package Info API","description":"Package intelligence across npm, PyPI and crates.io in one call: latest version, license, repository, dependencies and download counts","url":"https://eltociear-tokenguard.hf.space/dev/package?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"name":{"type":"string","description":"Package name"},"registry":{"enum":["npm","pypi","crates"],"type":"string","description":"Registry (default npm)"}}},"responseSchema":{"type":"json","example":{"name":"express","license":"MIT","version":"5.1.0","registry":"npm","dependencies":["body-parser"],"downloads_last_week":31000000}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.02","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.02/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.02","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.02","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_Qoz8KAObHtnATZGNl5wb9","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.02","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Fetches package metadata (version, license, dependencies, download stats) for a named software package from a registry like npm.","exampleAgentPrompt":"Can you look up the package info for 'express' on npm — I need the latest version, its license type, and how many downloads it got last week?","exampleUseCases":[{"title":"Audit open-source license compliance","prompt":"I need you to check the licenses for all the packages we use in our frontend project — can you look up body-parser, react, and lodash on npm and tell me which ones are MIT licensed and which aren't?"},{"title":"Track popular package dependencies","prompt":"Can you fetch the metadata for the 'axios' package and show me what its dependencies are? I want to understand what we'd be pulling in if we add it to our project."},{"title":"Monitor npm package adoption metrics","prompt":"Let me compare three logging libraries — can you get the weekly download stats for winston, pino, and bunyan so I can see which one is more widely adopted in the community?"}],"resultDescription":"Returns a JSON object with the package name, current version, license type, registry source, list of dependencies, and weekly download count for the queried package.","failureModes":["Package not found — returns error if the package name doesn't exist in the registry","Registry not supported — returns error if the specified registry is not available","Invalid request body — returns 400 if required fields like package name are missing","Service downtime — Hugging Face Space may be unavailable or cold-starting","Payment failure — x402 micropayment on Base not completed, request rejected"],"whenToPreferThis":"Use this endpoint when you need quick package metadata — version, license, dependencies, and download stats — for a known npm package name. Prefer this over scraping npm directly or using heavier registry APIs when low-cost, per-call micropayment billing is acceptable and the use case is lightweight package info lookup.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-29T06:45:41.718Z","isFirstParty":false,"canonicalSlug":"tokenguard-dev-package-info-api-ed7a4840"}