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
FRED series ID (e.g., “GDP”, “UNRATE”, “CPIAUCSL”).
Maximum number of observations to return. Defaults to 120.
Response
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
World Bank indicator code (e.g., “NY.GDP.MKTP.CD”).
Optional country filter (ISO 3166-1 alpha-2).
Optional year filter. Defaults to latest available.
Maximum items per page.
Cursor for next page.
Response
Country-level indicator data.
Pagination metadata.
GetEnergyPrices
Retrieves current energy commodity prices from EIA. Endpoint:GET /api/economic/v1/get-energy-prices
Request Parameters
Optional commodity filter. Empty returns all tracked commodities.
Response
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
ISO 8601 timestamp of computation.
Overall verdict: “BUY”, “CASH”, or “UNKNOWN”.
Number of bullish signals.
Total number of evaluated signals (excluding UNKNOWN).
All 7 macro signals.
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
Energy source codes to query (e.g., “SUN”, “WND”, “COL”). Empty returns all tracked sources.
Number of years of historical data. Default 20 if not set.
Response
Energy capacity time series.
GetBisPolicyRates
Retrieves central bank policy rates from BIS. Endpoint:GET /api/economic/v1/get-bis-policy-rates
Response
The list of policy rates by country.
GetBisExchangeRates
Retrieves effective exchange rates from BIS. Endpoint:GET /api/economic/v1/get-bis-exchange-rates
Response
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
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