/v1/meta
Usage notes
Essayez-le en direct
10 appels gratuits par jour — sans inscription, sans clé API. Passe par la passerelle oanor.
Ça marche. Récupérez une clé API et utilisez-la dans votre projet.
Obtenez une clé APIExtraits de code
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_..."}
)
Exemple de réponse
Une réponse réelle de ce endpoint, capturée lors du dernier contrôle de santé.
{
"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
}