Overview
The Economic Service provides comprehensive APIs for macroeconomic data from multiple authoritative sources including the Federal Reserve Economic Data (FRED), World Bank, U.S. Energy Information Administration (EIA), and Bank for International Settlements (BIS). Base Path:/api/economic/v1
GetFredSeries
Retrieves time series data from the Federal Reserve Economic Data. Endpoint:GET /api/economic/v1/get-fred-series
Request Parameters
string
required
FRED series ID (e.g., “GDP”, “UNRATE”, “CPIAUCSL”).
integer
Maximum number of observations to return. Defaults to 120.
Response
object
The FRED time series.
Example Request
Example Response
ListWorldBankIndicators
Retrieves development indicator data from the World Bank. Endpoint:GET /api/economic/v1/list-world-bank-indicators
Request Parameters
string
required
World Bank indicator code (e.g., “NY.GDP.MKTP.CD”).
string
Optional country filter (ISO 3166-1 alpha-2).
integer
Optional year filter. Defaults to latest available.
integer
Maximum items per page.
string
Cursor for next page.
Response
array
Country-level indicator data.
object
Pagination metadata.
GetEnergyPrices
Retrieves current energy commodity prices from EIA. Endpoint:GET /api/economic/v1/get-energy-prices
Request Parameters
array
Optional commodity filter. Empty returns all tracked commodities.
Response
array
The list of energy prices.
Example Response
GetMacroSignals
Computes 7 macro signals from 6 upstream sources with BUY/CASH verdict. Endpoint:GET /api/economic/v1/get-macro-signals
Request Parameters
No request parameters required.Response
string
ISO 8601 timestamp of computation.
string
Overall verdict: “BUY”, “CASH”, or “UNKNOWN”.
integer
Number of bullish signals.
integer
Total number of evaluated signals (excluding UNKNOWN).
object
All 7 macro signals.
object
Additional metadata (e.g., QQQ sparkline).
True when upstream data is unavailable (fallback result).
GetEnergyCapacity
Retrieves installed capacity data (solar, wind, coal) from EIA. Endpoint:GET /api/economic/v1/get-energy-capacity
Request Parameters
array
Energy source codes to query (e.g., “SUN”, “WND”, “COL”). Empty returns all tracked sources.
integer
Number of years of historical data. Default 20 if not set.
Response
array
Energy capacity time series.
GetBisPolicyRates
Retrieves central bank policy rates from BIS. Endpoint:GET /api/economic/v1/get-bis-policy-rates
Response
array
The list of policy rates by country.
GetBisExchangeRates
Retrieves effective exchange rates from BIS. Endpoint:GET /api/economic/v1/get-bis-exchange-rates
Response
array
The list of exchange rates by country.
GetBisCredit
Retrieves credit-to-GDP ratio data from BIS. Endpoint:GET /api/economic/v1/get-bis-credit
Response
array
The list of credit-to-GDP entries by country.
Data Sources
FRED
Federal Reserve Economic Data - 800,000+ time series from authoritative sources
World Bank
Development indicators for 200+ countries and regions
EIA
U.S. Energy Information Administration - energy commodity prices and capacity data
BIS
Bank for International Settlements - central bank data and financial statistics