> For the complete documentation index, see [llms.txt](https://docs.blockchainsecurity.asia/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.blockchainsecurity.asia/api-reference/readme/assets-and-market-data/li-shi-jia-ge-xu-lie.md).

# 歷史價格序列

查詢指定資產在一段時間內的美元歷史價格序列。適合價格走勢分析、歷史估值、帳務回溯與策略研究。

## GET /v1/rates/history

>

```json
{"openapi":"3.1.0","info":{"title":"Blockchain Atlantis API Gateway","version":"0.1.0"},"tags":[{"description":"查詢指定資產在一段時間內的美元歷史價格序列。適合價格走勢分析、歷史估值、帳務回溯與策略研究。","name":"歷史價格序列"}],"servers":[{"description":"Production","url":"https://api.blockchainsecurity.asia"}],"security":[{"api_key":[]}],"components":{"securitySchemes":{"api_key":{"in":"header","name":"X-API-Key","type":"apiKey"}}},"paths":{"/v1/rates/history":{"get":{"operationId":"history","parameters":[{"description":"幣種（rate_symbol）","in":"query","name":"symbol","required":true,"schema":{"type":"string"}},{"description":"起（unix 秒）","in":"query","name":"start","required":false,"schema":{"format":"int64","type":"integer"}},{"description":"迄（unix 秒）","in":"query","name":"end","required":false,"schema":{"format":"int64","type":"integer"}}],"responses":{"200":{"content":{"application/json":{}},"description":"查詢成功，回傳歷史價格序列"},"400":{"description":"請求參數有誤，請提供 symbol"},"401":{"description":"缺少或無效的 API key"}},"summary":"","tags":["歷史價格序列"]}}}}
```
