{"uid":"cap_gpf2LwD118HU3LJ40maTw","slug":"supremeai-npm-package-lookup-e2bb8a5d","name":"supremeai npm package lookup","description":"Pay-per-call tools for AI agents: x402 pre-flight checks (is this endpoint safe to pay?), web pages as clean markdown (with optional JavaScript rendering), Latin American tax-ID validation, npm/PyPI/GitHub lookups, and URL health checks. No API keys, no accounts — pay per request in USDC.","url":"https://agents.supremeai.ca/v1/npm/package?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"name":{"type":"string","description":"npm package name, e.g. 'express' or '@scope/pkg'"}}},"responseSchema":{"type":"json","example":{"name":"express","latest":"5.2.1","license":"MIT","repository":"https://github.com/expressjs/express","dependencies":27,"last_publish":"2026-01-15T00:00:00Z","weekly_downloads":30000000}},"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_QT4lfpxCWZ3JR356xF79y","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":"Looks up an npm package by name and returns its latest version, license, repository, dependency count, and weekly download stats.","exampleAgentPrompt":"Can you look up the npm package 'express' and tell me the latest version, its license, and how many weekly downloads it gets?","exampleUseCases":[{"title":"Check package version before upgrading","prompt":"What's the latest version of lodash on npm, and when was it last published? I want to know if it's been recently maintained before I upgrade."},{"title":"Verify open-source license compatibility","prompt":"I need to check what license the 'axios' npm package uses before I include it in my commercial project — can you look that up?"},{"title":"Assess package popularity for dependency decision","prompt":"How many weekly downloads does 'moment' get on npm, and how many dependencies does it pull in? I'm trying to decide if it's worth adding to my project."}],"resultDescription":"Returns a JSON object with the package name, latest version string, SPDX license identifier, GitHub (or other) repository URL, total number of dependencies, last publish timestamp, and weekly download count.","failureModes":["Package not found — returns an error if the package name does not exist on npm","Scoped package name malformed — incorrect use of '@scope/pkg' format may return an error","Network/upstream timeout — npm registry may be temporarily slow or unavailable","Payment failure — USDC payment not confirmed, request not processed"],"whenToPreferThis":"Use this endpoint when you need quick, structured npm package metadata without setting up an API key or account — ideal for AI agents that need to verify package details, check licenses, or assess popularity on the fly. Prefer over scraping npm's website or using the full npm registry API when you only need summary stats and want a simple pay-per-call model.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-11T18:31:11.751Z","isFirstParty":false,"canonicalSlug":"supremeai-npm-package-lookup-e2bb8a5d"}