/v1/meta
Usage notes
Provalo dal vivo
10 chiamate gratuite al giorno — senza registrazione, senza chiave API. Passa dal gateway oanor.
Funziona. Prendi una chiave API e usala nel tuo progetto.
Ottieni una chiave APIFrammenti di codice
curl "https://api.oanor.com/huggingface-api/v1/meta" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/huggingface-api/v1/meta", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/huggingface-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/huggingface-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": "The Hugging Face Hub is the central registry of open AI/ML models and datasets. /v1/models = search models, filter by pipeline_tag (the task, e.g. text-generation, image-classification, text-to-image, automatic-speech-recognition) and by library (transformers, diffusers, …), sorted by downloads, likes, lastModified or trendingScore — each result with its id, author, task, library, download and like counts, license, tags and timestamps; /v1/model?id=google-bert/bert-base-uncased = a single model's metadata; /v1/datasets = search datasets the same way; /v1/dataset?id=ILSVRC/imagenet-1k = a single dataset's metadata. Ids are org/name (use them from /v1/models or /v1/datasets). Data from the public Hugging Face Hub (free). Distinct from software-package registries (npm, PyPI, Maven, …) and academic paper indexes (arXiv) — this is the AI/ML model & dataset hub. Ideal for ML tooling, model-discovery and leaderboard sites, MLOps dashboards and AI assistants.",
"source": "Hugging Face Hub API (huggingface.co/api)",
"endpoints": [
"/v1/models",
"/v1/model",
"/v1/datasets",
"/v1/dataset",
"/v1/meta"
]
},
"meta": {
"timestamp": "2026-06-01T16:23:34.971Z",
"request_id": "0de45785-3b98-45f1-a099-4f91822c2231"
},
"status": "ok",
"message": "Meta retrieved",
"success": true
}