> For the complete documentation index, see [llms.txt](https://docs.42.space/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.42.space/for-developers/rest-api-alpha/leaderboard/get-trader-leaderboard.md).

# Get trader leaderboard

GET /api/v1/market-data/leaderboard

## Get trader leaderboard

> Returns a global ranking of traders sorted by realised PnL, win rate, or volume for a given time period or calendar-day window. Pass a \`user\` wallet address to retrieve a single wallet's rank within the leaderboard.

```json
{"openapi":"3.1.1","info":{"title":"FortyTwo Read API","version":"1.0"},"tags":[{"description":"GET /api/v1/market-data/leaderboard","name":"get-trader-leaderboard"}],"servers":[{"url":"https://rest.ft.42.space/"}],"paths":{"/api/v1/market-data/leaderboard":{"get":{"description":"Returns a global ranking of traders sorted by realised PnL, win rate, or volume for a given time period or calendar-day window. Pass a `user` wallet address to retrieve a single wallet's rank within the leaderboard.","tags":["get-trader-leaderboard"],"summary":"Get trader leaderboard","parameters":[{"schema":{"type":"string","default":"all","enum":["1d","7d","30d","all"]},"description":"Time period (mutually exclusive with from/to)","name":"period","in":"query"},{"schema":{"type":"string"},"description":"Window start date YYYY-MM-DD UTC inclusive (requires to; mutually exclusive with period)","name":"from","in":"query"},{"schema":{"type":"string"},"description":"Window end date YYYY-MM-DD UTC inclusive (requires from; mutually exclusive with period)","name":"to","in":"query"},{"schema":{"type":"string","default":"pnl","enum":["pnl","win_rate","volume"]},"description":"Sort criterion","name":"sort_by","in":"query"},{"schema":{"type":"string"},"description":"Wallet address — returns that wallet's rank instead of the full list","name":"user","in":"query"},{"schema":{"type":"integer","default":100,"maximum":500,"minimum":1},"description":"Max results","name":"limit","in":"query"},{"schema":{"type":"integer","default":0},"description":"Pagination offset","name":"offset","in":"query"}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ft_market-service-v2_pkg_api.PaginatedResponse-internal_handler_LeaderboardEntry"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ft_market-service-v2_pkg_api.ErrorResponse"}}}},"500":{"description":"Internal Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ft_market-service-v2_pkg_api.ErrorResponse"}}}}}}}},"components":{"schemas":{"ft_market-service-v2_pkg_api.PaginatedResponse-internal_handler_LeaderboardEntry":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/internal_handler.LeaderboardEntry"}},"pagination":{"$ref":"#/components/schemas/ft_market-service-v2_pkg_api.Pagination"}}},"internal_handler.LeaderboardEntry":{"type":"object","properties":{"losingPredictions":{"type":"integer"},"losingSells":{"type":"integer"},"pnl":{"type":"number"},"pnlPct":{"type":"number"},"profitableSells":{"type":"integer"},"rank":{"type":"integer"},"totalVolume":{"type":"number"},"tradeCount":{"type":"integer"},"walletAddress":{"type":"string"},"winRate":{"type":"number"},"winningPredictions":{"type":"integer"}}},"ft_market-service-v2_pkg_api.Pagination":{"type":"object","properties":{"hasMore":{"type":"boolean"},"totalResults":{"type":"integer"}}},"ft_market-service-v2_pkg_api.ErrorResponse":{"type":"object","properties":{"code":{"type":"integer"},"error":{"type":"string"},"message":{"type":"string"}}}}}}
```


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.42.space/for-developers/rest-api-alpha/leaderboard/get-trader-leaderboard.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
