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

Financial Datasets Get Stock Price Snapshot

APIドキュメント
https://api.sandbase.ai/v1/api/financial-datasets/prices-snapshot

Get the real-time price snapshot for a stock, including the current price, day change, and day change percent.

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

プレイグラウンド

入力
The stock ticker symbol (e.g. AAPL, MSFT).
出力準備完了

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

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

API README

Financial Datasets Get Stock Price Snapshot API

Returns the latest price snapshot for one stock: the current price, the change since the previous close, and the time of the quote. It needs a stock ticker symbol such as AAPL.

Use cases

  • Show a live quote for a ticker on a dashboard or watchlist.
  • Check how far a stock has moved today before running a trade alert.
  • Add the current price to a portfolio value calculation.
  • Compare today's percent move across several tickers by calling the API once per ticker.

Request

curl -X POST "https://api.sandbase.ai/v1/api/financial-datasets/prices-snapshot" \
  -H "Authorization: Bearer $SANDBASE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"ticker": "AAPL"}'

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

Parameters

NameTypeRequiredDescription
tickerstringNoThe stock ticker symbol (e.g. AAPL, MSFT).

Example response

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

{
  "snapshot": {
    "day_change": -13.93,
    "day_change_percent": -4.04,
    "price": 330.7,
    "ticker": "AAPL",
    "time": "2026-11-03T00:37:12Z",
    "time_milliseconds": 1793666232299
  }
}

Response fields

FieldMeaning
snapshot.tickerThe stock ticker symbol the snapshot is for.
snapshot.priceThe current stock price in the response, for example 330.7.
snapshot.day_changeThe price change for the day. A negative value means the stock is down.
snapshot.day_change_percentThe day change as a percent. The example value -4.04 matches a drop of about 4 percent.
snapshot.timeThe quote time as an ISO 8601 timestamp in UTC, for example 2026-11-03T00:37:12Z.
snapshot.time_millisecondsThe same quote time as a Unix timestamp in milliseconds.

Notes

Pricing

$0.02 per successful call. Failed calls are not charged.

さらに探索

関連 APIs

すべての APIs
API価格レスポンス
Financial Datasets$0.02 / 回JSON
Financial Datasets$0.02 / 回JSON
Financial Datasets$0.02 / 回JSON
Financial Datasets$0.02 / 回JSON
Financial Datasets$0.02 / 回JSON
Financial Datasets$0.02 / 回JSON

質問

FAQ

Financial Datasets Get Stock Price Snapshot API はどのように使いますか?

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

Financial Datasets Get Stock Price Snapshot API の料金はいくらですか?

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

Financial Datasets Get Stock Price Snapshot API はどのパラメータを受け付けますか?

必須パラメータはありません。 任意: ticker (string)。 このページの Parameters テーブルと Playground に、すべてのフィールドが一覧表示されています。

Financial Datasets Get Stock Price Snapshot API は何を返しますか?

同じ HTTP リクエスト内で返される JSON レスポンスです(同期)。 このページの README にサンプルレスポンスがあります。

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

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