/v1/avatar
A learner's avatar image URLs at several sizes
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/duolingo-api/v1/avatar" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/duolingo-api/v1/avatar", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/duolingo-api/v1/avatar");
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/avatar",
headers={"x-oanor-key": "oanor_test_..."}
)
Beispiel-Response
Echte Antwort dieses Endpoints, erfasst beim letzten Health-Check.
{
"data": {
"name": "Vincent",
"sizes": {
"large": "https://simg-ssl.duolingo.com/ssr-avatars/952/SSR-MFPmYmU4iE/large",
"small": "https://simg-ssl.duolingo.com/ssr-avatars/952/SSR-MFPmYmU4iE/small",
"xlarge": "https://simg-ssl.duolingo.com/ssr-avatars/952/SSR-MFPmYmU4iE/xlarge"
},
"source": "Duolingo",
"username": "duo",
"image_url": "https://simg-ssl.duolingo.com/ssr-avatars/952/SSR-MFPmYmU4iE/large"
},
"meta": {
"timestamp": "2026-06-13T13:55:15.455Z",
"request_id": "06944220-9055-4cd2-a844-e1440780ad91"
},
"status": "ok",
"message": "Avatar retrieved successfully",
"success": true
}