# ScriptMasterLabs ACP x402 — Semver Compare

> ScriptMasterLabs ACP x402 — Semver Compare is a paid API for AI agents from acp-x402-scriptmasterlabs.onrender.com, paid per call via x402, $0.001/call, status unknown (last checked 2026-10-14).

Compares two semantic version strings to determine their relative ordering or equality, paid per-call in USDC via x402.

## Facts

- Endpoint: GET https://acp-x402-scriptmasterlabs.onrender.com/x402/semver-compare?utm_source=zero.xyz
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/scriptmasterlabs-acp-x402-semver-compare-e5811e82
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_VpSuTYyWKxVZmF1k_tGhL

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 scriptmasterlabs-acp-x402-semver-compare-e5811e82
```

Example prompt: Compare semantic versions 2.3.1 and 2.10.0 — which one is greater, or are they equal?

## When to prefer this

Prefer this endpoint when you need a pay-per-call, zero-infrastructure semver comparison without deploying your own logic, especially in agentic workflows that already use x402 USDC micropayments on Base. It is ideal when comparing versions programmatically as part of a release pipeline, dependency audit, or package management workflow and you want a reliable, standards-compliant result without importing a semver library.

## Known failure modes

- Invalid or malformed version string returns an error response
- Missing required version parameters returns a 400-style error
- Payment not settled via x402 results in a 402 Payment Required response before the comparison is processed
- Ambiguous pre-release label formats may yield unexpected ordering results

## How this service works

Pay-per-call crypto, RWA, federal, SEC, and compliance APIs. Settled in USDC on Base via x402. Hyphen routes only (e.g. /x402/rwa-aggregates, /x402/gas-tracker).

## Output

Returns a comparison result indicating whether the first version is less than, equal to, or greater than the second version, following semantic versioning precedence rules (major, minor, patch, and pre-release identifiers).

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "properties": {
   "type": "string"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "example": {}
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/scriptmasterlabs-acp-x402-semver-compare-e5811e82/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from acp-x402-scriptmasterlabs.onrender.com](https://www.zero.xyz/host/acp-x402-scriptmasterlabs.onrender.com/llms.txt)
