{"uid":"cap_5fjYytZrV3BNSkKntppsg","slug":"fittings-semver-bump-classifier-0a1b9c3e","name":"fittings Semver Bump Classifier","description":"Classifies the change between two versions as major, minor, patch, premajor, preminor, prepatch, prerelease or none, with the direction and whether the move stays inside a caret range.","url":"https://fittings.sh/v1/semver/bump-classify","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["GET"],"type":"string"},"queryParams":{"type":"object","required":["from","to"],"properties":{"to":{"type":"string","description":"The version being moved to, e.g. 1.3.0"},"from":{"type":"string","description":"The version being moved away from, e.g. 1.2.3"}}}},"additionalProperties":false}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.003","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.003/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.003","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.003","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_dnaSntUXy28LgR-qQnl9u","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.003","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Classifies the semantic version change between two versions (e.g. major, minor, patch) and reports direction and caret-range compatibility.","exampleAgentPrompt":"Can you classify the semver bump between version 1.2.3 and 2.0.0 — is it major, minor, or patch, and does it stay within a caret range?","exampleUseCases":[{"title":"Dependency upgrade safety check","prompt":"I'm upgrading a package from version 2.4.1 to 2.5.0 — classify the semver bump and tell me if it stays within a caret range so I know if it's safe to auto-update."},{"title":"CI pipeline version gate","prompt":"In my release pipeline, the previous build was 3.0.0 and the new one is 3.0.1 — what kind of semver bump is that, and is it a patch or something bigger?"},{"title":"Prerelease version classification","prompt":"We published version 1.0.0-alpha.1 and now we're moving to 1.0.0-alpha.2 — classify that version change: is it a prerelease bump, and which direction is it?"}],"resultDescription":"Returns the bump type (one of: major, minor, patch, premajor, preminor, prepatch, prerelease, or none), the direction of change (upgrade or downgrade), and whether the version move stays within a caret (^) range.","failureModes":["Invalid semver strings for 'from' or 'to' result in an error response","Missing required 'from' or 'to' query parameters return a validation error","Non-standard version strings (e.g. date-based versions) may not be parseable","Reversed or equal versions may return 'none' or unexpected direction"],"whenToPreferThis":"Choose this endpoint when you need a precise, programmatic classification of the semantic version difference between two version strings — especially when you also need to know caret-range compatibility. Prefer it over manual regex or string comparison when the bump type (major/minor/patch/pre*) and range compatibility must both be known in one call.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T19:08:51.514Z","isFirstParty":false}