Sand AISand AI MAGI-2MAGI-2 kini tersedia di SandBase: video 1080p dengan audio nativeCoba sekarang

Yahoo Finance Closing Price

Dokumentasi 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.

Harga
Dari $0.00099USD / panggilan
Metode
POST
Respons
JSON
Parameter
1 wajib · 0 opsional

Playground

Input
The ticker symbol to look up.
OutputSiap

Output Anda akan muncul di sini

Lengkapi input, lalu klik Run.

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.

Jelajahi lebih lanjut

API Terkait

Semua APIs
APIHargaRespons
Yahoo FinanceDari $0.00099 per panggilanJSON
Yahoo Finance$0.05 per panggilanJSON Asinkron
Yahoo Finance$0.05 per panggilanJSON Asinkron
Yahoo FinanceDari $0.00099 per panggilanJSON
Yahoo Finance$0.05 per panggilanJSON Asinkron
Yahoo Finance$0.05 per panggilanJSON Asinkron

Pertanyaan

FAQ

Bagaimana cara menggunakan API Yahoo Finance Closing Price?

Kirim permintaan POST ke https://api.sandbase.ai/v1/api/yahoo-finance/closing-price dengan kunci API SandBase Anda di header Authorization (Bearer) dan parameter sebagai body JSON. Anda juga dapat mencobanya di Playground di halaman ini tanpa menulis kode.

Berapa biaya API Yahoo Finance Closing Price?

Mulai dari $0.00099 per panggilan, ditagihkan dari saldo SandBase Anda. Anda hanya dikenai biaya untuk panggilan yang Anda lakukan; tidak ada langganan.

Parameter apa yang diterima API Yahoo Finance Closing Price?

Wajib: ticker (string). Tabel Parameters dan Playground di halaman ini mencantumkan setiap field.

Apa yang dikembalikan API Yahoo Finance Closing Price?

Respons JSON yang dikembalikan dalam permintaan HTTP yang sama (sinkron).

Apakah saya memerlukan akun developer atau kunci API Yahoo Finance?

Tidak. Yahoo Finance Closing Price berjalan melalui SandBase, jadi satu kunci API SandBase mencakup endpoint ini dan setiap API serta model lain di katalog. Anda tidak perlu mendaftar akses API Yahoo Finance secara terpisah.