{"uid":"cap_AN60cTNewBQbQjTed5SI3","slug":"delx-semver-compare-7bd9f697","name":"Delx Semver Compare","description":"Compare two semantic versions for $0.001 USDC. Call when you need this bounded result without an API key or subscription. Returns machine-readable JSON via x402 on Base or Solana. Limitation: results cover only the supplied input or one bounded public endpoint at request time; callers must verify before acting.","url":"https://api.delx.ai/api/v1/x402/semver-compare?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input","output"],"properties":{"input":{"type":"object","required":["type","bodyType","body"],"properties":{"body":{"type":"object","additionalProperties":true},"type":{"type":"string","const":"http"},"method":{"enum":["POST","PUT","PATCH"],"type":"string"},"bodyType":{"enum":["json","form-data","text"],"type":"string"}},"additionalProperties":false},"output":{"type":"object","required":["type","example"],"properties":{"type":{"type":"string","const":"json"},"example":{"type":"object","additionalProperties":true}}}}},"responseSchema":{"type":"json","example":{}},"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_Qwzh2XUfXX_OzZgOeWrkE","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":"Compares two semantic version strings and returns their ordering relationship (greater, less, or equal).","exampleAgentPrompt":"Compare semantic versions 2.3.1 and 2.10.0 — which one is higher?","exampleUseCases":[{"title":"Dependency upgrade decision","prompt":"Is version 4.2.1 of this library greater than, less than, or equal to 4.2.0? I need to know if there's actually a newer release before I push an upgrade."},{"title":"CI pipeline version gate","prompt":"My build produced version 1.15.0 and the last released version is 1.14.9 — compare those two semver strings and tell me which is greater so I can decide whether to publish."},{"title":"Changelog ordering check","prompt":"I have two release tags: v3.0.0-beta.2 and v3.0.0-beta.11 — which one comes later according to semver rules?"}],"resultDescription":"Returns a comparison result indicating whether the first version is greater than, less than, or equal to the second version, based on standard semantic versioning (SemVer) precedence rules.","failureModes":["Malformed version string (non-semver input) returns an error","Missing one or both version parameters returns a validation error","Pre-release and build metadata edge cases may produce unexpected results if inputs are not valid semver","Payment of $0.001 USDC required per call via x402; missing or failed payment returns 402 status"],"whenToPreferThis":"Use this endpoint when you need a reliable, standards-compliant semver comparison without implementing the logic yourself — especially in agent pipelines doing dependency resolution, release gating, or version ordering where correctness of pre-release and patch ordering matters.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-23T01:39:48.532Z","isFirstParty":false,"canonicalSlug":"delx-semver-compare-7bd9f697"}