Ir al contenido
GET /v1/meta

Spec

Pruébalo en vivo

10 llamadas gratis al día — sin registro, sin clave API. Pasa por el gateway de oanor.

Encabezados personalizados (opcional)
api.oanor.com/semver-api

Funciona. Consigue una clave API y úsala en tu proyecto.

Obtener una clave API

Fragmentos de código

curl "https://api.oanor.com/semver-api/v1/meta" \
  -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/semver-api/v1/meta", {
  headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/semver-api/v1/meta");
curl_setopt($ch, CURLOPT_HTTPHEADER, ["x-oanor-key: oanor_test_..."]);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
$out = curl_exec($ch);
import requests
requests.get(
    "https://api.oanor.com/semver-api/v1/meta",
    headers={"x-oanor-key": "oanor_test_..."}
)

Respuesta de ejemplo

Una respuesta real de este endpoint, capturada en la última comprobación de estado.

{
    "data": {
        "name": "Semver API",
        "notes": "Implements the SemVer 2.0.0 spec and npm-style ranges. Nothing is stored.",
        "version": "v1",
        "endpoints": [
            {
                "path": "/v1/parse",
                "params": {
                    "version": "e.g. 1.2.3-beta.1 (required)"
                },
                "returns": "major, minor, patch, prerelease, build"
            },
            {
                "path": "/v1/compare",
                "params": {
                    "a": "required",
                    "b": "required"
                },
                "returns": "-1/0/1 and the relation (< = >)"
            },
            {
                "path": "/v1/satisfies",
                "params": {
                    "range": "e.g. ^1.0.0 (required)",
                    "version": "required"
                },
                "returns": "whether the version is in range"
            },
            {
                "path": "/v1/inc",
                "params": {
                    "release": "major|minor|patch|pre… (default patch)",
                    "version": "required",
                    "identifier": "for prereleases"
                },
                "returns": "the next version"
            },
            {
                "path": "/v1/range",
                "params": {
                    "range": "required",
                    "versions": "comma-separated list (required)"
                },
                "returns": "matching versions + max/min satisfying"
            },
            {
                "path": "/v1/meta",
                "params": [],
                "returns": "this document"
            }
        ],
        "description": "A Semantic Versioning (SemVer) toolkit — parse a version into its parts, compare two versions, test whether a version satisfies a range (^1.2.3, >=2 <3, ~1.4), increment to the next major/minor/patch/prerelease, and filter a list of versions by a range. Powered by node-semver. Pure local, no key."
    },
    "meta": {
        "timestamp": "2026-06-03T01:09:47.456Z",
        "request_id": "bdc5f86a-3f4b-420a-86ce-98ade36b3c5b"
    },
    "status": "ok",
    "message": "Meta",
    "success": true
}