Zum Inhalt springen
GET /v1/models

Search ML models

Live testen

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

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

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

API-Key holen

Code-Snippets

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

Beispiel-Response

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

{
    "data": {
        "count": 20,
        "models": [
            {
                "id": "google-bert/bert-base-uncased",
                "url": "https://huggingface.co/google-bert/bert-base-uncased",
                "tags": [
                    "transformers",
                    "pytorch",
                    "tf",
                    "jax",
                    "rust",
                    "coreml",
                    "onnx",
                    "safetensors",
                    "bert",
                    "fill-mask",
                    "exbert",
                    "en"
                ],
                "likes": 2670,
                "author": "google-bert",
                "created": "2022-03-02T23:29:04.000Z",
                "library": "transformers",
                "license": "apache-2.0",
                "downloads": 68246210,
                "pipeline_tag": "fill-mask",
                "last_modified": null
            },
            {
                "id": "google-bert/bert-large-uncased",
                "url": "https://huggingface.co/google-bert/bert-large-uncased",
                "tags": [
                    "transformers",
                    "pytorch",
                    "tf",
                    "jax",
                    "rust",
                    "safetensors",
                    "bert",
                    "fill-mask",
                    "en",
                    "endpoints_compatible"
                ],
                "likes": 146,
                "author": "google-bert",
                "created": "2022-03-02T23:29:04.000Z",
                "library": "transformers",
                "license": "apache-2.0",
                "downloads": 5634013,
                "pipeline_tag": "fill-mask",
                "last_modified": null
            },
            {
                "id": "google-bert/bert-base-multilingual-uncased",
                "url": "https://huggingface.co/google-bert/bert-base-multilingual-uncased",
                "tags": [
                    "transformers",
                    "pytorch",
                    "tf",
                    "jax",
                    "safetensors",
                    "bert",
                    "fill-mask",
                    "multilingual",
                    "af",
                    "sq",
                    "ar",
                    "an"
                ],
                "likes": 157,
                "author": "google-bert",
                "created": "2022-03-02T23:29:04.000Z",
                "library": "transformers",
                "license": "apache-2.0",
                "downloads": 4369054,
                "pipeline_tag": "fill-mask",
                "last_modified": null
            },
            {
                "id": "google-bert/bert-base-cased",
                "url": "https://huggingface.co/google-bert/bert-base-cased",
                "tags": [
                    "transformers",
                    "pytorch",
                    "tf",
        
…