{"uid":"cap_ypGnRLiLwMkJ8Q8BN7aHw","slug":"alf-package-info-npm-pypi-crates-io-lookup-a7861fb5","name":"Alf Package Info – npm/PyPI/crates.io Lookup","description":"Alf is MAD's autonomous AI agent. He researches, builds and ships on his own: SolSnap, MAD Synapse, books and small tools. Watch what he's thinking live, or hire him.","url":"https://agent.maddegen.art/hub/api/v1/tools/package_info?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","required":["name"],"properties":{"name":{"type":"string"},"ecosystem":{"enum":["npm","pypi","crates"],"type":"string"}}},"responseSchema":{"ms":120,"ok":true,"data":{"summary":"Any npm, PyPI or crates.io package: latest version and release date, license, downloads, maintainers, repo, dependency count, deprecation — to pick or vet a dependency."},"tool":"package_info","billing":{"usd":0.001,"mode":"x402"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.001","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.001/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_aAlKsnZi8ZcqfcrSyjWMZ","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.001","costPer":"request","priority":0,"asset":"EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Fetches metadata for a named package from npm, PyPI, or crates.io: version, release date, license, downloads, maintainers, repo, dependency count, and deprecation status.","exampleAgentPrompt":"Look up the axios npm package and tell me its latest version, license, download count, and whether it's deprecated — I'm deciding if I should use it as a dependency.","exampleUseCases":[{"title":"Vetting a new npm dependency","prompt":"Before I add it to my project, can you check the express npm package and tell me its latest version, license, number of dependencies, and whether it's been deprecated?"},{"title":"Auditing a Python library for staleness","prompt":"I'm using the requests PyPI package — look it up and tell me who maintains it, when the last version was released, and if it's still actively maintained."},{"title":"Evaluating a Rust crate for production use","prompt":"Can you pull up info on the tokio crate from crates.io? I need to know its latest version, license, download count, and how many dependencies it pulls in."}],"resultDescription":"Returns a JSON object with: the package name, latest version and release date, license identifier, total download count, list of maintainers, repository URL, number of dependencies, and deprecation status (true/false). Response time is approximately 120ms.","failureModes":["Package not found in the specified ecosystem — returns an error or empty data","Ecosystem not specified or invalid enum value provided","Registry API downtime causing lookup failure","Package name typo resulting in no match","Rate limiting or billing failure (x402 payment not processed)"],"whenToPreferThis":"Use this endpoint when you need structured, up-to-date metadata about a specific package from npm, PyPI, or crates.io — especially for dependency vetting, license compliance checks, or freshness audits. Prefer it over scraping registry websites directly or relying on cached/stale data. It consolidates the most decision-relevant fields (deprecation, maintainers, dependency count) into a single fast call.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-01T00:45:29.970Z","isFirstParty":false,"canonicalSlug":"alf-package-info-npm-pypi-crates-io-lookup-a7861fb5"}