本文へスキップ

取引所のネイティブ Kline 一覧​

GET
/v2/source-klines

キャッシュ済みの取引所 Kline のみを返します。取引所 ticker の source、pair、nativeQuote で市場を指定します。価格は元の建値通貨のままです。未取得区間と出来高ゼロの補完バーの時刻も返します。

認証​

bearerAuth

Required when cp_auth.enabled=true. The token must have the oracle scope.

型
HTTP (bearer)

パラメータ​

クエリパラメータ

symbol*

Base asset symbol, e.g. BTC.

型
string
必須
例"BTC"
source*

Exchange ID from /v2/source-tickers, e.g. sbi_vc_trade.

型
string
必須
例"sbi_vc_trade"
pair*

Native market pair from /v2/source-tickers.

型
string
必須
例"EX_BTC_JPY"
nativeQuote*

Native quote from /v2/source-tickers; prices are not converted.

型
string
必須
例"JPY"
quote

Accepted for parity with /v2/klines and validated (USD or JPY), but it does not convert prices: rows stay in the native market quote.

型
string
有効な値
"JPY""USD"
interval*

Stored native source interval.

型
string
必須
有効な値
"1m""1h""1d"
startTime

Inclusive Unix timestamp in milliseconds.

型
integer
フォーマット
"int64"
endTime

Inclusive Unix timestamp in milliseconds.

型
integer
フォーマット
"int64"
limit

Defaults to 500; maximum 1000.

型
integer
最小値
1
最大値
1000
デフォルト
500

レスポンス​

Cached closed and available active source Klines, uncovered ranges, and carried-bar open times.

application/json
JSON
{
  
"klines": [
  
  
[
  
  
]
  
],
  
"missingRanges": [
  
  
[
  
  
]
  
],
  
"syntheticOpenTimes": [
  
  
0
  
]
}

Playground​

認証
変数
キー
値

サンプル​