Documentation Index
Fetch the complete documentation index at: https://finance.dev/llms.txt
Use this file to discover all available pages before exploring further.
Overview
Get financial news, economic events, earnings calendars, and historical economic indicators.
News API
getNews(params)
// All news
const news = await client.news.getNews({ limit: 10 });
// Symbol-specific
const aaplNews = await client.news.getNews({ symbol: 'AAPL', limit: 5 });
// Category-specific
const techNews = await client.news.getNews({ category: 'technology', limit: 10 });
news.forEach(article => {
console.log(article.headline);
console.log(` Source: ${article.source}`);
});
Calendars API
getEconomicsCalendar(date)
const events = await client.calendars.getEconomicsCalendar('2025-01-15');
getHistoricalData(symbol)
const data = await client.calendars.getHistoricalData('GDP');
getEarningsCalendar(fromDate, toDate)
const earnings = await client.calendars.getEarningsCalendar('2025-01-15', '2025-01-20');