{"uid":"cap_l3Dh04Ivn5tL8lG_ltu7m","slug":"npm-package-search-via-x402-75f3f653","name":"npm Package Search via x402","description":"66 pay-per-call APIs: AI text/image generation ($0.01), Polymarket odds, crypto prices, DeFi yields, FX rates, weather, IP/geo, FBI wanted, SEC tickers, clinical trials, 250M academic papers, Stack Overflow, meme-coin launchpads (pump.fun, Clanker, Four.meme, SunPump), tokenized stocks, Solana top 100, and 40+ more. $0.005/call standard. USDC on Base and Solana via x402.","url":"https://workspace-x402-paywall.onrender.com/search/npm?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"type":"object","properties":{"properties":{"type":"string"}}},"responseSchema":{"type":"object"},"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_qNI02_1puJDrG8LdpX9AY","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":"Searches the npm registry for packages matching a query string, returning relevant package metadata, for $0.005 USDC per call via x402 micropayment.","exampleAgentPrompt":"Search npm for packages related to 'JWT authentication' and show me the top results.","exampleUseCases":[{"title":"Finding a CSV parsing library","prompt":"Search npm for packages that help parse CSV files in Node.js and tell me which ones are most popular."},{"title":"Discovering date utility packages","prompt":"What npm packages are available for date formatting and manipulation in JavaScript? Search npm for 'date utility'."},{"title":"Locating HTTP client libraries","prompt":"Search npm for HTTP client libraries — I'm looking for something like axios or got for making API requests in Node.js."}],"resultDescription":"Returns a JSON object containing npm search results for the given query, likely including package names, descriptions, version numbers, download counts, and other registry metadata for matching packages.","failureModes":["Missing required 'q' parameter returns an error","Empty or too-generic query may return irrelevant results","Payment not provided or rejected by x402 paywall returns 402 Payment Required","npm registry upstream unavailable causes 502/503","Rate limiting if too many requests are made in quick succession"],"whenToPreferThis":"Choose this endpoint when you need to search the npm registry for JavaScript/Node.js packages by keyword or name, especially in an agent workflow that supports x402 micropayments on Base or Solana. Prefer this over scraping npmjs.com directly or using the full npm CLI, as it provides a clean, pay-per-call API at $0.005 USDC with no subscription required.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-11T18:43:25.678Z","isFirstParty":false,"canonicalSlug":"npm-package-search-via-x402-75f3f653"}