Sand AISand AI MAGI-2MAGI-2 が SandBase に登場しました: ネイティブ音声付き 1080p 動画今すぐ試す

Nasdaq Market Indices

APIドキュメント
https://api.sandbase.ai/v1/api/nasdaq/market-indices

Current values for the NASDAQ Composite index (COMP) including last price, net change, percentage change, volume, and daily high/low.

料金
$0.01USD / 回
メソッド
POST
レスポンス
非同期 JSON
パラメータ
必須 0 件 · 任意 0 件

プレイグラウンド

入力
利用可能な入力スキーマがありません
出力準備完了

出力はここに表示されます

入力を完了してから[実行]をクリックしてください。

API README

Nasdaq Market Indices

Returns the current quote for the NASDAQ Composite index (COMP), including last price, net change, percentage change, volume, and the day's high and low. The API takes no input.

Use cases

  • Show the current NASDAQ Composite level and daily move on a market dashboard.
  • Check whether the index is up or down today with deltaIndicator before running other market queries.
  • Log the index value and volume at set times to build your own intraday history.
  • Compare the day's high and low against previousClose to see how wide the trading range is.

Request

curl -X POST "https://api.sandbase.ai/v1/api/nasdaq/market-indices" \
  -H "Authorization: Bearer $SANDBASE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{}'

The result is returned in outputs[0].data.

Example response

Real response for the request above, trimmed: lists keep their first item and long strings are cut.

{
  "data": {
    "data": [
      {
        "chartCloseTime": 1793635259000,
        "chartOpenTime": 1793611800000,
        "companyName": "NASDAQ Composite Index",
        "datetime": "2026-11-02T17:16:01",
        "deltaIndicator": "down",
        "high": 25799.46,
        "indexCharts": null,
        "lastSalePrice": "25,164.32",
        "low": 25145.95,
        "netChange": "-272.68",
        "percentageChange": "-1.07%",
        "previousClose": "25,437"
      }
    ],
    "message": null,
    "status": {
      "bCodeMessage": null,
      "developerMessage": null,
      "rCode": 200
    }
  },
  "status": "success"
}

Response fields

FieldMeaning
data.data[].symbol / data.data[].companyNameTicker symbol of the index (COMP) and its full name.
data.data[].lastSalePriceLatest index value, as a string with thousands separators.
data.data[].netChange / data.data[].percentageChangeChange from the previous close, as a signed number and as a percent string. Both are strings.
data.data[].deltaIndicatorDirection of the move, for example down.
data.data[].high / data.data[].lowHighest and lowest index values for the day. These are numbers.
data.data[].previousCloseIndex value at the previous close, as a string.
data.data[].volumeTrading volume as a string with thousands separators.
data.data[].datetime / data.data[].timeStampTime of the quote as an ISO-style datetime, and the same date in a short text form.
data.data[].chartOpenTime / data.data[].chartCloseTimeStart and end of the chart window as 13-digit Unix timestamps, which look like milliseconds.

Notes

  • Send an empty JSON object {} as the body. There are no parameters.
  • Price, change, previous close, and volume are formatted strings with commas. Remove the commas and the % sign before you do math on them.
  • indexCharts is null in this response, and data.data[] is a list that holds one item for COMP.
  • For more detail on an index, call Nasdaq Index Detail.

Pricing

$0.01 per successful call. Failed calls are not charged. It is included in the daily free quota of each organization.

さらに探索

関連 APIs

すべての APIs
API価格レスポンス
Nasdaq$0.01 / 回非同期 JSON
Nasdaq$0.01 / 回非同期 JSON
Nasdaq$0.01 / 回非同期 JSON
Nasdaq$0.01 / 回非同期 JSON
Nasdaq$0.01 / 回非同期 JSON
Nasdaq$0.01 / 回非同期 JSON

質問

FAQ

Nasdaq Market Indices API はどのように使いますか?

Authorization ヘッダー(Bearer)に SandBase API key を指定し、パラメータを JSON ボディで送信して https://api.sandbase.ai/v1/api/nasdaq/market-indices に POST リクエストを送ります。このページの Playground で、コードを書かずに試すこともできます。

Nasdaq Market Indices API の料金はいくらですか?

1回あたり $0.01、SandBase 残高から課金されます。課金対象はご利用分のみで、サブスクリプションはありません。

Nasdaq Market Indices API はどのパラメータを受け付けますか?

Nasdaq Market Indices は入力パラメータを取りません。空の JSON ボディを送信してください。

Nasdaq Market Indices API は何を返しますか?

JSON 結果です。このエンドポイントは非同期で実行されるため、レスポンスには完了した結果の取得方法が含まれます。 このページの README にサンプルレスポンスがあります。

Nasdaq の開発者アカウントまたは API key は必要ですか?

いいえ。Nasdaq Market Indices は SandBase 経由で動作するため、SandBase の API key 1つでこのエンドポイントと、カタログ内の他のすべての API とモデルを利用できます。Nasdaq の API アクセスを別途申請する必要はありません。