Sand AISand AI MAGI-2MAGI-2 artık SandBase'de: yerel sesli 1080p videoŞimdi deneyin

Financial Datasets Get Stock Price Snapshot

API dokümanları
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.

Fiyat
$0.02USD / çağrı
Yöntem
POST
Yanıt
JSON
Parametreler
0 gerekli · 1 isteğe bağlı

Oynatma Alanı

Girdi
The stock ticker symbol (e.g. AAPL, MSFT).
ÇıktıHazır

Çıktınız burada görünecek

Girdileri tamamlayın, ardından Çalıştır'a tıklayın.

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.

Daha fazlasını keşfedin

İlgili APIs

Tüm APIs
APIFiyatYanıt
Financial Datasets$0.02 çağrı başınaJSON
Financial Datasets$0.02 çağrı başınaJSON
Financial Datasets$0.02 çağrı başınaJSON
Financial Datasets$0.02 çağrı başınaJSON
Financial Datasets$0.02 çağrı başınaJSON
Financial Datasets$0.02 çağrı başınaJSON

Sorular

SSS

Financial Datasets Get Stock Price Snapshot API'sini nasıl kullanırım?

SandBase API anahtarınızı Authorization başlığında (Bearer) ve parametreleri JSON gövdesi olarak ile https://api.sandbase.ai/v1/api/financial-datasets/prices-snapshot adresine bir POST isteği gönderin. Ayrıca bu sayfadaki Playground’da kod yazmadan da deneyebilirsiniz.

Financial Datasets Get Stock Price Snapshot API'sinin fiyatı nedir?

çağrı başına $0.02, SandBase bakiyenizden tahsil edilir. Yalnızca yaptığınız çağrılar için ücretlendirilirsiniz; abonelik yoktur.

Financial Datasets Get Stock Price Snapshot API'si hangi parametreleri kabul eder?

Gerekli parametre yoktur. İsteğe bağlı: ticker (string). Parametreler tablosu ve bu sayfadaki Playground, tüm alanları listeler.

Financial Datasets Get Stock Price Snapshot API'si ne döndürür?

Aynı HTTP isteğinde döndürülen bir JSON yanıtı (senkron). Bu sayfadaki README'de örnek bir yanıt yer alır.

Bir Financial Datasets geliştirici hesabına veya API anahtarına ihtiyacım var mı?

Hayır. Financial Datasets Get Stock Price Snapshot, SandBase üzerinden çalışır; bu nedenle tek bir SandBase API anahtarı bu uç noktayı ve katalogdaki diğer tüm API'leri ve modelleri kapsar. Financial Datasets API erişimi için ayrıca başvuru yapmanız gerekmez.