GET低下STALE
先物ベーシス(全取引所)
無期限先物のベーシス(マーク価格対インデックス価格)、同一取引所における無期限先物対現物のベーシス、限月先物のベーシスと年率換算レートを契約ごとに返します。OI加重、出来高加重、中央値の集計値も含まれます。
GET
/api/sd/basis低下. エンドポイントが報告するデータ品質はSTALEです
リクエスト
クエリパラメータ
| 名前 | 型 | 必須 | デフォルト | 指定可能な値 | 説明 |
|---|---|---|---|---|---|
| coin | string | 必須 | — | — | 銘柄シンボル。大文字と小文字は区別しません(例:`BTC`)。値が未指定または不正な場合は400を返します。 例: BTC |
リクエスト例
curl -s "https://www.coinboss.com/api/sd/basis?coin=BTC"レスポンスフィールド
フィールド表は実際のレスポンスから生成しているため、エンドポイントが返す内容をそのまま反映しています。パスでは、配列の要素をa[]、銘柄や取引所などの動的な名前をキーとするオブジェクトを{*}で表します。
| フィールド | 型 | 単位 | 説明 |
|---|---|---|---|
| success | boolean | — | リクエストが成功した場合はtrue。失敗した場合、ボディは`{ success: false, code, error, request_id }`になります。 |
| schema | string | — | このレスポンスのスキーマID。既存フィールドの意味または型が変わった場合にのみ変更されます。 |
| now | number | ms | レスポンスを生成した時点のサーバー時刻。 |
| coin | string | — | 銘柄シンボル(大文字)。 |
| perp | object | — | 無期限先物のベーシス:同じ取引所のインデックス価格に対するマーク価格。 |
| perp.unit | string | — | ベーシス値の単位(パーセント)。 |
| perp.aggregate | object | — | このセクションの取引所横断の集計値。 |
| perp.aggregate.oi_weighted_pct | number | % | 建玉で加重したベーシス。OIウェイトのない行は除外されます。 |
| perp.aggregate.oi_weight_usd | number | USD | 使用した建玉ウェイトの合計。 |
| perp.aggregate.n_oi_weighted | number | — | OIウェイトを持っていた行。 |
| perp.aggregate.vol_weighted_pct | number | % | 24hの想定元本ベースの出来高で加重したベーシス。 |
| perp.aggregate.vol_weight_usd | number | USD | 使用した出来高ウェイトの合計。 |
| perp.aggregate.n_vol_weighted | number | — | 出来高ウェイトを持っていた行。 |
| perp.aggregate.median_pct | number | % | 取引所ごとに主要契約1つを対象としたベーシスの中央値。 |
| perp.aggregate.mean_pct | number | % | 中央値と同じ集合を対象とした単純平均。 |
| perp.aggregate.n_exchanges | number | — | 集計値に含まれる取引所。 |
| perp.aggregate.n_contracts | number | — | 集計値に含まれる契約。 |
| perp.aggregate.min | object | — | ベーシスが最も低い取引所と契約。 |
| perp.aggregate.min.exchange | string | — | 取引所ID(小文字)。 |
| perp.aggregate.min.symbol | string | — | CoinBossの保存形式での契約シンボル。 |
| perp.aggregate.min.basis_pct | number | % | 無期限先物と限月先物では(mark − index) ÷ index × 100。ランキングでは取引所横断の中央値。 |
| perp.aggregate.max | object | — | ベーシスが最も高い取引所と契約。 |
| perp.aggregate.max.exchange | string | — | 取引所ID(小文字)。 |
| perp.aggregate.max.symbol | string | — | CoinBossの保存形式での契約シンボル。 |
| perp.aggregate.max.basis_pct | number | % | 無期限先物と限月先物では(mark − index) ÷ index × 100。ランキングでは取引所横断の中央値。 |
| perp.aggregate.median_last_pct | number | % | 直近価格ベーシスの中央値。 |
| perp.aggregate.n_exchanges_last | number | — | 直近価格の中央値に含まれる取引所。 |
| perp.aggregate.weights | object | — | ウェイトの出所、その鮮度ウィンドウ、および最も古いウェイトの経過時間。 |
| perp.aggregate.weights.oi | object | — | 建玉。 |
| perp.aggregate.weights.oi.source | string | — | データの収集元である上流の公開エンドポイント。 |
| perp.aggregate.weights.oi.fresh_window_s | number | s | これより古いウェイトは使用されません。 |
| perp.aggregate.weights.oi.oldest_age_s | number | s | 使用したウェイトのうち最も古いものの経過時間。 |
| perp.aggregate.weights.oi.side | string | — | 建玉ウェイトが片側ベースかどうか。 |
| perp.aggregate.weights.vol | object | — | 出来高。 |
| perp.aggregate.weights.vol.source | string | — | データの収集元である上流の公開エンドポイント。 |
| perp.aggregate.weights.vol.fresh_window_s | number | s | これより古いウェイトは使用されません。 |
| perp.aggregate.weights.vol.oldest_age_s | number | s | 使用したウェイトのうち最も古いものの経過時間。 |
| perp.contracts | array | — | 契約ごとに1行。 |
| perp.contracts[] | object | — | 契約ごとに1行。 |
| perp.contracts[].exchange | string | — | 取引所ID(小文字)。 |
| perp.contracts[].symbol | string | — | CoinBossの保存形式での契約シンボル。 |
| perp.contracts[].native_symbol | string | — | 取引所の表記どおりの契約シンボル。 |
| perp.contracts[].quote | string | — | 契約の建値通貨。 |
| perp.contracts[].margin_type | string | — | 契約の証拠金タイプ(例:USDT建て、コイン証拠金型)。 |
| perp.contracts[].multiplier | number | — | 建値1単位あたりのコイン数(`1000PEPE`型の契約では1000)。ベーシスには影響しません。 |
| perp.contracts[].mark_price | number|null | — | 取引所が公表するマーク価格。 |
| perp.contracts[].index_price | number|null | — | 取引所が公表するインデックス価格。 |
| perp.contracts[].last_price | number|null | — | 直近の約定価格。 |
| perp.contracts[].index_kind | string|null | — | インデックスの種類:`exchange_index`、`oracle`、または表示はされるが集計には含まれないその他の種類。 |
| perp.contracts[].basis_pct | number|null | % | 無期限先物と限月先物では(mark − index) ÷ index × 100。ランキングでは取引所横断の中央値。 |
| perp.contracts[].basis_abs | number|null | — | mark − index(建値通貨建て)。 |
| perp.contracts[].basis_last_pct | number|null | % | (last − index) ÷ index × 100。直近の約定がない場合は`null`。 |
| perp.contracts[].basis_last_reason | string|null | — | `basis_last_pct`がnullである理由。 |
| perp.contracts[].index_lag_s | number|null | s | 行のマーク価格のタイムスタンプとインデックス価格のタイムスタンプの差(秒)。 |
| perp.contracts[].oi_usd | number|null | USD | 契約の建玉(片側)。ウェイトとして使用します。 |
| perp.contracts[].vol_usd_24h | number|null | USD | 契約の24h想定元本ベースの出来高。ウェイトとして使用します。 |
| perp.contracts[].primary | boolean | — | 中央値と平均において取引所を代表する契約の場合はtrue。 |
| perp.contracts[].in_aggregate | boolean | — | 行が算入ルールを満たした場合はtrue。 |
| perp.contracts[].excluded_reason | string|null | — | 行が集計値に含まれない理由。 |
| perp.contracts[].last_ts | number|null | ms | 直近の約定時刻。 |
| perp.contracts[].observed_at | number|null | ms | ソースがデータに付与したタイムスタンプ。 |
| perp.contracts[].received_at | number | ms | CoinBossのコレクターがデータを受信した時刻。 |
| perp.contracts[].age_s | number | s | 行を受信してからの経過秒数。 |
| spot_perp | object | — | 同じ取引所の現物価格に対する無期限先物価格。 |
| spot_perp.unit | string | — | ベーシス値の単位(パーセント)。 |
| spot_perp.aggregate | object | — | このセクションの取引所横断の集計値。 |
| spot_perp.aggregate.oi_weighted_pct | number | % | 建玉で加重したベーシス。OIウェイトのない行は除外されます。 |
| spot_perp.aggregate.oi_weight_usd | number | USD | 使用した建玉ウェイトの合計。 |
| spot_perp.aggregate.n_oi_weighted | number | — | OIウェイトを持っていた行。 |
| spot_perp.aggregate.vol_weighted_pct | number | % | 24hの想定元本ベースの出来高で加重したベーシス。 |
| spot_perp.aggregate.vol_weight_usd | number | USD | 使用した出来高ウェイトの合計。 |
| spot_perp.aggregate.n_vol_weighted | number | — | 出来高ウェイトを持っていた行。 |
| spot_perp.aggregate.median_pct | number | % | 取引所ごとに主要契約1つを対象としたベーシスの中央値。 |
| spot_perp.aggregate.mean_pct | number | % | 中央値と同じ集合を対象とした単純平均。 |
| spot_perp.aggregate.n_exchanges | number | — | 集計値に含まれる取引所。 |
| spot_perp.aggregate.n_contracts | number | — | 集計値に含まれる契約。 |
| spot_perp.aggregate.min | object | — | ベーシスが最も低い取引所と契約。 |
| spot_perp.aggregate.min.exchange | string | — | 取引所ID(小文字)。 |
| spot_perp.aggregate.min.symbol | string | — | CoinBossの保存形式での契約シンボル。 |
| spot_perp.aggregate.min.basis_pct | number | % | 無期限先物と限月先物では(mark − index) ÷ index × 100。ランキングでは取引所横断の中央値。 |
| spot_perp.aggregate.max | object | — | ベーシスが最も高い取引所と契約。 |
| spot_perp.aggregate.max.exchange | string | — | 取引所ID(小文字)。 |
| spot_perp.aggregate.max.symbol | string | — | CoinBossの保存形式での契約シンボル。 |
| spot_perp.aggregate.max.basis_pct | number | % | 無期限先物と限月先物では(mark − index) ÷ index × 100。ランキングでは取引所横断の中央値。 |
| spot_perp.pairs | array | — | 同じ取引所の無期限先物 / 現物のペアごとに1行。 |
| spot_perp.pairs[] | object | — | 同じ取引所の無期限先物 / 現物のペアごとに1行。 |
| spot_perp.pairs[].exchange | string | — | 取引所ID(小文字)。 |
| spot_perp.pairs[].symbol | string | — | CoinBossの保存形式での契約シンボル。 |
| spot_perp.pairs[].spot_symbol | string | — | 現物レグとして使用した現物市場。 |
| spot_perp.pairs[].quote | string | — | 契約の建値通貨。 |
| spot_perp.pairs[].spot_mult | number | — | 両方のレグが同じ数量に対する価格になるよう、現物価格に適用する係数。 |
| spot_perp.pairs[].futures_price | number|null | — | 使用した無期限先物価格。`price_kind`を参照してください。 |
| spot_perp.pairs[].price_kind | string|null | — | 使用した無期限先物価格の種類:`last`または`mark`。 |
| spot_perp.pairs[].spot_price | number | — | 現物の直近価格(`spot_mult`適用後)。 |
| spot_perp.pairs[].basis_pct | number|null | % | 無期限先物と限月先物では(mark − index) ÷ index × 100。ランキングでは取引所横断の中央値。 |
| spot_perp.pairs[].basis_last_pct | number|null | % | (last − index) ÷ index × 100。直近の約定がない場合は`null`。 |
| spot_perp.pairs[].basis_mark_pct | number|null | % | (mark − spot) ÷ spot × 100。 |
| spot_perp.pairs[].leg_gap_s | number | s | 2つのレグのタイムスタンプの差(秒)。 |
| spot_perp.pairs[].spot_time_kind | string | — | 現物のタイムスタンプの種類(約定時刻または受信時刻)。 |
| spot_perp.pairs[].spot_vol_24h | number|null | — | 現物市場の24h売買代金(建値通貨建て)。 |
| spot_perp.pairs[].oi_usd | number|null | USD | 契約の建玉(片側)。ウェイトとして使用します。 |
| spot_perp.pairs[].vol_usd_24h | number|null | USD | 契約の24h想定元本ベースの出来高。ウェイトとして使用します。 |
| spot_perp.pairs[].primary | boolean | — | 中央値と平均において取引所を代表する契約の場合はtrue。 |
| spot_perp.pairs[].in_aggregate | boolean | — | 行が算入ルールを満たした場合はtrue。 |
| spot_perp.pairs[].excluded_reason | string|null | — | 行が集計値に含まれない理由。 |
| spot_perp.pairs[].received_at | number | ms | CoinBossのコレクターがデータを受信した時刻。 |
| spot_perp.pairs[].spot_received_at | number | ms | 現物レグを受信した時刻。 |
| delivery | object | — | 限月先物(デリバリー)のベーシス。 |
| delivery.unit | string | — | ベーシス値の単位(パーセント)。 |
| delivery.contracts | array | — | 契約ごとに1行。 |
| delivery.contracts[] | object | — | 契約ごとに1行。 |
| delivery.contracts[].exchange | string | — | 取引所ID(小文字)。 |
| delivery.contracts[].symbol | string | — | CoinBossの保存形式での契約シンボル。 |
| delivery.contracts[].native_symbol | string | — | 取引所の表記どおりの契約シンボル。 |
| delivery.contracts[].quote | string | — | 契約の建値通貨。 |
| delivery.contracts[].margin_type | string | — | 契約の証拠金タイプ(例:USDT建て、コイン証拠金型)。 |
| delivery.contracts[].expiry_ts | number | ms | 限月契約の満期時刻。 |
| delivery.contracts[].days_to_expiry | number | days | 満期までの日数。 |
| delivery.contracts[].mark_price | number | — | 取引所が公表するマーク価格。 |
| delivery.contracts[].last_price | number|null | — | 直近の約定価格。 |
| delivery.contracts[].index_price | number | — | 取引所が公表するインデックス価格。 |
| delivery.contracts[].index_kind | string | — | インデックスの種類:`exchange_index`、`oracle`、または表示はされるが集計には含まれないその他の種類。 |
| delivery.contracts[].basis_pct | number | % | 無期限先物と限月先物では(mark − index) ÷ index × 100。ランキングでは取引所横断の中央値。 |
| delivery.contracts[].annualized_pct | number|null | % per year | basis_pct × 365 ÷ 満期までの日数(単利)。満期まで1日未満の場合は`null`。 |
| delivery.contracts[].basis_reason | null | — | `basis_pct`がnullである理由。 |
| delivery.contracts[].index_lag_s | number | s | 行のマーク価格のタイムスタンプとインデックス価格のタイムスタンプの差(秒)。 |
| delivery.contracts[].basis_last_pct | number|null | % | (last − index) ÷ index × 100。直近の約定がない場合は`null`。 |
| delivery.contracts[].annualized_last_pct | number|null | % per year | 直近の約定価格を用いた年率換算ベーシス。 |
| delivery.contracts[].spot_symbol | string|null | — | 現物レグとして使用した現物市場。 |
| delivery.contracts[].spot_price | number|null | — | 現物の直近価格(`spot_mult`適用後)。 |
| delivery.contracts[].spot_price_kind | string|null | — | 現物と比較した先物価格の種類。 |
| delivery.contracts[].basis_spot_pct | number|null | % | (先物 − 同一取引所の現物) ÷ 現物 × 100。 |
| delivery.contracts[].annualized_spot_pct | number|null | % per year | 同一取引所の現物に対する年率換算ベーシス。 |
| delivery.contracts[].annualized_reason | string|null | — | 年率換算値がnullである理由(例:`expiry_lt_1d`)。 |
| delivery.contracts[].oi_usd | number|null | USD | 契約の建玉(片側)。ウェイトとして使用します。 |
| delivery.contracts[].vol_usd_24h | number|null | USD | 契約の24h想定元本ベースの出来高。ウェイトとして使用します。 |
| delivery.contracts[].last_ts | number|null | ms | 直近の約定時刻。 |
| delivery.contracts[].observed_at | number|null | ms | ソースがデータに付与したタイムスタンプ。 |
| delivery.contracts[].received_at | number | ms | CoinBossのコレクターがデータを受信した時刻。 |
| delivery.contracts[].age_s | number | s | 行を受信してからの経過秒数。 |
| coverage | object | — | 数値に含まれるものと含まれないもの。他のソースと合計値を比較する前に、まずこの内容を比較してください。 |
| coverage.included_exchanges | array | — | 鮮度内のデータが算入されているソース。 |
| coverage.included_exchanges[] | string | — | 鮮度内のデータが算入されているソース。 |
| coverage.unavailable | array | — | 算入できなかったソース。それぞれ理由が付きます。0としてカウントされることはありません。 |
| coverage.unavailable[] | object | — | 算入できなかったソース。それぞれ理由が付きます。0としてカウントされることはありません。 |
| coverage.unavailable[].exchange | string | — | 取引所ID(小文字)。 |
| coverage.unavailable[].reason | string | — | 機械可読な理由コード。 |
| coverage.unavailable[].detail | string | — | 人が読める形式での理由の説明。 |
| coverage.stale_excluded | array | — | 最終更新が鮮度ウィンドウの外にあるため除外された行。 この表の生成に使用したサンプルでは空 |
| coverage.missing_fields | array | — | いずれかの価格を公表していない取引所。 |
| coverage.excluded_from_aggregate | array | — | 表示はされるが集計値から除外された行。それぞれ理由が付きます。 |
| coverage.excluded_from_aggregate[] | object | — | 表示はされるが集計値から除外された行。それぞれ理由が付きます。 |
| coverage.excluded_from_aggregate[].exchange | string | — | 取引所ID(小文字)。 |
| coverage.excluded_from_aggregate[].symbol | string | — | CoinBossの保存形式での契約シンボル。 |
| coverage.excluded_from_aggregate[].section | string | — | 行が属するセクション。 |
| coverage.excluded_from_aggregate[].reason | string | — | 機械可読な理由コード。 |
| coverage.stock_excluded | array | — | ティッカーが同じであるため除外された株式無期限先物。 この表の生成に使用したサンプルでは空 |
| coverage.dropped_delisted_rows | number | — | 契約の更新が止まったため除外された行。 |
| coverage.delivery_unavailable | array | — | 限月契約を収集していない取引所。 |
| coverage.delivery_unavailable[] | object | — | 限月契約を収集していない取引所。 |
| coverage.delivery_unavailable[].exchange | string | — | 取引所ID(小文字)。 |
| coverage.delivery_unavailable[].reason | string | — | 機械可読な理由コード。 |
| coverage.delivery_unavailable[].detail | string | — | 人が読める形式での理由の説明。 |
| method | object | — | このレスポンスで使用した計算式を平文で記述したもの。フィールドごとに1エントリー。 |
| method.perp.basis_pct | string | — | `perp.basis_pct`の計算式に関する注記(平文)。 |
| method.perp.basis_last_pct | string | — | `perp.basis_last_pct`の計算式に関する注記(平文)。 |
| method.perp.aggregate.oi_weighted_pct | string | — | `perp.aggregate.oi_weighted_pct`の計算式に関する注記(平文)。 |
| method.perp.aggregate.vol_weighted_pct | string | — | `perp.aggregate.vol_weighted_pct`の計算式に関する注記(平文)。 |
| method.perp.aggregate.median_pct | string | — | `perp.aggregate.median_pct`の計算式に関する注記(平文)。 |
| method.perp.aggregate.inclusion | string | — | `perp.aggregate.inclusion`の計算式に関する注記(平文)。 |
| method.spot_perp.basis_pct | string | — | `spot_perp.basis_pct`の計算式に関する注記(平文)。 |
| method.spot_perp.aggregate.inclusion | string | — | `spot_perp.aggregate.inclusion`の計算式に関する注記(平文)。 |
| method.delivery.basis_pct | string | — | `delivery.basis_pct`の計算式に関する注記(平文)。 |
| method.delivery.annualized_pct | string | — | `delivery.annualized_pct`の計算式に関する注記(平文)。 |
| method.index_lag_s | string | — | `index_lag_s`の計算式に関する注記(平文)。 |
| method.multiplier | string | — | `multiplier`の計算式に関する注記(平文)。 |
| meta | object | — | このレスポンスのデータリネージと鮮度。 |
| meta.schema | string | — | このレスポンスのスキーマID。既存フィールドの意味または型が変わった場合にのみ変更されます。 |
| meta.source | array | — | データの収集元である上流の公開エンドポイント。 |
| meta.source[] | object | — | データの収集元である上流の公開エンドポイント。 |
| meta.source[].exchange | string | — | 取引所ID(小文字)。 |
| meta.source[].endpoint | string | — | コレクターが読み取るソースの公開エンドポイント(データリネージのために表示。クライアントが呼び出すことはありません)。 |
| meta.observed_at | number | ms | ソースがデータに付与したタイムスタンプ。 |
| meta.received_at | number | ms | CoinBossのコレクターがデータを受信した時刻。 |
| meta.fetched_at | number | ms | このレスポンスが組み立てられた時刻。 |
| meta.window | string | — | 数値が対象とする時間ウィンドウ。 |
| meta.quality | string | — | FRESH、PARTIAL、STALE、BROKEN、UNAVAILABLEのいずれか。データのタイムスタンプとカバレッジから判定します。 |
| meta.is_stale | boolean | — | データが鮮度ウィンドウより古い場合はtrue。 |
| meta.cache_ttl_s | number | s | このレスポンスのキャッシュ有効期間。 |
| meta.fallback | string | — | コレクターまたはソースに障害が発生した場合にエンドポイントが返す内容。 |
| meta.collector_heartbeat_age_s | number | s | コレクターが稼働中であることを最後に報告してからの経過秒数。 |
| coverage.missing_fields[] | object | — | いずれかの価格を公表していない取引所。 |
| coverage.missing_fields[].exchange | string | — | 取引所ID(小文字)。 |
| coverage.missing_fields[].symbol | string | — | CoinBossの保存形式での契約シンボル。 |
| coverage.missing_fields[].missing | string | — | 取引所が公表していない価格(`mark`または`index`)。 |
2026-11-11 23:00 UTCに4件の実レスポンスから生成。
レスポンス例
/api/sd/basis?coin=BTC · 実際のレスポンス(2026-11-13 03:52:48 UTCに取得)。 長い配列とマップは表示用に短縮しています:meta.sourceは20件; perp.contractsは37件; spot_perp.pairsは22件; delivery.contractsは53件; coverage.unavailableは4件; coverage.included_exchangesは20件。
- "success"true
- "schema""coinboss.sd.basis/1"
- "now"1794541956692
- "coin""BTC"
- "perp"
- "unit""percent"
- "aggregate"
- "contracts"
- "spot_perp"
- "unit""percent"
- "aggregate"
- "pairs"
- "delivery"
- "unit""percent"
- "contracts"
- "coverage"
- "included_exchanges"
- "unavailable"
- "stale_excluded"
- "missing_fields"
- "excluded_from_aggregate"
- "stock_excluded"
- "dropped_delisted_rows"0
- "delivery_unavailable"
- "method"
- "perp.basis_pct""(mark_price - index_price) / index_price * 100, percent; mark and index are both published by the same exchange for that…"
- "perp.basis_last_pct""(last_price - index_price) / index_price * 100; null when the exchange gives no last-trade price or the last trade is mo…"
- "perp.aggregate.oi_weighted_pct""sum(basis_pct * oi_usd) / sum(oi_usd) over all included perpetual contracts that have an open-interest weight; oi_usd fr…"
- "perp.aggregate.vol_weighted_pct""same with 24h notional volume (market_tickers.volume_usd / sd_contract_latest.vol_usd_24h, <= 1 h old) as weight"
- "perp.aggregate.median_pct""median of basis_pct over one primary contract per exchange (largest OI, then volume, then USDT-margined); mean_pct is th…"
- "perp.aggregate.inclusion""row is fresh (<= 180 s), basis_pct is not null, index_kind is exchange_index or oracle, the contract traded within 24 h …"
- "spot_perp.basis_pct""(perp last_price, or mark_price when last is unusable - spot last price * spot_mult) / (spot last price * spot_mult) * 1…"
- "spot_perp.aggregate.inclusion""as perp, plus spot 24h turnover >= 10000 (quote currency) when the exchange reports it"
- "delivery.basis_pct""(F - S) / S * 100 with F = mark_price and S = the exchange index price of the underlying; basis_last_pct uses F = last_p…"
- "delivery.annualized_pct""basis_pct * 365 / days_to_expiry, simple (not compounded); null when days_to_expiry < 1; days_to_expiry = (expiry_ts - p…"
- "index_lag_s""seconds between the mark timestamp and the index timestamp of the row; 0 when the exchange returns both in one response;…"
- "multiplier""contract units per coin (1000PEPE, kPEPE = 1000); mark and index carry the same multiplier so basis_pct is unaffected; s…"
- "meta"
- "schema""coinboss.sd.basis/1"
- "source"
- "observed_at"1794539247345
- "received_at"1794539247425
- "fetched_at"1794541956692
- "window""latest"
- "quality""STALE"
- "is_stale"true
- "cache_ttl_s"20
- "fallback""rows older than 180 s are excluded; if no exchange is fresh the last stored rows (<= 1 h old) are served with is_stale=t…"
- "collector_heartbeat_age_s"2759
検証済みサンプル
上の例に加えて、プローブは以下のパラメータでもこのエンドポイントを呼び出し、毎回スキーマを検証しています。
| パラメータ | HTTP | レイテンシ | 結果 |
|---|---|---|---|
| coin=ETH | 200 | 28 ms | 合格 STALE |
| coin=SOL | 200 | 26 ms | 合格 STALE |
| coin=PEPE | 200 | 26 ms | 合格 STALE |
| — | 400 | 2 ms | 合格 想定どおりのエラーを返す |
2026-11-13 03:28:06 UTCにチェック
詳細
- 認証
- 不要。公開エンドポイントです。
- レート制限
- IPごとに毎分1200リクエスト
- サーバーキャッシュ
- 20s
- エッジマイクロキャッシュ
- 10s
- 更新頻度
- コレクターは60秒ごとに巡回します。行は180秒間、鮮度内と見なされます。履歴には1時間ごとのスナップショットが使われます。
- ウィンドウ
- 契約ごとの最新値。
- データソース
- 21のデリバティブ取引所が公表するマーク価格、インデックス価格、直近価格と、同じ取引所の現物価格を、CoinBossが収集・保存しています(sd_px_latest、sd_px_hourly)。
- 取引所カバレッジ
- 21取引所。インデックス価格またはマーク価格を公表していない取引所は`coverage.unavailable`に記載されます。2つの価格レグの時刻が60秒を超えて離れている行は`null`を返します。集計値から除外された行は、理由とともに`coverage.excluded_from_aggregate`に記載されます。
- ページネーション
- ページングはありません。
- ソート
- 建玉の大きい契約が先頭。
- 単位
- All basis values in percent. Prices in the quote currency of the contract (USDT / USDC / USD). `oi_usd` single-sided.
- 算出方法
- Perpetual: basis_pct = (mark − index) ÷ index × 100. Spot-perp: (perpetual price − spot price) ÷ spot price × 100, same exchange and quote currency. Delivery: basis_pct = (futures − index) ÷ index × 100; annualized_pct = basis_pct × 365 ÷ days to expiry (simple interest; `null` inside the last day). Aggregates use one primary contract per exchange; a row enters only if it is fresh, traded within 24 hours and |basis| ≤ 10 %.
- タイムスタンプ
- フィールドの説明に別途記載がない限り、Unixエポックミリ秒(UTC)
- レスポンス形式
- json
- 安定性
- 安定版
- 提供開始
- 2026-11-11
ライブステータス
低下2026-11-13 03:52:48 UTCにチェックHTTP 2001 msスキーマ一致最新データポイントは45m前
エンドポイントが報告するデータ品質はSTALEです
可用性(過去30日間)
406回のチェック中100%が合格
エラー
失敗した呼び出しは、すべてのエンドポイントで共通の形式で返されます。一覧はエラーページにあります。 エラーとレート制限 →
| コード | HTTP | 意味 | 対処方法 |
|---|---|---|---|
| INVALID_PARAM | 400 | 必須パラメータが不足しているか、値が受け付けられません。該当するパラメータが特定できる場合は、`param`にその名前が入ります。 | そのまま再試行せず、リクエストを修正してください。 |
| UNAUTHORIZED | 401 | `CB-API-KEY`ヘッダーが送信されましたが、キーが不明か失効済みです。公開データにキーは不要です。ヘッダーを外すか、有効なキーを使用してください。 | そのまま再試行しないでください。 |
| FORBIDDEN | 403 | このルートは公開APIに含まれません(内部用またはアカウント専用)。 | 再試行しないでください。 |
| NOT_FOUND | 404 | 不明なルートであるか、リクエストされた銘柄 / 取引所 / ファンドが存在しません。 | 再試行せず、パスと識別子をカタログと照合してください。 |
| RATE_LIMITED | 429 | リクエスト数が1分あたりの上限を超えました。`Retry-After`に待機すべき秒数が示されます。 | `Retry-After`で示された時間だけ待ってから、バックオフ付きで再試行してください。 |
| INTERNAL | 500 | 予期しないサーバーエラーです。メッセージは意図的に汎用的な内容にしています。報告の際は`request_id`を引用してください。 | 数秒後に1回だけ再試行してください。解消しない場合は、リクエストIDを添えて報告してください。 |
| UPSTREAM_FAILED | 503 | このエンドポイントの背後にあるデータソースが時間内に応答しませんでした。鮮度切れの数値や代替の数値を代わりに返すことはありません。 | バックオフ付きで再試行し、ステータスページを確認してください。 |
| UNAVAILABLE | 501 / 503 | データセットが一時的に準備できていない(キャッシュのウォームアップ中)か、このエンドポイントに適法な公開ソースがまだありません。 | 時間をおいて再試行してください。仕様上利用できないエンドポイントは、カタログに明示されています。 |
| REQUEST_FAILED | 200 | 一部の古いエンドポイントは、HTTP 200で`success: false`を返します。HTTPステータスだけでなく、必ず`success`を確認してください。 | メッセージによって異なります。失敗したリクエストとして扱ってください。 |
試してみる
GET
/api/sd/basis低下パラメータ
string — Coin symbol, case-insensitive (for example `BTC`). Missing or malformed values return 400.
リクエストURL
https://www.coinboss.com/api/sd/basis?coin=BTCエンドポイントを選択して「リクエストを送信」を押してください。レスポンス、ヘッダー、所要時間がここに表示されます。
このカテゴリの他のエンドポイント
- 先物ベーシス(全取引所) /api/sd/basis
- ベーシス履歴(1時間足) /api/sd/basis/history
- ベーシスによる銘柄ランキング /api/sd/basis/rank
- 先物・現物ベーシスリスト /api/derivatives/basis
- CoinbaseとKrakenの日次BTC価格スプレッド /api/p3/cb-kr-spread
- Coinbaseビットコインプレミアム指数 /api/p3/coinbase-premium
- 無期限先物プレミアム指数リスト /api/p3/premium-index
- 1銘柄のプレミアム指数履歴 /api/p3/premium-index/history
- プレミアム指数ローソク足 /api/p3/premium-index/klines
- 法定通貨の為替レートに対するUSDT店頭プレミアム /api/usdt-premium
- 先物・現物ベーシスの全リスト /api/basis/list