Zum Inhalt springen
GET /v1/user

Profile summary — XP, streak, languages

Live testen

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

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

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

API-Key holen

Code-Snippets

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

Beispiel-Response

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

{
    "data": {
        "bio": null,
        "name": "Vincent",
        "joined": "2011-12-09T23:17:32.000Z",
        "source": "Duolingo",
        "streak": 0,
        "country": null,
        "has_plus": true,
        "location": "Vancouver",
        "total_xp": 5889,
        "username": "duo",
        "has_picture": true,
        "course_count": 4,
        "from_language": "en",
        "current_course": "Japanese",
        "learning_language": "ja",
        "has_recent_activity": false
    },
    "meta": {
        "timestamp": "2026-06-12T01:42:39.948Z",
        "request_id": "d7c2616f-a888-479c-9129-201af131a2b3"
    },
    "status": "ok",
    "message": "User retrieved successfully",
    "success": true
}