{"uid":"cap_vRR0OWen31iBVrq8UwQxP","slug":"pennyrail-npm-package-info-lookup-0471e797","name":"PennyRail npm Package Info Lookup","description":"Machine-readable settlement service","url":"https://pennyrail.vercel.app/api/p/network/npm.latest--npm-package-info","method":"POST","headers":{},"bodySchema":{"type":"object","required":["input"],"properties":{"input":{"type":"string"}}},"responseSchema":{"type":"object","additionalProperties":true},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.003","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.003/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.003","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.003","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_29U75kdQGKxl3N7jqp40G","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.003","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Fetches the latest metadata for an npm package by name via a paid settlement endpoint","exampleAgentPrompt":"Can you look up the latest npm package info for 'lodash' — I need the current version, description, and license?","exampleUseCases":[{"title":"Check latest package version","prompt":"What's the current version of the 'axios' npm package? I want to know if we're behind on our dependency."},{"title":"Retrieve package license info","prompt":"Can you pull up the npm metadata for 'express' and tell me what license it uses? I need to check if it's compatible with our project."},{"title":"Inspect package author and repo","prompt":"Look up the npm package info for 'chalk' — I need the author name and the GitHub repository URL."}],"resultDescription":"Returns a JSON object containing npm registry metadata for the specified package, including its latest version number, description, author, license type, dependencies, repository URL, and other registry fields.","failureModes":["Package name not found in npm registry — returns an error or empty result","Invalid or empty input string — may return a validation error","npm registry upstream unavailable — potential timeout or 5xx error","Payment settlement failure via x402 — request not processed","Malformed input object missing the required 'input' field — returns 400-level error"],"whenToPreferThis":"Choose this endpoint when an AI agent needs programmatic, pay-per-call access to npm package metadata without managing npm registry API keys or rate limits. It is well-suited for agents that occasionally need to resolve package information as part of a larger workflow, such as auditing dependencies, checking licenses, or verifying package existence, and that prefer a metered USDC micropayment model over subscription-based access.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T07:21:55.729Z","isFirstParty":false}