# Get top trades

GET /api/v1/market-data/leaderboard/top-trades

## Get top trades

> Returns the highest-PnL individual trades globally, ranked by realised profit. Useful for showcasing notable trades and the most profitable positions closed across all markets.

```json
{"openapi":"3.1.1","info":{"title":"FortyTwo Read API","version":"1.0"},"tags":[{"description":"GET /api/v1/market-data/leaderboard/top-trades","name":"get-top-trades"}],"servers":[{"url":"https://rest.ft.42.space/"}],"paths":{"/api/v1/market-data/leaderboard/top-trades":{"get":{"description":"Returns the highest-PnL individual trades globally, ranked by realised profit. Useful for showcasing notable trades and the most profitable positions closed across all markets.","tags":["get-top-trades"],"summary":"Get top trades","parameters":[{"schema":{"type":"string","default":"all","enum":["1d","7d","30d","all"]},"description":"Time period","name":"period","in":"query"},{"schema":{"type":"integer","default":10,"maximum":50,"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_TopTradeEntry"}}}},"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_TopTradeEntry":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/internal_handler.TopTradeEntry"}},"pagination":{"$ref":"#/components/schemas/ft_market-service-v2_pkg_api.Pagination"}}},"internal_handler.TopTradeEntry":{"type":"object","properties":{"avgPrice":{"type":"number"},"deltaCollateral":{"type":"number"},"deltaQuantity":{"type":"number"},"eventType":{"type":"string"},"outcomeImage":{"type":"string"},"outcomeName":{"type":"string"},"pnl":{"type":"number"},"pnlPct":{"type":"number"},"questionImage":{"type":"string"},"questionTitle":{"type":"string"},"rank":{"type":"integer"},"resolvedAt":{"type":"integer"},"walletAddress":{"type":"string"}}},"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: 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:

```
GET https://docs.42.space/api/rest-api-alpha/leaderboard/get-top-trades.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
