{"uid":"cap_Gr4VU1dzqRDMTPRw9hr6D","slug":"tolca-package-metadata-lookup-npm-pypi-2540616e","name":"Tolca Package Metadata Lookup (npm / PyPI)","description":"Ask about any company or Québec contractor and get a verdict grounded in official registries, not guesses. Plus web search that reads the pages for you. Pay per call, no account.","url":"https://tolca.tonbot.ca/v1/pkg-meta?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"name":{"type":"string"},"version":{"type":"string"},"ecosystem":{"enum":["npm","PyPI"],"type":"string"}}},"responseSchema":{"type":"json","example":{"name":"express","license":"MIT","ecosystem":"npm","deprecated":false,"latest_version":"5.1.0","resolved_version":"5.1.0","weekly_downloads":40000000,"has_install_scripts":false}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.005","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.005/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_yVxuwUysA5Q9_oGOhSNQ3","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.005","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns factual metadata for an npm or PyPI package — version, license, deprecation status, weekly downloads, and install-script presence — for a single pay-per-call fee.","exampleAgentPrompt":"Look up the metadata for the express package on npm — I want to know its latest version, license, whether it's deprecated, and how many weekly downloads it gets.","exampleUseCases":[{"title":"Pre-install package vetting","prompt":"Before we add axios to our project, can you check its npm metadata — latest version, license, and whether it's deprecated?"},{"title":"PyPI dependency audit","prompt":"Pull the metadata for numpy on PyPI — I need the current version, license type, and whether it has any install scripts."},{"title":"Checking if a package is still maintained","prompt":"Is the grunt npm package still active, or is it deprecated? What's its latest version and weekly download count?"}],"resultDescription":"A JSON object containing the package name, ecosystem, latest version, resolved version, license identifier, deprecation boolean, weekly download count, and a boolean indicating whether the package contains install scripts.","failureModes":["Package not found in the specified ecosystem — returns an error or empty result","Invalid ecosystem value (not 'npm' or 'PyPI') — schema validation error","Version string does not exist for the package — may return null or error for resolved_version","Registry temporarily unavailable — upstream timeout or error propagated","Malformed package name — rejected at input validation"],"whenToPreferThis":"Choose this endpoint when you need lightweight, structured metadata about a specific npm or PyPI package without setting up a registry API account or subscription. It is ideal for agents that need to verify a package's license, deprecation status, or version in a single cheap pay-per-call request, especially in CI/CD pipelines, dependency audits, or supply-chain checks.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-29T07:04:54.776Z","isFirstParty":false,"canonicalSlug":"tolca-package-metadata-lookup-npm-pypi-2540616e"}