Skip to main content

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

series_id
string
required
FRED series ID (e.g., “GDP”, “UNRATE”, “CPIAUCSL”).
limit
integer
Maximum number of observations to return. Defaults to 120.

Response

series
object
The FRED time series.

Example Request

curl -X GET "https://api.worldmonitor.com/api/economic/v1/get-fred-series?series_id=GDP&limit=20"

Example Response

{
  "series": {
    "series_id": "GDP",
    "title": "Gross Domestic Product",
    "units": "Billions of Dollars",
    "frequency": "Quarterly",
    "observations": [
      {"date": "2023-Q1", "value": 26470.3},
      {"date": "2023-Q2", "value": 26812.5},
      {"date": "2023-Q3", "value": 27063.0},
      {"date": "2023-Q4", "value": 27395.6}
    ]
  }
}

ListWorldBankIndicators

Retrieves development indicator data from the World Bank. Endpoint: GET /api/economic/v1/list-world-bank-indicators

Request Parameters

indicator_code
string
required
World Bank indicator code (e.g., “NY.GDP.MKTP.CD”).
country_code
string
Optional country filter (ISO 3166-1 alpha-2).
year
integer
Optional year filter. Defaults to latest available.
page_size
integer
Maximum items per page.
cursor
string
Cursor for next page.

Response

data
array
Country-level indicator data.
pagination
object
Pagination metadata.

GetEnergyPrices

Retrieves current energy commodity prices from EIA. Endpoint: GET /api/economic/v1/get-energy-prices

Request Parameters

commodities
array
Optional commodity filter. Empty returns all tracked commodities.

Response

prices
array
The list of energy prices.

Example Response

{
  "prices": [
    {
      "commodity": "WTI",
      "name": "WTI Crude Oil",
      "price": 78.52,
      "unit": "$/barrel",
      "change": 2.3,
      "price_at": 1705334400000
    },
    {
      "commodity": "BRENT",
      "name": "Brent Crude Oil",
      "price": 83.18,
      "unit": "$/barrel",
      "change": 1.8,
      "price_at": 1705334400000
    },
    {
      "commodity": "NATGAS",
      "name": "Henry Hub Natural Gas",
      "price": 2.89,
      "unit": "$/MMBtu",
      "change": -3.2,
      "price_at": 1705334400000
    }
  ]
}

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

timestamp
string
ISO 8601 timestamp of computation.
verdict
string
Overall verdict: “BUY”, “CASH”, or “UNKNOWN”.
bullish_count
integer
Number of bullish signals.
total_count
integer
Total number of evaluated signals (excluding UNKNOWN).
signals
object
All 7 macro signals.
meta
object
Additional metadata (e.g., QQQ sparkline).
unavailable
boolean
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_sources
array
Energy source codes to query (e.g., “SUN”, “WND”, “COL”). Empty returns all tracked sources.
years
integer
Number of years of historical data. Default 20 if not set.

Response

series
array
Energy capacity time series.

GetBisPolicyRates

Retrieves central bank policy rates from BIS. Endpoint: GET /api/economic/v1/get-bis-policy-rates

Response

rates
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

rates
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

entries
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

Build docs developers (and LLMs) love