/v1/classes
The five classes
Live testen
10 freie Calls pro Tag — keine Anmeldung, kein API-Key. Geht durchs oanor-Gateway.
Funktioniert. Hol dir einen API-Key und nutze sie in deinem Projekt.
API-Key holenCode-Snippets
curl "https://api.oanor.com/wynncraft-api/v1/classes" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/wynncraft-api/v1/classes", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/wynncraft-api/v1/classes");
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/wynncraft-api/v1/classes",
headers={"x-oanor-key": "oanor_test_..."}
)
Beispiel-Response
Echte Antwort dieses Endpoints, erfasst beim letzten Health-Check.
{
"data": {
"count": 5,
"classes": [
{
"id": "archer",
"lore": null,
"name": "Archer (Hunter)",
"overall_difficulty": 1
},
{
"id": "warrior",
"lore": null,
"name": "Warrior (Knight)",
"overall_difficulty": 2
},
{
"id": "assassin",
"lore": null,
"name": "Assassin (Ninja)",
"overall_difficulty": 2
},
{
"id": "mage",
"lore": null,
"name": "Mage (Dark Wizard)",
"overall_difficulty": 1
},
{
"id": "shaman",
"lore": null,
"name": "Shaman (Skyseer)",
"overall_difficulty": 3
}
]
},
"meta": {
"timestamp": "2026-06-01T00:03:30.156Z",
"request_id": "3521bab1-76f5-40be-a3a1-2f17542447ee"
},
"status": "ok",
"message": "Classes retrieved",
"success": true
}