{"uid":"cap_u9CChcEE6Eaz6FroAGixD","slug":"pennyrail-npm-latest-npm-package-latest-version-lookup-73c0bbce","name":"PennyRail npm.latest — NPM Package Latest Version Lookup","description":"Machine-readable settlement service","url":"https://pennyrail.vercel.app/api/f/npm.latest","method":"POST","headers":{},"bodySchema":{"type":"object","required":["input"],"properties":{"input":{"type":"string","description":"package name"}}},"responseSchema":{"type":"object","required":["operation","result"],"properties":{"result":{},"operation":{"type":"string"}},"additionalProperties":true},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.001","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.001/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_uDhuSp_7BdGVcMD0UWeVT","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.001","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns the latest published version of an npm package by name","exampleAgentPrompt":"What is the latest published version of the 'axios' package on npm?","exampleUseCases":[{"title":"Dependency version pinning for new project","prompt":"What is the latest version of 'react' on npm right now? I want to pin it in my new project's package.json."},{"title":"Security audit version check","prompt":"Can you look up the latest published version of 'lodash' on npm? I want to make sure I'm not using an outdated release with known vulnerabilities."},{"title":"CI pipeline dependency freshness check","prompt":"What is the current latest version of 'typescript' on npm? I'm setting up an automated check to flag when our pinned version falls behind."}],"resultDescription":"Returns a JSON object containing an 'operation' field describing the action performed and a 'result' field with the latest version information for the requested npm package, which may include the version string and associated package metadata.","failureModes":["Package name not found on npm registry — returns error or null result","Invalid or empty package name input — may return validation error","npm registry upstream unavailability — may return timeout or 5xx","Scoped package names (e.g. @org/pkg) may require special formatting","Rate limiting or payment failure may block the request"],"whenToPreferThis":"Use this endpoint when you need a quick, programmatic lookup of the latest npm package version without setting up npm CLI or registry API credentials. It is best suited for agents automating dependency checks, version pinning, or audit workflows at $0.001 USDC per call with x402 micropayment settlement.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T18:41:37.897Z","isFirstParty":false}