Skip to main content
search(query: string): Promise<ApiResponse>
Search for economic datasets.
query
string
required
Search query string

Example

const results = await client.econ.search('GDP');

dataset()

dataset(seriesId: string): Promise<ApiResponse>
Get data for a specific economic series.
seriesId
string
required
Economic series identifier

Example

const data = await client.econ.dataset('GDPC1');

calendar()

calendar(params?: { from?: string, to?: string, country?: string, minImportance?: number, currency?: string, category?: string }): Promise<ApiResponse>
Get economic calendar events.
params.from
string
Start date for calendar events
params.to
string
End date for calendar events
params.country
string
Filter by country code
params.minImportance
number
Minimum importance level (1-3)
params.currency
string
Filter by currency
params.category
string
Filter by event category

Example

const events = await client.econ.calendar({
  from: '2024-01-01',
  to: '2024-12-31',
  country: 'US',
  minImportance: 2
});