{"uid":"cap_cKHj68l6K_siLFLspYn2u","slug":"writerslogic-semver-range-checker-c570b6a1","name":"WritersLogic Semver Range Checker","description":"Pay-per-call agents settled in USDC on Base via x402. Every response carries a signed provenance envelope.","url":"https://agents.writerslogic.com/api/v1/semver-check?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"range":{"type":"string","maxLength":300,"description":"The range: npm '^1.2.3 || >=2', PEP 440 '>=1.0,<2', Cargo '>=1.2, <1.5', Maven '[1.0,2.0)'."},"versions":{"type":"array","items":{"type":"string","maxLength":100},"maxItems":100,"description":"Candidate versions to test; omit to only validate the range."},"ecosystem":{"enum":["npm","pep440","cargo","maven"],"type":"string","description":"Which range syntax and version ordering to apply."},"prereleases":{"type":"boolean","description":"npm includePrerelease / PEP 440 prereleases=true. Default false (ecosystem default exclusion applies)."}}},"responseSchema":{"type":"json"},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.005","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.005/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_e7Yo8gW_7UMo2oz7fCXd_","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.005","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Parses a dependency version range in npm, PEP 440, Cargo, or Maven syntax and tests up to 100 candidate versions against it, returning per-version satisfy/violate results with the highest match.","exampleAgentPrompt":"Check which of these npm versions — 1.2.2, 1.3.0, 1.9.9, 2.0.0, 2.1.0 — satisfy the range ^1.2.3 || >=2.1, and tell me which is the highest match.","exampleUseCases":[{"title":"Dependency upgrade safety check","prompt":"I'm about to update my package.json and need to know which of these candidate versions — 3.0.0, 3.1.0, 3.2.0-alpha.1, 4.0.0 — satisfy the npm range '^3.1.0'. Don't include prereleases."},{"title":"Python package constraint validation","prompt":"Can you check these Python versions — 1.0.0, 1.5.0, 2.0.0, 2.1.0b1 — against the PEP 440 specifier '>=1.2,<2.0' and tell me which ones are allowed, which are blocked, and why?"},{"title":"Cargo dependency manifest review","prompt":"I'm reviewing a Rust Cargo.toml and want to know which of these versions — 1.1.0, 1.2.0, 1.4.9, 1.5.0, 1.6.0 — satisfy the requirement '>=1.2, <1.5', using cargo ecosystem rules."}],"resultDescription":"Returns a per-version list of satisfies or violates results (including which comparator failed for violations), the normalized canonical form of the input range, all candidate versions in sorted order, and the single highest version that satisfies the range.","failureModes":["Invalid or unparseable range string returns a parse error","Ecosystem mismatch (e.g. npm caret syntax sent with pep440 ecosystem) causes incorrect evaluation","More than 100 candidate versions submitted — excess versions may be rejected","Malformed version strings in the candidates array return per-entry errors","Omitting the ecosystem parameter may cause ambiguous or incorrect parsing"],"whenToPreferThis":"Use this endpoint when an AI agent needs to validate, filter, or compare dependency version strings against a range expression in any of the four major ecosystems (npm, PEP 440, Cargo, Maven) without needing to query a live registry or resolve a full dependency graph. Ideal for agents that write, review, or lint manifest files like package.json, requirements.txt, Cargo.toml, or pom.xml.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-19T06:38:06.753Z","isFirstParty":false,"canonicalSlug":"writerslogic-semver-range-checker-c570b6a1"}