Zum Inhalt springen
GET /v1/categories

The arXiv subject taxonomy

Live testen

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

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

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

API-Key holen

Code-Snippets

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

Beispiel-Response

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

{
    "data": {
        "note": "Use a top-level id (e.g. cs) or a sub-category (e.g. cs.AI, math.CO, stat.ML) as the category= filter on /v1/search.",
        "count": 20,
        "categories": [
            {
                "id": "cs",
                "name": "Computer Science"
            },
            {
                "id": "math",
                "name": "Mathematics"
            },
            {
                "id": "physics",
                "name": "Physics (general)"
            },
            {
                "id": "astro-ph",
                "name": "Astrophysics"
            },
            {
                "id": "cond-mat",
                "name": "Condensed Matter"
            },
            {
                "id": "gr-qc",
                "name": "General Relativity & Quantum Cosmology"
            },
            {
                "id": "hep-ex",
                "name": "High Energy Physics — Experiment"
            },
            {
                "id": "hep-lat",
                "name": "High Energy Physics — Lattice"
            },
            {
                "id": "hep-ph",
                "name": "High Energy Physics — Phenomenology"
            },
            {
                "id": "hep-th",
                "name": "High Energy Physics — Theory"
            },
            {
                "id": "math-ph",
                "name": "Mathematical Physics"
            },
            {
                "id": "nlin",
                "name": "Nonlinear Sciences"
            },
            {
                "id": "nucl-ex",
                "name": "Nuclear Experiment"
            },
            {
                "id": "nucl-th",
                "name": "Nuclear Theory"
            },
            {
                "id": "quant-ph",
                "name": "Quantum Physics"
            },
            {
                "id": "q-bio",
                "name": "Quantitative Biology"
            },
            {
                "id": "q-fin",
                "name": "Quantitative Finance"
            },
            {
                "id": "stat",
                "name": "Statistics"
            },
            {
                "id": "eess",
                "name": "Electrical Engineering & Systems Science"
            },
            {
                "id": "econ",
                "name": "Economics"
            }
        ]
    },
    "meta": {
        "timestamp": "2026-06-01T00:04:40.768Z",
        "request_id": "91fdaebe-cef3-4c63-84da-28245c44944d"
    },
    "status": "ok",
    "message": "Categories retrieved",
    "success": true
}