# Get batch market stats

GET /api/v1/market-data/stats

## Get batch market stats

> Returns lightweight polling stats (market cap, total volume, trader count, and per-outcome prices) for up to 50 markets at once.

```json
{"openapi":"3.1.1","info":{"title":"FortyTwo Read API","version":"1.0"},"tags":[{"description":"GET /api/v1/market-data/stats","name":"get-batch-market-stats"}],"servers":[{"url":"https://rest.ft.42.space/"}],"paths":{"/api/v1/market-data/stats":{"get":{"description":"Returns lightweight polling stats (market cap, total volume, trader count, and per-outcome prices) for up to 50 markets at once.","tags":["get-batch-market-stats"],"summary":"Get batch market stats","parameters":[{"schema":{"type":"string"},"description":"Comma-separated market addresses (max 50) — required","name":"market","in":"query","required":true}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/internal_handler.MarketStatsResponse"}}}}},"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.MarketStatsResponse":{"description":"Lightweight market stats for polling.","type":"object","properties":{"market":{"type":"string"},"marketCap":{"type":"number"},"outcomeStats":{"type":"array","items":{"$ref":"#/components/schemas/internal_handler.OutcomeStatsCompact"}},"totalVolume":{"type":"number"},"traders":{"type":"integer"},"updatedAt":{"type":"string"}}},"internal_handler.OutcomeStatsCompact":{"description":"Compact outcome stats for polling.","type":"object","properties":{"marketCap":{"type":"number"},"name":{"type":"string"},"payout":{"type":"number"},"price":{"type":"number"},"tokenId":{"type":"string"}}},"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/markets/get-batch-market-stats.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.
