Sand AISand AI MAGI-2MAGI-2 agora está na SandBase: vídeo em 1080p com áudio nativoExperimente agora

Financial Datasets Get Stock Price Snapshot

Docs da 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.

Preço
$0.02USD / chamada
Método
POST
Resposta
JSON
Parâmetros
0 obrigatórios · 1 opcionais

Playground

Entrada
The stock ticker symbol (e.g. AAPL, MSFT).
SaídaPronto

Sua saída aparecerá aqui

Preencha as entradas e clique em Executar.

README da API

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.

Explorar mais

APIs relacionadas

Todas as APIs
APIPreçoResposta
Financial Datasets$0.02 por chamadaJSON
Financial Datasets$0.02 por chamadaJSON
Financial Datasets$0.02 por chamadaJSON
Financial Datasets$0.02 por chamadaJSON
Financial Datasets$0.02 por chamadaJSON
Financial Datasets$0.02 por chamadaJSON

Perguntas

FAQ

Como eu uso a API Financial Datasets Get Stock Price Snapshot?

Envie uma solicitação POST para https://api.sandbase.ai/v1/api/financial-datasets/prices-snapshot com sua chave de API da SandBase no cabeçalho Authorization (Bearer) e os parâmetros no corpo JSON. Você também pode testar no Playground desta página sem escrever código.

Quanto custa a API Financial Datasets Get Stock Price Snapshot?

$0.02 por chamada, cobrado do seu saldo SandBase. Você paga apenas pelas chamadas que fizer; não há assinatura.

Quais parâmetros a API Financial Datasets Get Stock Price Snapshot aceita?

Nenhum parâmetro é obrigatório. Opcionais: ticker (string). A tabela de Parâmetros e o Playground nesta página listam todos os campos.

O que a API Financial Datasets Get Stock Price Snapshot retorna?

Uma resposta JSON retornada na mesma solicitação HTTP (síncrona). O README desta página inclui um exemplo de resposta.

Preciso de uma conta de desenvolvedor Financial Datasets ou de uma chave de API?

Não. Financial Datasets Get Stock Price Snapshot funciona via SandBase, então uma única chave de API da SandBase cobre este endpoint e todas as outras APIs e modelos do catálogo. Você não precisa solicitar acesso à API do Financial Datasets separadamente.