# Market Data

## Bulk stack price stats

> Returns current prices and percentage change stats for up to 1000 stacks. No authentication required.<br>

```json
{"openapi":"3.0.3","info":{"title":"Indexify API","version":"0.1.12-beta"},"servers":[{"url":"https://api.indexify.finance","description":"Production"}],"security":[{"ApiKeyAuth":[]}],"components":{"securitySchemes":{"ApiKeyAuth":{"type":"apiKey","in":"header","name":"X-API-KEY","description":"API key with the `ix_` prefix. You can generate an API Key by navigating to Settings -> API Key in the web app. Pass it in the `X-API-KEY` header on every request."}},"schemas":{"Error":{"type":"object","required":["error"],"properties":{"error":{"type":"string"}}}}},"paths":{"/api/bulk_stack_stats.php":{"post":{"tags":["Market Data"],"summary":"Bulk stack price stats","description":"Returns current prices and percentage change stats for up to 1000 stacks. No authentication required.\n","operationId":"getBulkStackStats","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["stack_ids"],"properties":{"stack_ids":{"type":"array","items":{"type":"integer"},"maxItems":1000,"description":"Array of stack IDs (max 1000)."}}}}}},"responses":{"200":{"description":"Array of stack stats in the same order as the input.","content":{"application/json":{"schema":{"type":"array","items":{"type":"object","properties":{"stack_id":{"type":"integer"},"found":{"type":"boolean"},"price":{"type":"number","nullable":true,"description":"Current stack price. Present only when found=true."},"stats":{"type":"object","nullable":true,"description":"Percentage change stats. Present only when found=true.","properties":{"change4H":{"type":"number","nullable":true},"change1D":{"type":"number","nullable":true},"change1W":{"type":"number","nullable":true},"change1M":{"type":"number","nullable":true},"changeAll":{"type":"number","nullable":true}}}}}}}}},"400":{"description":"Invalid input (missing or empty stack_ids, exceeds 1000).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"Internal server error.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}}}}
```

## Bulk token price stats

> Returns current prices and percentage change stats for up to 1000 tokens by address. No authentication required.<br>

```json
{"openapi":"3.0.3","info":{"title":"Indexify API","version":"0.1.12-beta"},"servers":[{"url":"https://api.indexify.finance","description":"Production"}],"security":[{"ApiKeyAuth":[]}],"components":{"securitySchemes":{"ApiKeyAuth":{"type":"apiKey","in":"header","name":"X-API-KEY","description":"API key with the `ix_` prefix. You can generate an API Key by navigating to Settings -> API Key in the web app. Pass it in the `X-API-KEY` header on every request."}},"schemas":{"Error":{"type":"object","required":["error"],"properties":{"error":{"type":"string"}}}}},"paths":{"/api/bulk_token_stats.php":{"post":{"tags":["Market Data"],"summary":"Bulk token price stats","description":"Returns current prices and percentage change stats for up to 1000 tokens by address. No authentication required.\n","operationId":"getBulkTokenStats","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["addresses"],"properties":{"addresses":{"type":"array","items":{"type":"string"},"maxItems":1000,"description":"Array of token addresses (max 1000)."}}}}}},"responses":{"200":{"description":"Array of token stats in the same order as the input.","content":{"application/json":{"schema":{"type":"array","items":{"type":"object","properties":{"address":{"type":"string"},"found":{"type":"boolean"},"price":{"type":"number","nullable":true,"description":"Current token price. Present only when found=true."},"stats":{"type":"object","nullable":true,"description":"Percentage change stats. Present only when found=true.","properties":{"change4H":{"type":"number","nullable":true},"change1D":{"type":"number","nullable":true},"change1W":{"type":"number","nullable":true},"change1M":{"type":"number","nullable":true},"changeAll":{"type":"number","nullable":true}}}}}}}}},"400":{"description":"Invalid input (missing or empty addresses, exceeds 1000).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"Internal server error.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}}}}
```
