Sand AISand AI MAGI-2MAGI-2 jest teraz na SandBase: wideo 1080p z natywnym dźwiękiemWypróbuj teraz

Yahoo Finance Closing Price

Dokumentacja API
https://api.sandbase.ai/v1/api/yahoo-finance/closing-price

Get a stock or ETF's latest price and previous closing price from Yahoo Finance by ticker symbol, with day high/low, change, volume, and market cap. Returns the most recent session only; historical dates are not supported.

Cena
Od $0.00099USD / wywołanie
Metoda
POST
Odpowiedź
JSON
Parametry
1 wymaganych · 0 opcjonalnych

Playground

Wejście
The ticker symbol to look up.
WyjścieGotowe

Twój wynik pojawi się tutaj

Uzupełnij dane wejściowe, a następnie kliknij Uruchom.

README API

Yahoo Finance Closing Price API

Get a stock or ETF's latest price and previous closing price from Yahoo Finance by ticker symbol, with day high/low, change, volume, and market cap. Returns the most recent session only; historical dates are not supported.

Request

curl -X POST "https://api.sandbase.ai/v1/run" \
  -H "Authorization: Bearer $SANDBASE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"model": "yahoo-finance/closing-price", "ticker": "AAPL"}'

The result is returned in outputs[0].data. Lookups that find nothing fail with a not-found error.

Parameters

NameTypeRequiredDescription
tickerstringYesThe ticker symbol to look up.

Pricing

Billed at the actual cost of each call: about $0.00099 per result returned (about $0.00099 for 1 results). A call can cost more when the first data source fails and another one answers. Failed calls and lookups that find nothing are not charged.

Odkryj więcej

Powiązane APIs

Wszystkie APIs
APICenaOdpowiedź
Yahoo FinanceOd $0.00099 za wywołanieJSON
Yahoo Finance$0.05 za wywołanieAsynchroniczny JSON
Yahoo Finance$0.05 za wywołanieAsynchroniczny JSON
Yahoo FinanceOd $0.00099 za wywołanieJSON
Yahoo Finance$0.05 za wywołanieAsynchroniczny JSON
Yahoo Finance$0.05 za wywołanieAsynchroniczny JSON

Pytania

FAQ

Jak używać API Yahoo Finance Closing Price?

Wyślij żądanie POST do https://api.sandbase.ai/v1/api/yahoo-finance/closing-price z kluczem API SandBase w nagłówku Authorization (Bearer) oraz parametrami w treści JSON. Możesz też wypróbować je w Playground na tej stronie bez pisania kodu.

Ile kosztuje API Yahoo Finance Closing Price?

Od $0.00099 za wywołanie, rozliczane z salda SandBase. Płacisz tylko za wykonane wywołania; nie ma subskrypcji.

Jakie parametry przyjmuje API Yahoo Finance Closing Price?

Wymagane: ticker (string). Tabela Parameters oraz Playground na tej stronie zawierają wszystkie pola.

Co zwraca API Yahoo Finance Closing Price?

Odpowiedź JSON zwrócona w tym samym żądaniu HTTP (synchronicznie).

Czy potrzebuję konta deweloperskiego Yahoo Finance lub klucza API?

Nie. Yahoo Finance Closing Price działa przez SandBase, więc jeden klucz API SandBase obejmuje ten endpoint i każde inne API oraz model w katalogu. Nie musisz osobno ubiegać się o dostęp do API Yahoo Finance.