/v1/streak
Streak detail — length, longest
Try it live
10 free calls per day — no sign-up, no API key. Goes through the oanor gateway.
It works. Grab an API key and use it in your project.
Get an API keyCode snippets
curl "https://api.oanor.com/duolingo-api/v1/streak" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/duolingo-api/v1/streak", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/duolingo-api/v1/streak");
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/streak",
headers={"x-oanor-key": "oanor_test_..."}
)
Example response
A real response from this endpoint, captured by the latest health check.
{
"data": {
"source": "Duolingo",
"streak": 0,
"username": "duo",
"current_streak_end": null,
"longest_streak_end": null,
"current_streak_start": null,
"current_streak_length": 0,
"longest_streak_length": null
},
"meta": {
"timestamp": "2026-06-12T01:42:41.195Z",
"request_id": "c994aaab-1dc3-4299-8195-6c6766c7add4"
},
"status": "ok",
"message": "Streak retrieved successfully",
"success": true
}