Validate, sort and compare semantic versions (SemVer 2.0 precedence incl
Validate, sort and compare semantic versions (SemVer 2.0 precedence incl. prereleases) and test them against an npm-style range (^1.2.0, ~1.4, 1.x, >=2 <3, 1.2 - 2.0, ||). Returns sorted list, latest and latest stable, a/b comparison with change level (major/minor/patch), and which versions satisfy the range with max/min satisfying. Use when choosing a dependency version, checking upgrade compatibility or ordering releases. Offline; matches the npm semver package.
Paid test badge: not yet. The checks above are free: we call the tool without paying and read the payment request it sends back. The Verified badge needs paid calls whose answers match the promised output, and nobody can buy a badge.
Endpoint
GET https://agents.204-168-199-108.sslip.io/v1/util/semver
| Category | Everything else |
|---|---|
| Provider host | agents.204-168-199-108.sslip.io |
| Networks | aws:base, eip155:8453, solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp |
| Payment schemes | exact |
| Self-reported calls, 30 days | 1 from 1 payers (the provider's figure, not ours) |
Our checks, last 30 days
| Day | Result | HTTP | Asked | Time |
|---|---|---|---|---|
| 2026-11-28 | valid payment request | 402 | $0.001 | 1039 ms |
| 2026-11-27 | valid payment request | 402 | $0.001 | 949 ms |
| 2026-11-26 | valid payment request | 402 | $0.001 | 946 ms |
Example input (from the provider)
{
"method": "GET",
"queryParams": {
"range": "^1.2.0",
"versions": "1.2.3, 1.10.0, 2.0.0-beta.1, 2.0.0, 1.9.9"
},
"type": "http"
}
Promised output schema (from the provider)
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"input": {
"additionalProperties": false,
"properties": {
"method": {
"enum": [
"GET"
],
"type": "string"
},
"queryParams": {
"additionalProperties": false,
"properties": {
"range": {
"description": "Optional npm range, e.g. ^1.2.0",
"type": "string"
},
"versions": {
"description": "Versions, comma-separated, e.g. 1.2.3, 1.10.0, 2.0.0-beta.1",
"type": "string"
}
},
"required": [
"versions"
],
"type": "object"
},
"type": {
"const": "http",
"type": "string"
}
},
"required": [
"type",
"method"
],
"type": "object"
},
"output": {
"properties": {
"example": {
"type": "object"
},
"type": {
"type": "string"
}
},
"required": [
"type"
],
"type": "object"
}
},
"required": [
"input"
],
"type": "object"
}