{"uid":"cap_RUzV274aWEmSNkjfa4nzQ","slug":"package-registry-info-cb4f5ef9","name":"Package Registry Info","description":"Call before adding or upgrading a dependency: package-registry metadata for one package (PyPI or npm): latest version, summary, license, dependency count; PyPI also returns 30-day downloads.","url":"https://conclavex402.pythonanywhere.com/v1/pkg?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","HEAD","DELETE"],"type":"string"},"headers":{"type":"object","additionalProperties":{"type":"string"}},"pathParams":{"type":"object","additionalProperties":{"type":"string"}},"queryParams":{"type":"object","additionalProperties":{"type":"string"}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":{"type":"json","example":{"data":{"home":"https://requests.readthedocs.io","name":"requests","license":"Apache-2.0","summary":"Python HTTP for Humans.","version":"2.32.3","downloads30d":1234567,"requires_python":">=3.8"},"name":"requests","route":"pkg","stale":false,"source":"pypi","ecosystem":"pypi","staleness_sec":0}},"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_Eg0eb7cBWH_SXbfphYYiX","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":"Returns package registry metadata (latest version, summary, license, dependency count, and 30-day downloads) for a single PyPI or npm package.","exampleAgentPrompt":"Before I add it as a dependency, can you check PyPI for the latest version, license, and 30-day download count for the 'requests' package?","exampleUseCases":[{"title":"Pre-install dependency vetting","prompt":"I'm about to add 'axios' from npm to my project — can you grab its latest version, license, and number of dependencies so I can decide if it's worth it?"},{"title":"License compliance check","prompt":"Can you look up the license for the 'django' package on PyPI? I need to make sure it's compatible with our commercial project before we proceed."},{"title":"Upgrade decision for existing dependency","prompt":"We're using an older version of 'numpy' — what's the current latest version on PyPI and how many downloads has it had in the last 30 days? I want to see if it's still widely used before upgrading."}],"resultDescription":"A JSON object containing the package name, ecosystem (pypi or npm), latest version string, one-line summary, license identifier (e.g. Apache-2.0), dependency count, homepage URL, and for PyPI packages the 30-day download count. Also includes a staleness flag and staleness age in seconds.","failureModes":["Package not found on the specified registry returns an error or empty result","Ambiguous package name without specifying ecosystem may return wrong registry data","Stale cache may return slightly outdated metadata (indicated by stale flag and staleness_sec)","Network or upstream registry outage may cause timeout or error response","Missing required query parameters (package name or type) results in a 400-level error"],"whenToPreferThis":"Choose this endpoint when an agent needs quick, structured package metadata (version, license, downloads) for a single PyPI or npm package prior to adding or upgrading a dependency, and does not need full release history, changelogs, or vulnerability scanning. It is especially useful for automated dependency-vetting pipelines or license compliance checks where a pay-per-call model is preferable to maintaining a registry API key.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-18T00:35:22.202Z","isFirstParty":false,"canonicalSlug":"package-registry-info-cb4f5ef9"}