Sand AISand AI MAGI-2MAGI-2 ist jetzt auf SandBase: 1080p-Video mit nativem AudioJetzt testen

Financial Datasets Get Stock Price Snapshot

API-Dokumentation
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.

Preis
$0.02USD / Aufruf
Methode
POST
Antwort
JSON
Parameter
0 erforderlich · 1 optional

Playground

Eingabe
The stock ticker symbol (e.g. AAPL, MSFT).
AusgabeBereit

Ihre Ausgabe wird hier angezeigt

Vervollständigen Sie die Eingaben und klicken Sie dann auf Ausführen.

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.

Mehr entdecken

Verwandte APIs

Alle APIs
APIPreisAntwort
Financial Datasets$0.02 pro AufrufJSON
Financial Datasets$0.02 pro AufrufJSON
Financial Datasets$0.02 pro AufrufJSON
Financial Datasets$0.02 pro AufrufJSON
Financial Datasets$0.02 pro AufrufJSON
Financial Datasets$0.02 pro AufrufJSON

Fragen

FAQ

Wie verwende ich die Financial Datasets Get Stock Price Snapshot API?

Senden Sie eine POST-Anfrage an https://api.sandbase.ai/v1/api/financial-datasets/prices-snapshot mit Ihrem SandBase API-Schlüssel im Authorization-Header (Bearer) und den Parametern als JSON-Body. Sie können das auch ohne Code direkt auf dieser Seite im Playground testen.

Was kostet die Financial Datasets Get Stock Price Snapshot API?

$0.02 pro Aufruf, abgerechnet von Ihrem SandBase-Guthaben. Es werden nur die von Ihnen getätigten Aufrufe berechnet; es gibt kein Abo.

Welche Parameter akzeptiert die Financial Datasets Get Stock Price Snapshot API?

Es sind keine Parameter erforderlich. Optional: ticker (string). Die Parametertabelle und der Playground auf dieser Seite listen jedes Feld auf.

Was gibt die Financial Datasets Get Stock Price Snapshot API zurück?

Eine JSON-Antwort, die in derselben HTTP-Anfrage zurückgegeben wird (synchron). Die README auf dieser Seite enthält eine Beispielantwort.

Benötige ich ein Financial Datasets-Entwicklerkonto oder einen API-Schlüssel?

Nein. Financial Datasets Get Stock Price Snapshot läuft über SandBase, daher deckt ein SandBase API-Schlüssel diesen Endpunkt und jede andere API sowie jedes Modell im Katalog ab. Sie müssen keinen separaten Zugang für Financial Datasets API beantragen.