{"uid":"cap_H66Y-D6xkZbI42ku4CfpW","slug":"composer-package-version-status-lookup-9b6b6ec2","name":"Composer Package Version Status Lookup","description":"Look up the current published version of any PHP Composer package on Packagist (PHP) — latest version string, release date, and repo/docs URL. Answers \"what is the newest version of framework, console, monolog, guzzle?\" for composer.json pinning. Use ?package=<name> (resolved live).","url":"https://oracles-production.up.railway.app/v1/composer/status","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["GET"],"type":"string"},"queryParams":{"type":"object","properties":{"id":{"type":"string","description":"entityId to look up; omit to list tracked entities"},"package":{"type":"string","description":"Any Packagist (PHP) package name — resolved and fetched live if not already tracked"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object","properties":{"entity":{"type":"object"}}}}}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.01","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.01/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_Ti5PGu-dojotZixea73WJ","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns the current latest version, publish date, and URL for a PHP Composer (Packagist) package by name, resolved live.","exampleAgentPrompt":"What is the latest released version of the symfony/http-kernel Composer package, and when was it published?","exampleUseCases":null,"resultDescription":"Returns a JSON object containing the entity record for the queried PHP Composer package, including the current latest version string, its publish/release date, and the canonical package URL on Packagist.","failureModes":["Package name not found on Packagist — returns empty or error response","Invalid package name format — query param malformed","Package not yet tracked and live resolution fails — network or Packagist API timeout","Missing required query parameter — no id or package provided","Payment not processed — 402 response if x402 payment header missing"],"whenToPreferThis":"Use this endpoint when you need a quick, live lookup of the latest version and release date for any PHP Composer/Packagist package. Prefer over scraping Packagist directly when you need a paid, reliable, structured JSON response without parsing HTML. Best for dependency audits, version checks in CI contexts, or alerting workflows for PHP projects.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T01:00:44.346Z","isFirstParty":false}