{"uid":"cap_VpSuTYyWKxVZmF1k_tGhL","slug":"scriptmasterlabs-acp-x402-semver-compare-e5811e82","name":"ScriptMasterLabs ACP x402 — Semver Compare","description":"Pay-per-call crypto, RWA, federal, SEC, and compliance APIs. Settled in USDC on Base via x402. Hyphen routes only (e.g. /x402/rwa-aggregates, /x402/gas-tracker).","url":"https://acp-x402-scriptmasterlabs.onrender.com/x402/semver-compare?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"type":"object","properties":{"properties":{"type":"string"}}},"responseSchema":{"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_PICNKsObzCuLkpB2gHYRD","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 to determine their relative ordering or equality, paid per-call in USDC via x402.","exampleAgentPrompt":"Compare semantic versions 2.3.1 and 2.10.0 — which one is greater, or are they equal?","exampleUseCases":[{"title":"Dependency upgrade decision check","prompt":"I need to know if version 3.2.0 of a library is newer than 3.1.11 — can you compare those two semver strings and tell me which is higher?"},{"title":"Release pipeline gating","prompt":"Before we cut a release, check whether our build version 1.4.0-beta.2 is greater than, less than, or equal to the last published version 1.4.0-alpha.9."},{"title":"Package version audit","prompt":"We're auditing our dependencies — compare semver 0.9.99 against 1.0.0 and tell me which one takes precedence."}],"resultDescription":"Returns a comparison result indicating whether the first version is less than, equal to, or greater than the second version, following semantic versioning precedence rules (major, minor, patch, and pre-release identifiers).","failureModes":["Invalid or malformed version string returns an error response","Missing required version parameters returns a 400-style error","Payment not settled via x402 results in a 402 Payment Required response before the comparison is processed","Ambiguous pre-release label formats may yield unexpected ordering results"],"whenToPreferThis":"Prefer this endpoint when you need a pay-per-call, zero-infrastructure semver comparison without deploying your own logic, especially in agentic workflows that already use x402 USDC micropayments on Base. It is ideal when comparing versions programmatically as part of a release pipeline, dependency audit, or package management workflow and you want a reliable, standards-compliant result without importing a semver library.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-14T18:44:49.902Z","isFirstParty":false,"canonicalSlug":"scriptmasterlabs-acp-x402-semver-compare-e5811e82"}