Get Leaderboard Around User
horizon_get_leaderboard_aroundRetrieve leaderboard entries surrounding a user's rank position. Specify a board key to target a named leaderboard, or omit it to use the default board.
Instructions
Gets leaderboard entries around a specific user's position on a horizOn leaderboard. Pass leaderboardKey to target a specific board.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| range | No | Number of entries around the user (1-50, 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. |