{"uid":"cap_eJlU6a3izcw86VrKISBLd","slug":"delx-commerce-semantic-version-parts-parser-82cf4b65","name":"Delx Commerce — Semantic Version Parts Parser","description":"Pay-per-result APIs for agents. No signup. Exact price. Verifiable delivery. USDC on Base + Solana via x402.","url":"https://commerce.delx.ai/api/v1/x402/semver-parts?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"version":{"type":"string","description":"Input field: version."}}},"responseSchema":{"type":"json","example":{"major":1,"minor":2,"patch":3,"valid":true,"schema":"delx/util-semver-parts/v1"}},"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_UABbrZMcrDnsS2gSwuG1H","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":"Parses a semantic version string into its major, minor, and patch components with validity confirmation","exampleAgentPrompt":"Can you parse the version string '2.14.1' and tell me what the major, minor, and patch numbers are?","exampleUseCases":[{"title":"Validate dependency version before upgrade","prompt":"I have a package version '3.0.0-alpha' — can you split it into parts and tell me if it's a valid semver so I can decide whether to allow it in our dependency checker?"},{"title":"Extract major version for compatibility check","prompt":"What's the major version number in '1.22.5'? I need to confirm whether it's still in the v1 compatibility range."},{"title":"Parse changelog version for release automation","prompt":"I'm building a release pipeline — take '0.9.11' and give me the major, minor, and patch numbers separately so I can tag the build correctly."}],"resultDescription":"Returns a JSON object with integer fields for major, minor, and patch version numbers, a boolean 'valid' flag indicating whether the input was a well-formed semantic version string, and a schema identifier string.","failureModes":["Invalid or non-semver version string returns valid=false with null or zero component values","Missing 'version' field in request body may cause a 400 error","Versions with pre-release or build metadata suffixes (e.g. '1.0.0-alpha') may affect validity flag","Payment failure via x402 protocol prevents API call from completing"],"whenToPreferThis":"Use this endpoint when you need a fast, cheap, pay-per-call utility to reliably decompose and validate a semantic version string without setting up any authentication or subscription. Ideal for agents automating software release pipelines, dependency checkers, or version compatibility logic that need programmatic access to major/minor/patch components.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-02T04:39:04.361Z","isFirstParty":false,"canonicalSlug":"delx-commerce-semantic-version-parts-parser-82cf4b65"}