US company and market news
financialdatasets.newsGet recent market news, optionally filtered to a US stock ticker
- Price
- $0.02/successPelo preço do provedor
- Success rate
- —Ainda não há dados da taxa de sucessoAinda não há dados da taxa de sucesso
- Latency p50
- ——
- Last verified
- 15 de set. de 2026Verified working
GEThttps://toolswitch.dev/v1/tools/financialdatasets.news?limit=1&ticker=AAPLPreviewTry onlineEm breveProvider docs ↗
- Uses platform quota
- Synchronous response
- Reads public data
Parâmetros
| Parâmetro | Tipo | Obrigatório | Descrição | Exemplo |
|---|---|---|---|---|
| Parâmetros de consulta | ||||
limit | inteiro | Opcional | default 5 | 1 |
cursor | string | Opcional | opaque cursor from the response next_page_url; when supplied, omit the original filters because the cursor preserves them | |
ticker | string | Opcional | US stock ticker; omit for broad market news | AAPL |
- Parâmetros de consulta
limitinteiroOpcionaldefault 5
Exemplo:
1cursorstringOpcionalopaque cursor from the response next_page_url; when supplied, omit the original filters because the cursor preserves them
tickerstringOpcionalUS stock ticker; omit for broad market news
Exemplo:
AAPL
Exemplos de código
Substitua $TOOLSWITCH_KEY pela chave criada no console.
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());Esta API de gateway está em prévia; a URL e a autenticação podem mudar. Os parâmetros do exemplo são dados de amostra. As chamadas são cobradas a $0.02/success, incluindo a taxa de serviço.