Vai al contenuto
GET /v1/meta

Totals & breakdown

Provalo dal vivo

10 chiamate gratuite al giorno — senza registrazione, senza chiave API. Passa dal gateway oanor.

Intestazioni personalizzate (facoltative)
api.oanor.com/licenses-api

Funziona. Prendi una chiave API e usala nel tuo progetto.

Ottieni una chiave API

Frammenti di codice

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

Risposta di esempio

Una risposta reale di questo endpoint, acquisita dall'ultimo health check.

{
    "data": {
        "note": "Identify and retrieve software licenses by SPDX id (e.g. MIT, Apache-2.0, GPL-3.0-only). /v1/license returns the full license text; /v1/search and /v1/list return metadata. Flags: OSI-approved (Open Source Initiative), FSF-libre (Free Software Foundation), deprecated SPDX id.",
        "total": 729,
        "fields": [
            "licenseId",
            "name",
            "isOsiApproved",
            "isFsfLibre",
            "isDeprecatedLicenseId",
            "reference",
            "seeAlso",
            "standardLicenseHeader",
            "licenseText"
        ],
        "source": "SPDX License List (spdx.org/licenses)",
        "fsf_libre": 127,
        "deprecated": 32,
        "osi_approved": 150,
        "license_list_version": "3dfd9aa"
    },
    "meta": {
        "timestamp": "2026-05-31T07:16:12.782Z",
        "request_id": "ec79c5f7-80f6-4cef-9991-c8e2183df354"
    },
    "status": "ok",
    "message": "Meta retrieved",
    "success": true
}