歷史價格序列
get
Authorizations
X-API-KeystringRequired
Query parameters
symbolstringRequiredExample:
幣種(rate_symbol)
BTCstartinteger · int64OptionalExample:
起(unix 秒)
1700000000endinteger · int64OptionalExample:
迄(unix 秒)
1700086400Responses
200
查詢成功,回傳歷史價格序列
application/json
400
請求參數有誤,請提供 symbol
401
缺少或無效的 API key
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?

