# Saylor Innovations Semver Range

> Saylor Innovations Semver Range is a paid API for AI agents from saylorinnovations.com, paid per call via x402, $0.01/call, status unknown (last checked 2026-11-20).

Checks whether a given semantic version string satisfies a specified version range expression (^, ~, x-range, || ranges)

## Facts

- Endpoint: GET https://saylorinnovations.com/api/semver/satisfies?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-11-20
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/saylor-innovations-semver-range-e8333711
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_kkQAoVIZfCC8Rfean8uhc

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability saylor-innovations-semver-range-e8333711
```

Example prompt: Does version 2.3.1 satisfy the semver range ^2.0.0 || >=3.0.0 <4.0.0?

## When to prefer this

Use this endpoint when you need a quick, stateless API call to validate semver compatibility without importing a Node.js/npm semver library or running code locally. Ideal for pipelines, agents, or serverless functions that need to check version constraints on-the-fly with no runtime dependency on semver tooling.

## Known failure modes

- Missing required 'version' query parameter returns an error
- Missing required 'range' query parameter returns an error
- Malformed semver version string (e.g. 'abc') may return an error or false
- Invalid range syntax may cause a parse error response
- Payment not processed returns a 402 status

## How this service works

Semver range check - does a version satisfy ^, ~, x-range or || ranges

## Output

Returns a JSON object containing the queried version, the range expression, a boolean 'satisfies' field indicating whether the version matches the range, and optionally a 'matched_alternative' number (for || compound ranges) and a 'scope_note' describing coverage.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method",
    "queryParams"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "required": [
      "version",
      "range"
     ],
     "properties": {
      "range": {
       "type": "string",
       "description": "required range such as ^1.2.0 or >=2 <3 || 4.x (query)"
      },
      "version": {
       "type": "string",
       "description": "required version (query)"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "json"
    },
    "example": {
     "type": "object",
     "required": [
      "version",
      "range",
      "satisfies"
     ],
     "properties": {
      "range": {
       "type": "string",
       "description": "Range covered by the data"
      },
      "version": {
       "type": "string",
       "description": "Version identifier"
      },
      "satisfies": {
       "type": "boolean"
      },
      "scope_note": {
       "type": "string",
       "description": "What this data covers and what it leaves out"
      },
      "prerelease_note": {
       "type": [
        "null"
       ]
      },
      "matched_alternative": {
       "type": "number",
       "description": "Matched alternative"
      }
     },
     "additionalProperties": true
    },
    "description": {
     "type": "string"
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/saylor-innovations-semver-range-e8333711/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from saylorinnovations.com](https://www.zero.xyz/host/saylorinnovations.com/llms.txt)
