Naar de inhoud
GET /v1/player

Player profile & stats

Probeer het live

10 gratis calls per dag — geen registratie, geen API-key. Loopt via de oanor-gateway.

Aangepaste headers (optioneel)
api.oanor.com/wynncraft-api

Het werkt. Haal een API-key op en gebruik hem in je project.

Verkrijg een API-sleutel

Codefragmenten

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

Voorbeeldrespons

Een echte respons van dit endpoint, vastgelegd bij de laatste health check.

{
    "data": {
        "player": {
            "rank": "champion",
            "uuid": "1ed075fc-5aa9-42e0-a29f-640326c1d80c",
            "guild": {
                "name": "Wynncraft",
                "rank": "OWNER",
                "prefix": "WYNN"
            },
            "stats": {
                "pvp": {
                    "kills": 23,
                    "deaths": 18
                },
                "wars": 7,
                "raids": 1,
                "dungeons": 19,
                "mobs_killed": 6993,
                "total_level": 1562,
                "chests_found": 411,
                "completed_quests": 38
            },
            "online": false,
            "server": null,
            "veteran": true,
            "playtime": 12843.17,
            "username": "Salted",
            "last_join": "2026-05-31T23:42:31.916000Z",
            "first_join": "2013-03-27T13:10:34.000000Z"
        }
    },
    "meta": {
        "timestamp": "2026-06-01T00:03:29.092Z",
        "request_id": "9ed3c7c6-0f5c-4ae7-b93a-3153ae8a491e"
    },
    "status": "ok",
    "message": "Player retrieved",
    "success": true
}