{"uid":"cap_5-KfQCe7XZ75a7Wq_1tW3","slug":"npm-registry-search-json-pick-format-58eaa28c","name":"npm Registry Search (JSON-Pick Format)","description":"","url":"https://x402-v2-mint-npm-search.vercel.app/v1/npm-search/fmt/json-pick?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":null,"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.004","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"registry","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.004/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.004","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.004","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_Ll6sSi88nr5BuSa_3NvzG","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.004","costPer":"request","priority":0,"asset":null,"unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Searches the npm registry by keyword and returns a curated JSON-pick subset of package metadata including name, version, description, weekly downloads, and links — up to 20 results per query.","exampleAgentPrompt":"Search npm for date formatting libraries and return up to 10 results with their name, version, description, and weekly downloads.","exampleUseCases":[{"title":"Find HTTP client packages","prompt":"Search npm for HTTP client libraries and give me the top 5 results with their names, versions, descriptions, and how many weekly downloads each has."},{"title":"Discover React UI component libraries","prompt":"Look up npm packages for React UI components and return up to 15 results so I can compare the most popular options."},{"title":"Evaluate testing framework options","prompt":"Search npm for JavaScript testing frameworks and show me up to 10 packages, including their weekly download counts so I can see which ones are most widely used."}],"resultDescription":"Returns a JSON-pick formatted array of up to 20 npm package objects, each containing the package name, version, description, weekly download count, and relevant links (e.g. npm page, homepage, repository). Returns a 400 error with charged:false if the query yields empty or invalid results after settlement.","failureModes":["Empty or invalid search results after settlement returns HTTP 400 with charged:false (no charge applied)","Requesting more than 20 results may be rejected or capped","Missing or empty 'text' field causes a bad request error","Network or registry unavailability may cause timeouts"],"whenToPreferThis":"Prefer this endpoint when you need quick, structured npm package metadata in a compact JSON-pick format without API keys or authentication. It's ideal for agents that need to programmatically discover, compare, or recommend npm packages based on a keyword search. Choose this over full npm registry API calls when you want a lightweight, pay-per-use approach with no key management overhead.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-31T18:36:54.189Z","isFirstParty":false,"canonicalSlug":"npm-registry-search-json-pick-format-58eaa28c"}