{"uid":"cap_UMcoGApaRd6qrClPin3Yh","slug":"pub-dev-package-latest-release-metadata-05a7dc8e","name":"pub.dev Package Latest Release Metadata","description":"Latest release metadata for a Dart/Flutter package on pub.dev (param pkg = package name). Query: ?pkg= Returns JSON.","url":"https://clonecho.builda.company/x402/s/pubdev-package","method":"POST","headers":{},"bodySchema":null,"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.02","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.02/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.02","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.02","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_WK74f98FzdWKKJZFk6rqO","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.02","costPer":"request","priority":0,"asset":"0x036CbD53842c5426634e7929541eC2318f3dCF7e","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Fetches the latest release metadata for a Dart/Flutter package on pub.dev by package name","exampleAgentPrompt":"What's the latest release metadata for the 'http' package on pub.dev? I want to know the current version, publish date, and description.","exampleUseCases":[{"title":"Automated Flutter dependency upgrade checker","prompt":"Check the latest versions of our core Flutter packages like provider, riverpod, and get_it. I need to see if there are newer releases available and what their publish dates are so we can plan dependency updates."},{"title":"Dart package compatibility validation tool","prompt":"Look up the current metadata for uuid, intl, and json_serializable packages. I want to verify what versions are latest and review their dependency requirements before recommending them to our team."},{"title":"Development environment setup assistant","prompt":"I'm setting up a new Dart project and need to know the latest stable releases of dio, freezed, and build_runner. Can you fetch their current versions and descriptions so I can add them to our pubspec.yaml?"}],"resultDescription":"A JSON object containing the latest release metadata for the specified Dart/Flutter package on pub.dev, including version number, publish date, package description, author information, and dependency details.","failureModes":["Package name not found on pub.dev — returns error or empty result","Invalid or missing pkg parameter — returns 400 or error JSON","pub.dev API unavailable — upstream timeout or 5xx error","Typo in package name yields no results"],"whenToPreferThis":"Use this endpoint when you need to programmatically retrieve the latest release metadata for any Dart or Flutter package hosted on pub.dev, especially for version checks, dependency auditing, or developer tooling workflows. Prefer this over scraping pub.dev directly.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-13T12:52:32.437Z","isFirstParty":false}