For the complete documentation index, see llms.txt. This page is also available as Markdown.

歷史價格序列

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

get
Authorizations
X-API-KeystringRequired
Query parameters
symbolstringRequired

幣種(rate_symbol)

Example: BTC
startinteger · int64Optional

起(unix 秒)

Example: 1700000000
endinteger · int64Optional

迄(unix 秒)

Example: 1700086400
Responses
200

查詢成功,回傳歷史價格序列

application/json
get/v1/rates/history
GET /v1/rates/history?symbol=text HTTP/1.1
Host: api.blockchainsecurity.asia
X-API-Key: YOUR_API_KEY
Accept: */*
{
  "data": {
    "points": [],
    "symbol": "BTC"
  },
  "meta": {
    "request_id": "e24ce1ca-c13e-46df-a1af-5d49ee44c249"
  }
}

Last updated

Was this helpful?