> ## Documentation Index
> Fetch the complete documentation index at: https://docs.xbox.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Title-managed Stats and Leaderboards example code (contents)

> XSAPI example code index for title-managed XBOX Live Stats and Leaderboards, including reading leaderboards and writing player stat updates.

This section provides example code for title-managed Stats and Leaderboards.

## In this section

[Getting a title-managed leaderboard](https://docs.xbox.com/services/xbox-services/player-data/stats-leaderboards/title-managed/how-to/live-getting-tm-leaderboard.md)
Describes how to get a title-managed leaderboard.

[Writing title-managed stats](https://docs.xbox.com/services/xbox-services/player-data/stats-leaderboards/title-managed/how-to/live-writing-tm-stats.md)
Example code for writing title-managed stats.


## Related topics

- [Title-managed stats and leaderboards examples](https://docs.xbox.com/services/xbox-services/player-data/stats-leaderboards/title-managed/how-to/index.md)
- [Title-managed Stats & Leaderboards (contents)](https://docs.xbox.com/services/xbox-services/player-data/stats-leaderboards/title-managed/live-statslb-tm-nav.md)
- [Title-managed Achievements example code (contents)](https://docs.xbox.com/services/xbox-services/player-data/achievements/title-managed/how-to/live-achievements-howto-nav.md)
- [Title-managed Stats and Leaderboards configuration portal (contents)](https://docs.xbox.com/services/xbox-services/player-data/stats-leaderboards/title-managed/config/live-statslb-tm-config-nav.md)
- [Title-managed stats and leaderboards configuration](https://docs.xbox.com/services/xbox-services/player-data/stats-leaderboards/title-managed/config/index.md)
