symbolstringwymagane
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.
Twój wynik pojawi się tutaj
Uzupełnij dane wejściowe, a następnie kliknij Uruchom.
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.
Zacznij tworzyć
Punkt końcowy API platformy z jednolitym uwierzytelnianiem i śledzeniem użycia.
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"
}'Ustaw klucz API SandBase w środowisku serwera. Żądania używają uwierzytelniania Bearer.
export SANDBASE_API_KEY="YOUR_API_KEY"Przechowuj klucz na serwerze. Nie ujawniaj go w kodzie przeglądarkowym.
symbolstringwymaganeMutual fund symbol (e.g. VFIAX).
Zapisany przykładowy response dla tego API; podczas wyświetlania nie jest wykonywane żadne żądanie na żywo.
Nie opublikowano zapisanego response. Uruchom API w Playground, aby sprawdzić jego odpowiedź.
Odkryj więcej
| API | Cena | Odpowiedź |
|---|---|---|
Nasdaq Mutual Fund QuoteTo API Nasdaq | $0.01 za wywołanie | Asynchroniczny JSON |
Nasdaq | $0.01 za wywołanie | Asynchroniczny JSON |
Nasdaq | $0.01 za wywołanie | Asynchroniczny JSON |
Nasdaq | $0.01 za wywołanie | Asynchroniczny JSON |
Nasdaq | $0.01 za wywołanie | Asynchroniczny JSON |
Nasdaq | $0.01 za wywołanie | Asynchroniczny JSON |
Pytania
Wyślij żądanie POST do https://api.sandbase.ai/v1/api/nasdaq/mutual-fund-quote z kluczem API SandBase w nagłówku Authorization (Bearer) oraz parametrami w treści JSON. Możesz też wypróbować je w Playground na tej stronie bez pisania kodu.
$0.01 za wywołanie, rozliczane z salda SandBase. Płacisz tylko za wykonane wywołania; nie ma subskrypcji.
Wymagane: symbol (string). Tabela Parameters oraz Playground na tej stronie zawierają wszystkie pola.
Wynik JSON. Ten endpoint działa asynchronicznie, więc odpowiedź informuje, jak pobrać gotowy wynik. README na tej stronie zawiera przykładową odpowiedź.
Nie. Nasdaq Mutual Fund Quote działa przez SandBase, więc jeden klucz API SandBase obejmuje ten endpoint i każde inne API oraz model w katalogu. Nie musisz osobno ubiegać się o dostęp do API Nasdaq.