Get Leaderboard Top
horizon_get_leaderboard_topFetches top entries from a horizOn leaderboard for display or comparison. Pass a leaderboard key to target a board and set a limit for returned results.
Instructions
Gets the top entries from a horizOn leaderboard. Pass leaderboardKey to target a specific board.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Number of top entries to return (1-100, default 10) | |
| userId | Yes | User ID (UUID) | |
| leaderboardKey | No | Leaderboard key — selects a named board on the API key. Omit to use the default board. |