Search insider trades
valyu.stocks.insiders.searchFind reported US company insider transactions.
- Price
- $0.12/callプロバイダー原価
- Success rate
- —成功率データはまだありません成功率データはまだありません
- Latency p50
- ——
- Last verified
- —Not verified yet
POSThttps://toolswitch.dev/v1/tools/valyu.stocks.insiders.searchPreviewTry online近日公開Provider docs ↗
- Uses platform quota
- Synchronous response
- Reads public data
パラメータ
The selected Valyu sources are fixed for shared-key calls; use a Valyu own tool for arbitrary source mixes.
このツールにパラメータはありません。プロバイダのドキュメント ↗ を参照してください Provider docs
コード例
$TOOLSWITCH_KEY をコンソールで作成したキーに置き換えてください。
Preview
curl -X POST 'https://toolswitch.dev/v1/tools/valyu.stocks.insiders.search' \
-H "X-Toolswitch-Key: $TOOLSWITCH_KEY" \
-H "Content-Type: application/json" \
--data-raw '{"query":"Apple insider transactions","max_price":12,"search_type":"proprietary","max_num_results":1,"response_length":"short","included_sources":["valyu/valyu-insider-transactions-US"]}'import os
import json
import requests
response = requests.request(
"POST",
"https://toolswitch.dev/v1/tools/valyu.stocks.insiders.search",
headers={"X-Toolswitch-Key": os.environ["TOOLSWITCH_KEY"]},
json=json.loads("{\"query\":\"Apple insider transactions\",\"max_price\":12,\"search_type\":\"proprietary\",\"max_num_results\":1,\"response_length\":\"short\",\"included_sources\":[\"valyu/valyu-insider-transactions-US\"]}"),
)
response.raise_for_status()
print(response.text)const response = await fetch("https://toolswitch.dev/v1/tools/valyu.stocks.insiders.search", {
method: "POST",
headers: {
"X-Toolswitch-Key": process.env.TOOLSWITCH_KEY ?? "",
"Content-Type": "application/json",
},
body: JSON.stringify(JSON.parse("{\"query\":\"Apple insider transactions\",\"max_price\":12,\"search_type\":\"proprietary\",\"max_num_results\":1,\"response_length\":\"short\",\"included_sources\":[\"valyu/valyu-insider-transactions-US\"]}")),
});
if (!response.ok) throw new Error(`Request failed: ${response.status}`);
console.log(await response.text());このゲートウェイ API はプレビュー版です。URL や認証方式は変更される場合があります。 パラメータはサンプルデータです。 呼び出し料金は $0.12/call です。サービス料を含みます。