US company and market news
financialdatasets.newsGet recent market news, optionally filtered to a US stock ticker
- Price
- $0.02/successプロバイダー原価
- Success rate
- —成功率データはまだありません成功率データはまだありません
- Latency p50
- ——
- Last verified
- 2026/09/15Verified working
GEThttps://toolswitch.dev/v1/tools/financialdatasets.news?limit=1&ticker=AAPLPreviewTry online近日公開Provider docs ↗
- Uses platform quota
- Synchronous response
- Reads public data
パラメータ
| パラメータ | 型 | 必須 | 説明 | 例 |
|---|---|---|---|---|
| クエリパラメータ | ||||
limit | 整数 | 任意 | default 5 | 1 |
cursor | 文字列 | 任意 | opaque cursor from the response next_page_url; when supplied, omit the original filters because the cursor preserves them | |
ticker | 文字列 | 任意 | US stock ticker; omit for broad market news | AAPL |
- クエリパラメータ
limit整数任意default 5
例:
1cursor文字列任意opaque cursor from the response next_page_url; when supplied, omit the original filters because the cursor preserves them
ticker文字列任意US stock ticker; omit for broad market news
例:
AAPL
コード例
$TOOLSWITCH_KEY をコンソールで作成したキーに置き換えてください。
Preview
curl -X GET 'https://toolswitch.dev/v1/tools/financialdatasets.news?limit=1&ticker=AAPL' \
-H "X-Toolswitch-Key: $TOOLSWITCH_KEY"import os
import requests
response = requests.request(
"GET",
"https://toolswitch.dev/v1/tools/financialdatasets.news?limit=1&ticker=AAPL",
headers={"X-Toolswitch-Key": os.environ["TOOLSWITCH_KEY"]},
)
response.raise_for_status()
print(response.text)const response = await fetch("https://toolswitch.dev/v1/tools/financialdatasets.news?limit=1&ticker=AAPL", {
method: "GET",
headers: {
"X-Toolswitch-Key": process.env.TOOLSWITCH_KEY ?? "",
},
});
if (!response.ok) throw new Error(`Request failed: ${response.status}`);
console.log(await response.text());このゲートウェイ API はプレビュー版です。URL や認証方式は変更される場合があります。 パラメータはサンプルデータです。 呼び出し料金は $0.02/success です。サービス料を含みます。