Download OpenAPI specification:
Unofficial API description for Duolingo.
Leaderboard information
| leaderboardID required | string >= 1 LeaderboardID |
| userID required | integer >= 1 UserID |
{- "active": {
- "contest": {
- "contest_end": "string",
- "contest_id": "string",
- "contest_start": "string",
- "contest_state": "string",
- "offset_bucket": 0,
- "registration_end": "string",
- "registration_state": "string",
- "ruleset": {
- "cohort_size": 0,
- "cohort_type": "string",
- "num_demoted": [
- 0
], - "num_losers": 0,
- "num_promoted": [
- 0
], - "num_winners": 0,
- "rewards": [
- {
- "expiration": "string",
- "item_quantity": 0,
- "rank": 0,
- "reward_type": "string",
- "tier": 0
}
], - "score_type": "string",
- "tiered": true
}
}, - "cohort": {
- "rankings": [
- {
- "avatar_url": "string",
- "display_name": "string",
- "score": 0,
- "has_plus": true,
- "has_recent_activity_15": true,
- "reaction": "string",
- "streak_extended_today": true,
- "user_id": 0
}
], - "tier": 0,
- "creation_date": "string"
}, - "score": 0,
- "user_id": 0,
- "complete": true,
- "is_demoted": true,
- "is_loser": true,
- "is_promoted": true,
- "is_winner": true
}, - "leaderboard": {
- "active_contest": {
- "contest_end": "string",
- "contest_id": "string",
- "contest_start": "string",
- "contest_state": "string",
- "offset_bucket": 0,
- "registration_end": "string",
- "registration_state": "string",
- "ruleset": {
- "cohort_size": 0,
- "cohort_type": "string",
- "num_demoted": [
- 0
], - "num_losers": 0,
- "num_promoted": [
- 0
], - "num_winners": 0,
- "rewards": [
- {
- "expiration": "string",
- "item_quantity": 0,
- "rank": 0,
- "reward_type": "string",
- "tier": 0
}
], - "score_type": "string",
- "tiered": true
}
}, - "ruleset": {
- "cohort_size": 0,
- "cohort_type": "string",
- "num_demoted": [
- 0
], - "num_losers": 0,
- "num_promoted": [
- 0
], - "num_winners": 0,
- "rewards": [
- {
- "expiration": "string",
- "item_quantity": 0,
- "rank": 0,
- "reward_type": "string",
- "tier": 0
}
], - "score_type": "string",
- "tiered": true
}
}, - "num_sessions_remaining_to_unlock": 0,
- "num_wins": 0,
- "streak_in_tier": 0,
- "top_three_finishes": 0,
- "tier": 0
}