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

Yahoo Finance Stock News

Dokumentacja API
https://api.sandbase.ai/v1/api/yahoo-finance/stock-news

Gather the latest financial news articles related to a specified stock ticker. Returns headlines, publishers, links, publish timestamps, and related tickers for each article.

Cena
$0.05USD / wywołanie
Metoda
POST
Odpowiedź
Asynchroniczny JSON
Parametry
1 wymaganych · 1 opcjonalnych

Playground

Wejście
Stock ticker symbol (e.g., AAPL).
Number of news items to retrieve. Zakres: od -9007199254740991 do 9007199254740991.
WyjścieGotowe

Twój wynik pojawi się tutaj

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

README API

Yahoo Finance Stock News

Gather the latest financial news articles related to a specified stock ticker. Returns headlines, publishers, links, publish timestamps, and related tickers for each article.

Request

curl -X POST "https://api.sandbase.ai/v1/api/yahoo-finance/stock-news" \
  -H "Authorization: Bearer $SANDBASE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"symbol": "AAPL"}'

This API runs asynchronously. The call returns a task id with status pending; poll GET https://api.sandbase.ai/v1/run/{id} until status is completed and read the result from outputs[0].data.

Parameters

NameTypeRequiredDescription
symbolstringYesStock ticker symbol (e.g., AAPL).
countintegerNoNumber of news items to retrieve.

Pricing

Flat price per call. Failed calls are not charged.

Odkryj więcej

Powiązane APIs

Wszystkie APIs
APICenaOdpowiedź
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
Yahoo FinanceOd $0.00099 za wywołanieJSON
Yahoo Finance$0.05 za wywołanieAsynchroniczny JSON

Pytania

FAQ

Jak używać API Yahoo Finance Stock News?

Wyślij żądanie POST do https://api.sandbase.ai/v1/api/yahoo-finance/stock-news 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 Stock News?

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

Jakie parametry przyjmuje API Yahoo Finance Stock News?

Wymagane: symbol (string). Opcjonalne: count (integer). Tabela Parameters oraz Playground na tej stronie zawierają wszystkie pola.

Co zwraca API Yahoo Finance Stock News?

Wynik JSON. Ten endpoint działa asynchronicznie, więc odpowiedź informuje, jak pobrać gotowy wynik.

Czy potrzebuję konta deweloperskiego Yahoo Finance lub klucza API?

Nie. Yahoo Finance Stock News 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.