Sand AISand AI MAGI-2ตอนนี้ MAGI-2 อยู่บน SandBase แล้ว: วิดีโอ 1080p พร้อมเสียงในตัวลองใช้เลย

Yahoo Finance Closing Price

เอกสาร 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.

ราคา
เริ่มต้นที่ $0.00099USD / คำขอ
Method
POST
การตอบกลับ
JSON
พารามิเตอร์
1 จำเป็น · 0 ไม่บังคับ

Playground

อินพุต
The ticker symbol to look up.
เอาต์พุตพร้อมใช้งาน

เอาต์พุตของคุณจะแสดงที่นี่

กรอกอินพุตให้ครบ แล้วคลิก Run

API README

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.

สำรวจเพิ่มเติม

APIs ที่เกี่ยวข้อง

APIs ทั้งหมด
APIราคาการตอบกลับ
Yahoo Financeเริ่มต้นที่ $0.00099 ต่อครั้งJSON
Yahoo Finance$0.05 ต่อการเรียกAsync JSON
Yahoo Finance$0.05 ต่อการเรียกAsync JSON
Yahoo Financeเริ่มต้นที่ $0.00099 ต่อครั้งJSON
Yahoo Finance$0.05 ต่อการเรียกAsync JSON
Yahoo Finance$0.05 ต่อการเรียกAsync JSON

คำถาม

คำถามที่พบบ่อย

ฉันจะใช้ Yahoo Finance Closing Price API ได้อย่างไร?

ส่งคำขอ POST ไปที่ https://api.sandbase.ai/v1/api/yahoo-finance/closing-price โดยใส่ SandBase API key ของคุณใน Authorization header (Bearer) และส่งพารามิเตอร์เป็น JSON body คุณยังสามารถลองใช้ได้ใน Playground บนหน้านี้โดยไม่ต้องเขียนโค้ด

Yahoo Finance Closing Price API ราคาเท่าไร?

เริ่มต้นที่ $0.00099 ต่อครั้ง คิดจากยอดคงเหลือ SandBase ของคุณ คุณจะถูกเรียกเก็บเฉพาะคำขอที่คุณส่งเท่านั้น ไม่มีค่าสมาชิกรายเดือน

Yahoo Finance Closing Price API รับพารามิเตอร์อะไรบ้าง?

ที่ต้องระบุ: ticker (string). ตาราง Parameters และ Playground ในหน้านี้แสดงทุกฟิลด์

Yahoo Finance Closing Price API ส่งคืนอะไร?

การตอบกลับ JSON ที่ส่งกลับในคำขอ HTTP เดียวกัน (แบบซิงโครนัส)

ฉันจำเป็นต้องมีบัญชีนักพัฒนาหรือ API key ของ Yahoo Finance ไหม?

ไม่จำเป็น Yahoo Finance Closing Price ทำงานผ่าน SandBase ดังนั้น SandBase API key เดียวครอบคลุม endpoint นี้และทุก API กับโมเดลอื่นในแค็ตตาล็อก คุณไม่ต้องสมัครขอสิทธิ์เข้าถึง Yahoo Finance API แยกต่างหาก