{"uid":"cap_qbaFnJXLIVafWUG6Cdona","slug":"worlddata402-npm-package-lookup-8ec2660b","name":"WorldData402 NPM Package Lookup","description":"Global market, government and reference data for AI agents. Pay-per-call over x402 (USDC on Base mainnet).","url":"https://worlddata402.worlddata402.workers.dev/v1/packages/npm/%7Bname%7D?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":null,"responseSchema":null,"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_Hnm-1u3qvGtpWHnTVC4ec","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":"Fetches metadata and details for a specified NPM package via a pay-per-call x402 API","exampleAgentPrompt":"Can you look up the npm package 'lodash' and tell me its latest version, license, and a brief description?","exampleUseCases":[{"title":"Checking package version before install","prompt":"What is the latest published version of the 'axios' npm package and who maintains it?"},{"title":"License compliance audit","prompt":"I need to check the license type for the npm package 'moment' — can you pull that info for me?"},{"title":"Dependency research for a new project","prompt":"Look up the npm package 'express' and give me its description, current version, and a list of its dependencies."}],"resultDescription":"Returns structured metadata about the requested NPM package, including its name, latest version, description, license, author/maintainers, dependencies, repository URL, and potentially download statistics.","failureModes":["Package name not found — returns 404 or empty result","Invalid or malformed package name — may return error","Payment failure over x402 — call not executed","Rate limiting or quota exceeded — call rejected","Package exists but has no published versions — incomplete metadata returned"],"whenToPreferThis":"Choose this endpoint when you need quick, pay-per-call lookups of npm package metadata without setting up a dedicated npm registry API key. It is especially suited for AI agents operating autonomously with on-chain micropayment capability via x402 on Base mainnet, avoiding subscription overhead for infrequent lookups.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-23T18:42:28.200Z","isFirstParty":false,"canonicalSlug":"worlddata402-npm-package-lookup-8ec2660b"}