symbolstringจำเป็น
Mutual fund symbol (e.g. VFIAX).
https://api.sandbase.ai/v1/api/nasdaq/mutual-fund-quoteQuote and details for a mutual fund including NAV and daily change. Mutual funds show isRealTime=false and have no bid/ask/volume data.
เอาต์พุตของคุณจะแสดงที่นี่
กรอกอินพุตให้ครบ แล้วคลิก Run
Returns the current quote and basic details for one mutual fund listed on Nasdaq, including the last price, currency and fund type. It needs a fund ticker in symbol, such as VFIAX.
deltaIndicator.curl -X POST "https://api.sandbase.ai/v1/api/nasdaq/mutual-fund-quote" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{"symbol": "VFIAX"}'
The result is returned in outputs[0].data.
| Name | Type | Required | Description |
|---|---|---|---|
symbol | string | Yes | Mutual fund symbol (e.g. VFIAX). |
Real response for the request above, trimmed: lists keep their first item and long strings are cut.
{
"data": {
"data": {
"assetClass": "MUTUALFUNDS",
"companyName": "Vanguard 500 Index Fd Admiral Shs",
"exchange": "Nasdaq Fund Network",
"isHeld": false,
"isNasdaq100": false,
"isNasdaqListed": false,
"keyStats": null,
"marketStatus": null,
"notifications": null,
"primaryData": {
"askPrice": "",
"askSize": "",
"bidPrice": "",
"bidSize": "",
"currency": "USD",
"deltaIndicator": "down",
"isRealTime": false,
"lastSalePrice": "$699.87"
},
"secondaryData": null,
"stockType": "Managed Fund"
},
"message": null,
"status": {
"bCodeMessage": null,
"developerMessage": null,
"rCode": 200
}
},
"status": "success"
}
| Field | Meaning |
|---|---|
data.data.symbol | The fund ticker that was requested, for example VFIAX. |
data.data.companyName | Full name of the fund, for example Vanguard 500 Index Fd Admiral Shs. |
data.data.assetClass / data.data.stockType | Asset class (MUTUALFUNDS) and fund type (Managed Fund). |
data.data.exchange | Where the fund is listed. Mutual funds show Nasdaq Fund Network. |
data.data.primaryData.lastSalePrice | Latest price of the fund as a formatted string with a dollar sign, for example $699.87. |
data.data.primaryData.deltaIndicator | Direction of the latest change, such as down. |
data.data.primaryData.currency | Currency of the price, for example USD. |
data.data.primaryData.isRealTime | Whether the price is real time. It is false for mutual funds. |
data.data.primaryData.askPrice / bidPrice / askSize / bidSize | Bid and ask values. They are empty strings for mutual funds. |
data.status.rCode | Status code of the quote lookup. 200 means the lookup worked. |
lastSalePrice is a string with a $ sign. Strip the symbol before you do math.keyStats, marketStatus, notifications and secondaryData are null in this response.$0.01 per successful call. Failed calls are not charged. It is included in the daily free quota of each organization.
เริ่มสร้าง
เอ็นด์พอยต์ของ Platform API ที่มีการยืนยันตัวตนและการติดตามการใช้งานแบบรวมศูนย์
curl -X POST "https://api.sandbase.ai/v1/api/nasdaq/mutual-fund-quote" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"symbol": "VFIAX"
}'ตั้งค่า SandBase API key ของคุณในสภาพแวดล้อมฝั่งเซิร์ฟเวอร์ คำขอจะใช้การยืนยันตัวตนแบบ Bearer
export SANDBASE_API_KEY="YOUR_API_KEY"เก็บ key ไว้บนเซิร์ฟเวอร์ อย่าเปิดเผยในโค้ดฝั่งเบราว์เซอร์
symbolstringจำเป็นMutual fund symbol (e.g. VFIAX).
บันทึกตัวอย่างการตอบกลับสำหรับ API นี้; จะไม่มีการส่งคำขอจริงเมื่อเปิดดู
ยังไม่มีการเผยแพร่การตอบกลับที่บันทึกไว้ ให้รัน API ใน Playground เพื่อดูการตอบกลับ
สำรวจเพิ่มเติม
| API | ราคา | การตอบกลับ |
|---|---|---|
Nasdaq Mutual Fund QuoteAPI นี้ 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 |
คำถาม
ส่งคำขอ POST ไปที่ https://api.sandbase.ai/v1/api/nasdaq/mutual-fund-quote โดยใส่ SandBase API key ของคุณใน Authorization header (Bearer) และส่งพารามิเตอร์เป็น JSON body คุณยังสามารถลองใช้ได้ใน Playground บนหน้านี้โดยไม่ต้องเขียนโค้ด
$0.01 ต่อครั้ง คิดจากยอดคงเหลือ SandBase ของคุณ คุณจะถูกเรียกเก็บเฉพาะคำขอที่คุณส่งเท่านั้น ไม่มีค่าสมาชิกรายเดือน
ที่ต้องระบุ: symbol (string). ตาราง Parameters และ Playground ในหน้านี้แสดงทุกฟิลด์
ผลลัพธ์ JSON จุดเชื่อมต่อนี้ทำงานแบบอะซิงโครนัส ดังนั้นการตอบกลับจะบอกวิธีดึงผลลัพธ์ที่เสร็จแล้ว README บนหน้านี้มีตัวอย่างการตอบกลับ
ไม่จำเป็น Nasdaq Mutual Fund Quote ทำงานผ่าน SandBase ดังนั้น SandBase API key เดียวครอบคลุม endpoint นี้และทุก API กับโมเดลอื่นในแค็ตตาล็อก คุณไม่ต้องสมัครขอสิทธิ์เข้าถึง Nasdaq API แยกต่างหาก