Sand AISand AI MAGI-2MAGI-2 現已登上 SandBase:支援原生音訊的 1080p 影片立即試用

Market desk · Yahoo Finance

Yahoo Finance Quotes

Enter up to 20 tickers to get price, change, volume, market cap and market status for all of them in one call.

  • 每次執行 $0.00099
  • 即時資料
  • 不需要 Yahoo Finance 帳號
  • 包含原始 JSON

Market desk · Yahoo Finance

可篩選並匯出的表格

API 回傳的列資料已展平成欄位,並提供篩選功能。 每次執行也會回傳原始 API 回應與 JSON 匯出。

運作方式

  1. 01

    List up to 20 tickers

    Type 1 to 20 tickers into Tickers (comma separated), up to 120 characters, such as AAPL, MSFT, NVDA. Commas or spaces both separate symbols. If any entry is not a valid ticker, or there are more than 20, the whole run is refused with an error.

  2. 02

    Request all quotes in one call

    SandBase uppercases the tickers, joins them with commas and sends them as symbols to yahoo-finance/quote in a single request. The run is billed to your SandBase account, and the price is shown on the page before you press Get quotes.

  3. 03

    Compare the watchlist table

    The page builds one table with a row per ticker: symbol and name first, then price, percent change, volume, market cap and market status, up to 10 columns. Raw API response holds each quote with all its fields, so you can check any cell.

誰在使用

  • Investors

    Check a watchlist at once.

  • Analysts

    Export quotes for a sheet.

  • Writers

    Compare peers on the same day.

Yahoo Finance 的資料,透過 API 取得

此工具會呼叫一個 SandBase API。您可以在程式碼或 Agent 中使用您的 SandBase 金鑰呼叫同一個 API,按次計費($0.00099 標示價格)。

cURL

curl -X POST https://api.sandbase.ai/v1/api/yahoo-finance/quote \
  -H "Authorization: Bearer $SANDBASE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "symbols": "AAPL,MSFT,NVDA"
}'

常見問題

How many tickers can Yahoo Finance Quotes take?

Yahoo Finance Quotes takes up to 20 tickers per run, separated by commas or spaces.

Why does Yahoo Finance Quotes reject my list?

Yahoo Finance Quotes refuses the whole list when it has more than 20 entries or one entry is not ticker-shaped, such as a company name. Fix that entry and run again.

Does Yahoo Finance Quotes make a separate call for each ticker?

No. Yahoo Finance Quotes sends all tickers together in one call to yahoo-finance/quote.

Is Yahoo Finance Quotes investment advice?

No. Yahoo Finance Quotes passes on market data from the API for you to verify.

How is Yahoo Finance Quotes billed?

Yahoo Finance Quotes bills each yahoo-finance/quote call to your SandBase account. Check the price on this page or run sandbase inspect yahoo-finance/quote first. See https://www.sandbase.ai/pricing.

Can I get Yahoo Finance quotes from the yahoo-finance/quote API?

Yes, Yahoo Finance Quotes is a page over yahoo-finance/quote. Send POST /v1/api/yahoo-finance/quote with a SandBase API key; the request example on this page shows the body Yahoo Finance Quotes sends.