> 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/markets/get-outcome-token-holders.md).

# Get outcome token holders

GET /api/v1/market-data/holders

## Get outcome token holders

> Returns a paginated list of all token holders for one or more outcomes of a given market, excluding the treasury address. For finalised markets, this also includes positions held at the time of resolution. \`market\` plus exactly one of \`token\_id\` / \`token\_ids\` are required.

```json
{"openapi":"3.1.1","info":{"title":"FortyTwo Read API","version":"1.0"},"tags":[{"description":"GET /api/v1/market-data/holders","name":"get-outcome-token-holders"}],"servers":[{"url":"https://rest.ft.42.space/"}],"paths":{"/api/v1/market-data/holders":{"get":{"description":"Returns a paginated list of all token holders for one or more outcomes of a given market, excluding the treasury address. For finalised markets, this also includes positions held at the time of resolution. `market` plus exactly one of `token_id` / `token_ids` are required.","tags":["get-outcome-token-holders"],"summary":"Get outcome token holders","parameters":[{"schema":{"type":"string"},"description":"Market contract address","name":"market","in":"query","required":true},{"schema":{"type":"string"},"description":"Outcome token ID (mutually exclusive with token_ids)","name":"token_id","in":"query"},{"schema":{"type":"string"},"description":"Comma-separated outcome token IDs (max 50, mutually exclusive with token_id)","name":"token_ids","in":"query"},{"schema":{"type":"string"},"description":"Sort field: quantity (default), realized_pnl, unrealized_pnl","name":"order","in":"query"},{"schema":{"type":"boolean"},"description":"Sort direction (default false = descending)","name":"ascending","in":"query"},{"schema":{"type":"integer"},"description":"Page size (default 20, max 100)","name":"limit","in":"query"},{"schema":{"type":"integer"},"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_HolderEntry"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ft_market-service-v2_pkg_api.ErrorResponse"}}}},"404":{"description":"Not Found","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_HolderEntry":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/internal_handler.HolderEntry"}},"pagination":{"$ref":"#/components/schemas/ft_market-service-v2_pkg_api.Pagination"}}},"internal_handler.HolderEntry":{"type":"object","properties":{"amount":{"type":"number"},"avgPrice":{"type":"number"},"costBasis":{"type":"number"},"currentPrice":{"type":"number"},"heldQuantity":{"type":"number"},"mintedQuantity":{"type":"number"},"outcomeName":{"type":"string"},"outcomeSymbol":{"type":"string"},"outcomeTranslations":{"description":"Raw outcome_metadata.translations map, shape {locale: {name}}. Null when\nthe outcome has no translations.","type":"object","additionalProperties":{"$ref":"#/components/schemas/internal_handler.OutcomeTranslation"}},"payout":{"type":"number"},"realizedPnl":{"type":"number"},"tokenId":{"type":"string"},"unrealizedPnl":{"type":"number"},"userAddress":{"type":"string"}}},"internal_handler.OutcomeTranslation":{"description":"Localized outcome text for the requested locale.","type":"object","properties":{"name":{"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"}}}}}}
```

## Get per-outcome holder summary

> Returns, for every outcome of a market, the number of unique holders and total cost basis over live positions (treasury excluded), ordered by outcome index. Unknown markets yield an empty array.

```json
{"openapi":"3.1.1","info":{"title":"FortyTwo Read API","version":"1.0"},"tags":[{"description":"GET /api/v1/market-data/holders","name":"get-outcome-token-holders"}],"servers":[{"url":"https://rest.ft.42.space/"}],"paths":{"/api/v1/market-data/holders/summary":{"get":{"description":"Returns, for every outcome of a market, the number of unique holders and total cost basis over live positions (treasury excluded), ordered by outcome index. Unknown markets yield an empty array.","tags":["get-outcome-token-holders"],"summary":"Get per-outcome holder summary","parameters":[{"schema":{"type":"string"},"description":"Market contract address","name":"market","in":"query","required":true}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/internal_handler.HolderSummaryEntry"}}}}},"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":{"internal_handler.HolderSummaryEntry":{"type":"object","properties":{"outcomeName":{"type":"string"},"outcomeSymbol":{"type":"string"},"tokenId":{"type":"string"},"totalCostBasis":{"type":"number"},"uniqueHolders":{"type":"integer"}}},"ft_market-service-v2_pkg_api.ErrorResponse":{"type":"object","properties":{"code":{"type":"integer"},"error":{"type":"string"},"message":{"type":"string"}}}}}}
```

## Get per-outcome trader counts

> Returns, for every outcome of a market, the number of distinct traders (users with at least one mint or redeem in the ledger, treasury excluded), ordered by outcome index. Optionally restricted to specific token IDs. Unknown markets yield an empty array.

```json
{"openapi":"3.1.1","info":{"title":"FortyTwo Read API","version":"1.0"},"tags":[{"description":"GET /api/v1/market-data/holders","name":"get-outcome-token-holders"}],"servers":[{"url":"https://rest.ft.42.space/"}],"paths":{"/api/v1/market-data/traders":{"get":{"description":"Returns, for every outcome of a market, the number of distinct traders (users with at least one mint or redeem in the ledger, treasury excluded), ordered by outcome index. Optionally restricted to specific token IDs. Unknown markets yield an empty array.","tags":["get-outcome-token-holders"],"summary":"Get per-outcome trader counts","parameters":[{"schema":{"type":"string"},"description":"Market contract address","name":"market","in":"query","required":true},{"schema":{"type":"string"},"description":"Comma-separated outcome token IDs (max 50)","name":"token_ids","in":"query"}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/internal_handler.TraderCountEntry"}}}}},"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":{"internal_handler.TraderCountEntry":{"type":"object","properties":{"tokenId":{"type":"string"},"traders":{"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/markets/get-outcome-token-holders.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.
