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.
出力はここに表示されます
入力を完了してから[実行]をクリックしてください。
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.
開発を始める
統一認証と使用状況の追跡を備えたプラットフォーム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キーをサーバー環境に設定してください。リクエストはBearer認証を使用します。
export SANDBASE_API_KEY="YOUR_API_KEY"キーはサーバー側で管理してください。ブラウザコードに公開しないでください。
symbolstring必須Mutual fund symbol (e.g. VFIAX).
このAPIの保存済みサンプルレスポンスです。表示時にライブリクエストは行われません。
保存済みレスポンスはまだ公開されていません。PlaygroundでAPIを実行し、レスポンスを確認してください。
さらに探索
| API | 価格 | レスポンス |
|---|---|---|
Nasdaq Mutual Fund Quoteこの API Nasdaq | $0.01 / 回 | 非同期 JSON |
Nasdaq | $0.01 / 回 | 非同期 JSON |
Nasdaq | $0.01 / 回 | 非同期 JSON |
Nasdaq | $0.01 / 回 | 非同期 JSON |
Nasdaq | $0.01 / 回 | 非同期 JSON |
Nasdaq | $0.01 / 回 | 非同期 JSON |
質問
Authorization ヘッダー(Bearer)に SandBase API key を指定し、パラメータを JSON ボディで送信して https://api.sandbase.ai/v1/api/nasdaq/mutual-fund-quote に POST リクエストを送ります。このページの Playground で、コードを書かずに試すこともできます。
1回あたり $0.01、SandBase 残高から課金されます。課金対象はご利用分のみで、サブスクリプションはありません。
必須: symbol (string)。 このページの Parameters テーブルと Playground に、すべてのフィールドが一覧表示されています。
JSON 結果です。このエンドポイントは非同期で実行されるため、レスポンスには完了した結果の取得方法が含まれます。 このページの README にサンプルレスポンスがあります。
いいえ。Nasdaq Mutual Fund Quote は SandBase 経由で動作するため、SandBase の API key 1つでこのエンドポイントと、カタログ内の他のすべての API とモデルを利用できます。Nasdaq の API アクセスを別途申請する必要はありません。