{"uid":"cap_b9ZAvEhyIhBcZ2ZEIlrxL","slug":"sindri-semver-compare-736b87a1","name":"Sindri Semver Compare","description":"Compares two semantic version strings and reports which is greater, lesser, or equal, using the standard semver comparison rules.","url":"https://x402.outpimp.com/semverCompare","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"versionA":{"type":"string","description":"First semantic version, e.g. \"1.2.3\"."},"versionB":{"type":"string","description":"Second semantic version, e.g. \"1.2.4\"."}}},"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_JoLYfEIg9lOTc-_TG_BpA","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":"Compares two semantic version strings and returns whether versionA is greater than, less than, or equal to versionB using standard semver rules.","exampleAgentPrompt":"Which semver version is greater — 2.11.0 or 2.9.3?","exampleUseCases":[{"title":"Dependency update check in CI","prompt":"I need to know if the installed library version 3.4.1 is older than the latest release 3.5.0 — can you compare those two semver strings and tell me which is greater?"},{"title":"Release gate validation","prompt":"Before we deploy, check whether our build version 1.10.2 is greater than, less than, or equal to the last production release 1.9.8."},{"title":"Automated changelog ordering","prompt":"I have two release tags — v0.12.0 and v0.9.4 — which one is the newer semver version?"}],"resultDescription":"Returns a comparison result indicating whether versionA is greater than, less than, or equal to versionB according to standard semantic versioning (major.minor.patch) precedence rules.","failureModes":["Malformed version string (e.g. missing patch segment or non-numeric parts) returns an error or unexpected result","Pre-release labels (e.g. 1.0.0-alpha) may not be handled if the API only supports core semver","Empty or null version strings cause a validation error","Build metadata suffixes may be ignored or cause parsing errors"],"whenToPreferThis":"Use this endpoint when you need a quick, authoritative semver comparison without implementing semver parsing logic yourself — ideal for CI/CD pipelines, dependency checkers, or any agent workflow that needs to determine version ordering between exactly two semver strings in real time.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T12:48:33.247Z","isFirstParty":false}