{"uid":"cap_zvzWlEQQIK8iCj8-vqNSs","slug":"pennyrail-npm-latest-package-version-lookup-565226e0","name":"PennyRail npm Latest Package Version Lookup","description":"Machine-readable settlement service","url":"https://pennyrail.vercel.app/api/p/network/npm.latest--package-version-npm","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_q56e_kSLeqBhyR3Rr6Lmu","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 published version of a given npm package name via a paid settlement endpoint","exampleAgentPrompt":"What's the latest published version of the 'axios' package on npm?","exampleUseCases":[{"title":"Dependency version audit","prompt":"Check the latest npm version of 'lodash' so I can see if my project is behind."},{"title":"Automated release monitoring","prompt":"What's the most recent version of 'express' on npm? I want to know if a new release dropped."},{"title":"Lockfile freshness check","prompt":"Look up the latest published version of 'typescript' on npm — I need to compare it against what we have pinned in our package.json."}],"resultDescription":"Returns a JSON object containing the latest published version string for the specified npm package, sourced from the npm registry.","failureModes":["Unknown or misspelled package name returns an error or empty result","Network timeout or upstream npm registry unavailability","Malformed input string (empty or invalid package name) may return a validation error","Payment settlement failure via x402 protocol prevents the call from completing"],"whenToPreferThis":"Use this endpoint when you need a quick, programmatic lookup of the latest npm package version and are operating in an x402-capable payment environment. Prefer this over direct npm registry calls when building agents that already use PennyRail's settlement infrastructure or when you need a normalized, machine-readable response without parsing raw npm API JSON.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T13:12:22.841Z","isFirstParty":false}