Skip to content
GET /v1/version

A version's licenses & advisories

Try it live

10 free calls per day — no sign-up, no API key. Goes through the oanor gateway.

Custom headers (optional)
api.oanor.com/depsdev-api

It works. Grab an API key and use it in your project.

Get an API key

Code snippets

curl "https://api.oanor.com/depsdev-api/v1/version" \
  -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/depsdev-api/v1/version", {
  headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/depsdev-api/v1/version");
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/depsdev-api/v1/version",
    headers={"x-oanor-key": "oanor_test_..."}
)

Example response

A real response from this endpoint, captured by the latest health check.

{
    "data": {
        "version": {
            "name": "express",
            "links": [
                {
                    "url": "http://expressjs.com/",
                    "label": "HOMEPAGE"
                },
                {
                    "url": "https://github.com/expressjs/express/issues",
                    "label": "ISSUE_TRACKER"
                },
                {
                    "url": "https://registry.npmjs.org/express/4.18.2",
                    "label": "ORIGIN"
                },
                {
                    "url": "git+https://github.com/expressjs/express.git",
                    "label": "SOURCE_REPO"
                }
            ],
            "system": "npm",
            "version": "4.18.2",
            "licenses": [
                "MIT"
            ],
            "advisories": [
                "GHSA-qw6h-vgh9-j6wx",
                "GHSA-rv95-896h-c2vc"
            ],
            "is_default": false,
            "published_at": "2022-10-08T20:14:32Z",
            "advisory_count": 2,
            "related_projects": [
                {
                    "id": "github.com/expressjs/express",
                    "relation": "ISSUE_TRACKER"
                },
                {
                    "id": "github.com/expressjs/express",
                    "relation": "SOURCE_REPO"
                }
            ]
        }
    },
    "meta": {
        "timestamp": "2026-06-01T08:13:17.935Z",
        "request_id": "2d59e6a6-879c-4c14-877c-924a5a2ac75b"
    },
    "status": "ok",
    "message": "Version retrieved",
    "success": true
}