Ir al contenido
GET /v1/categories

The arXiv subject taxonomy

Pruébalo en vivo

10 llamadas gratis al día — sin registro, sin clave API. Pasa por el gateway de oanor.

Encabezados personalizados (opcional)
api.oanor.com/arxiv-api

Funciona. Consigue una clave API y úsala en tu proyecto.

Obtener una clave API

Fragmentos de código

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_..."}
)

Respuesta de ejemplo

Una respuesta real de este endpoint, capturada en la última comprobación de estado.

{
    "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
}