symbolstringbắt buộc
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.
Đầu ra của bạn sẽ xuất hiện ở đây
Hoàn tất đầu vào, rồi nhấp 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.
Bắt đầu xây dựng
Endpoint API của nền tảng với xác thực và theo dõi mức sử dụng thống nhất.
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"
}'Đặt SandBase API key của bạn trong môi trường máy chủ. Các request sử dụng xác thực Bearer.
export SANDBASE_API_KEY="YOUR_API_KEY"Giữ key của bạn trên máy chủ. Không hiển thị trong mã chạy trên trình duyệt.
symbolstringbắt buộcMutual fund symbol (e.g. VFIAX).
Đây là phản hồi ví dụ đã lưu cho API này; không có request thực nào được gửi khi xem mục này.
Chưa có phản hồi đã lưu nào được công bố. Chạy API trong Playground để xem phản hồi.
Khám phá thêm
| API | Giá | Phản hồi |
|---|---|---|
Nasdaq Mutual Fund QuoteAPI này Nasdaq | $0.01 mỗi lần gọi | JSON bất đồng bộ |
Nasdaq | $0.01 mỗi lần gọi | JSON bất đồng bộ |
Nasdaq | $0.01 mỗi lần gọi | JSON bất đồng bộ |
Nasdaq | $0.01 mỗi lần gọi | JSON bất đồng bộ |
Nasdaq | $0.01 mỗi lần gọi | JSON bất đồng bộ |
Nasdaq | $0.01 mỗi lần gọi | JSON bất đồng bộ |
Câu hỏi
Gửi yêu cầu POST đến https://api.sandbase.ai/v1/api/nasdaq/mutual-fund-quote với khóa API SandBase của bạn trong tiêu đề Authorization (Bearer) và các tham số trong phần thân JSON. Bạn cũng có thể thử trực tiếp trong Playground trên trang này mà không cần viết code.
$0.01 mỗi lần gọi, được tính từ số dư SandBase của bạn. Bạn chỉ bị tính phí cho các lần gọi bạn thực hiện; không có gói đăng ký.
Bắt buộc: symbol (string). Bảng Parameters và Playground trên trang này liệt kê mọi trường.
Kết quả JSON. Endpoint này chạy bất đồng bộ, nên phản hồi sẽ cho bạn biết cách lấy kết quả hoàn tất. README trên trang này có ví dụ phản hồi.
Không. Nasdaq Mutual Fund Quote chạy thông qua SandBase, nên chỉ cần một API key SandBase là đủ cho endpoint này và mọi API cùng model khác trong danh mục. Bạn không cần đăng ký riêng để có quyền truy cập API của Nasdaq.