Zum Inhalt springen
GET /v1/list

Paginated license list (metadata) + filters

Live testen

10 freie Calls pro Tag — keine Anmeldung, kein API-Key. Geht durchs oanor-Gateway.

Eigene Header (optional)
api.oanor.com/licenses-api

Funktioniert. Hol dir einen API-Key und nutze sie in deinem Projekt.

API-Key holen

Code-Snippets

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

Beispiel-Response

Echte Antwort dieses Endpoints, erfasst beim letzten Health-Check.

{
    "data": {
        "count": 50,
        "limit": 50,
        "total": 729,
        "offset": 0,
        "filters": {
            "fsf_libre": null,
            "deprecated": null,
            "osi_approved": null
        },
        "licenses": [
            {
                "name": "BSD Zero Clause License",
                "licenseId": "0BSD",
                "reference": "https://spdx.org/licenses/0BSD.html",
                "isFsfLibre": false,
                "isOsiApproved": true,
                "isDeprecatedLicenseId": false
            },
            {
                "name": "3D Slicer License v1.0",
                "licenseId": "3D-Slicer-1.0",
                "reference": "https://spdx.org/licenses/3D-Slicer-1.0.html",
                "isFsfLibre": false,
                "isOsiApproved": false,
                "isDeprecatedLicenseId": false
            },
            {
                "name": "Attribution Assurance License",
                "licenseId": "AAL",
                "reference": "https://spdx.org/licenses/AAL.html",
                "isFsfLibre": false,
                "isOsiApproved": true,
                "isDeprecatedLicenseId": false
            },
            {
                "name": "Abstyles License",
                "licenseId": "Abstyles",
                "reference": "https://spdx.org/licenses/Abstyles.html",
                "isFsfLibre": false,
                "isOsiApproved": false,
                "isDeprecatedLicenseId": false
            },
            {
                "name": "AdaCore Doc License",
                "licenseId": "AdaCore-doc",
                "reference": "https://spdx.org/licenses/AdaCore-doc.html",
                "isFsfLibre": false,
                "isOsiApproved": false,
                "isDeprecatedLicenseId": false
            },
            {
                "name": "Adobe Systems Incorporated Source Code License Agreement",
                "licenseId": "Adobe-2006",
                "reference": "https://spdx.org/licenses/Adobe-2006.html",
                "isFsfLibre": false,
                "isOsiApproved": false,
                "isDeprecatedLicenseId": false
            },
            {
                "name": "Adobe Display PostScript License",
                "licenseId": "Adobe-Display-PostScript",
                "reference": "https://spdx.org/licenses/Adobe-Display-PostScript.html",
                "isFsfLibre": false,
                "isOsiApproved": false,
                "isDeprecatedLicenseId": false
            },
            {
                "name": "Adobe Glyph List License",
                "licenseId": "Adobe-Glyph",
                "reference": "https://spdx.org/licenses/Adobe-Glyph.html",
                "isFsfLibre": false,
                "isOsiApproved": false,
                "isDeprecatedLicenseId": false
            },
            {
                "name": "Adobe Utopia Font License",
                "licenseId": "Adobe-Utopia",
                "reference
…