{"uid":"cap_S2N77Objdq8PTI7XeGPSf","slug":"sindri-semver-compare-e522d012","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://ppu43fkyhimq5fiqpmo42eh5ri0yypid.lambda-url.us-east-1.on.aws/semverCompare?utm_source=zero.xyz","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_jpvXGevTsitPyD0k2k_qd","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 (e.g. '1.2.3' vs '1.2.4') and returns which is greater, lesser, or equal using standard semver rules.","exampleAgentPrompt":"Which is the newer version — '2.1.0' or '2.0.9'? Compare them using semver rules and tell me which one is greater.","exampleUseCases":[{"title":"Dependency upgrade check","prompt":"I need to know if the installed package version '3.4.1' is older than the required minimum '3.5.0' — can you compare them using semver and tell me which is greater?"},{"title":"Release pipeline version gate","prompt":"Before we deploy, check whether the new build version '1.10.0' is actually greater than the currently live version '1.9.5' using proper semver comparison."},{"title":"Changelog ordering validation","prompt":"We have two release tags, '0.12.3' and '0.12.3-beta.1' — compare them with semver rules and tell me which one takes precedence."}],"resultDescription":"Returns a structured result indicating the comparison outcome between versionA and versionB — specifically whether versionA is greater than, less than, or equal to versionB, according to standard semantic versioning (semver) precedence rules.","failureModes":["Malformed version string (e.g. '1.a.3') causes a parse error or 400-level response","Missing required field (versionA or versionB) results in a validation error","Pre-release tag edge cases (e.g. '1.0.0-alpha' vs '1.0.0') may not be supported if implementation is partial","Network timeout on the Lambda URL under cold-start conditions"],"whenToPreferThis":"Use this endpoint when you need a reliable, rules-compliant semver comparison without implementing the logic yourself — ideal for CI/CD pipelines, dependency checkers, release automation, or any agent workflow that needs to determine version ordering programmatically. Prefer this over rolling your own string comparison, which can mishandle pre-release tags or numeric segment padding.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-02T03:06:09.793Z","isFirstParty":false,"canonicalSlug":"sindri-semver-compare-e522d012"}