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

Nasdaq Stock Historical Quotes

เอกสาร API
https://api.sandbase.ai/v1/api/nasdaq/stock-historical-quotes

Historical OHLCV price data for a symbol. Without explicit date range, defaults to one year ending today.

ราคา
$0.01USD / คำขอ
Method
POST
การตอบกลับ
Async JSON
พารามิเตอร์
1 จำเป็น · 4 ไม่บังคับ

Playground

อินพุต
Stock symbol (e.g. AAPL).
Number of records to return. ช่วง: -9007199254740991 ถึง 9007199254740991.
End date in YYYY-MM-DD format. Omitting defaults to today.
Start date in YYYY-MM-DD format. Omitting defaults to one year ago.
Asset class: stocks, etf, mutualfunds, crypto.
เอาต์พุตพร้อมใช้งาน

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

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

API README

Nasdaq Stock Historical Quotes

Historical OHLCV price data for a symbol. Without explicit date range, defaults to one year ending today.

Request

curl -X POST "https://api.sandbase.ai/v1/api/nasdaq/stock-historical-quotes" \
  -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 symbol (e.g. AAPL).
asset_classstringNoAsset class: stocks, etf, mutualfunds, crypto.
from_datestringNoStart date in YYYY-MM-DD format. Omitting defaults to one year ago.
limitintegerNoNumber of records to return.
to_datestringNoEnd date in YYYY-MM-DD format. Omitting defaults to today.

Pricing

Flat price per call. Failed calls are not charged.

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

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

APIs ทั้งหมด
APIราคาการตอบกลับ
Nasdaq$0.01 ต่อการเรียกAsync JSON
Nasdaq$0.01 ต่อการเรียกAsync JSON
Nasdaq$0.01 ต่อการเรียกAsync JSON
Nasdaq$0.01 ต่อการเรียกAsync JSON
Nasdaq$0.01 ต่อการเรียกAsync JSON
Nasdaq$0.01 ต่อการเรียกAsync JSON

คำถาม

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

ฉันจะใช้ Nasdaq Stock Historical Quotes API ได้อย่างไร?

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

Nasdaq Stock Historical Quotes API ราคาเท่าไร?

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

Nasdaq Stock Historical Quotes API รับพารามิเตอร์อะไรบ้าง?

ที่ต้องระบุ: symbol (string). ตัวเลือก: limit (integer), to_date (string), from_date (string) และ asset_class (string). ตาราง Parameters และ Playground ในหน้านี้แสดงทุกฟิลด์

Nasdaq Stock Historical Quotes API ส่งคืนอะไร?

ผลลัพธ์ JSON จุดเชื่อมต่อนี้ทำงานแบบอะซิงโครนัส ดังนั้นการตอบกลับจะบอกวิธีดึงผลลัพธ์ที่เสร็จแล้ว

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

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