Global Macro & Central Bank Policy API (IMF + BIS + ECB) avatar

Global Macro & Central Bank Policy API (IMF + BIS + ECB)

Pricing

from $5.00 / 1,000 macroeconomic series

Go to Apify Store
Global Macro & Central Bank Policy API (IMF + BIS + ECB)

Global Macro & Central Bank Policy API (IMF + BIS + ECB)

Unified LLM-ready macroeconomic & central bank policy API combining IMF WEO GDP/CPI/debt forecasts, BIS central bank policy rates, and ECB Eurozone rates/FX via pure keyless JSON REST — zero proxies, MCP-ready.

Pricing

from $5.00 / 1,000 macroeconomic series

Rating

0.0

(0)

Developer

RungLab

RungLab

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

a day ago

Last modified

Categories

Features

Limited permissions

Share

Unified, LLM-ready macroeconomic and central bank policy time-series API combining IMF World Economic Outlook (DataMapper API v1), BIS Central Bank Policy Rates (SDMX API v2), and ECB Data Portal (Eurozone Key Policy Interest Rates & Monthly FX) into one clean, normalized JSON schema.

Built for zero-proxy, keyless pure-HTTP execution at 256 MB RAM and native Apify MCP (Model Context Protocol) workflows — designed for quant researchers, macro analysts, corporate treasury/FX teams, and autonomous AI financial research agents.


Why Use This Actor?

  • Three Official Institutional APIs in One Normalized Schema: Stop wrestling with incompatible JSON trees, cryptic SDMX dimension keys, ISO-3 vs. ISO-2 country codes, and Eurozone member mismatches across the IMF, BIS, and ECB. Every series ships in one uniform camelCase format with pre-computed latestValue, previousValue, periodDelta, and yoyDelta.
  • 100% Live, Keyless Public REST Endpoints:
    • IMF World Economic Outlook (imf_weo): Official IMF DataMapper API v1 (imf.org/external/datamapper/api/v1/) covering 225+ economies and multi-year official forecasts through 2031 (Real GDP growth NGDP_RPCH, CPI inflation PCPIPCH, General government gross debt % GDP GGXWDG_NGDP, unemployment LUR, current account BCA_NGDPD, and any IMF DataMapper indicator code).
    • BIS Central Bank Policy Rates (bis_policy_rates): Official Bank for International Settlements SDMX API v2 (stats.bis.org/api/v2/data/dataflow/BIS/WS_CBPOL/1.0/) covering 38 major central banks (Fed, PBOC, ECB, BoJ, BoE, RBI, BCB, SNB, RBA, BoC, BoK, CBRT, and more) with official central bank attribution and compilation methodology notes.
    • ECB Eurozone Policy Rates & FX (ecb_rates): Official European Central Bank Data Portal (data-api.ecb.europa.eu/service/data/) delivering Euro area key policy rates (Deposit Facility Rate DFR, Main Refinancing Operations MRR_FR, Marginal Lending Facility MLFR) plus monthly EUR reference exchange rates across 29 global currencies.
  • Automatic Cross-Institution Country Mapping: Pass ISO-3 ("USA", "CHN", "DEU", "JPN", "GBR") or ISO-2 ("US", "CN", "DE", "JP", "GB") codes freely. Eurozone member countries (DEU, FRA, ITA, ESP, etc.) automatically resolve to "XM" (Euro area) in BIS policy rates and to Eurozone policy rates in ECB, while non-EUR economies automatically resolve to their national currency in ECB reference FX.
  • Zero-Config Instant Start: Click Start with default inputs to immediately fetch 27 live normalized time series across USA, China, Germany/Eurozone, Japan, and the UK in ~2 seconds.
  • Zero Proxies, Zero Headless Browsers: Pure async httpx runs cleanly on 256 MB RAM with minimal compute cost.
  • MCP & AI Finance Agent Ready: Enable compactMode: true to strip nulls, omit verbose metadata, and cap inline observations to the latest 12 periods for token-efficient Claude, Cursor, LangGraph, CrewAI, or n8n tool calls via mcp.apify.com.

Input Parameters

ParameterTypeDefaultDescription
sourcesarray<string>["imf_weo", "bis_policy_rates", "ecb_rates"]Any combination of imf_weo, bis_policy_rates, and ecb_rates.
countriesarray<string>["USA", "CHN", "DEU", "JPN", "GBR"]ISO-3 (USA, CHN, IND, BRA) or ISO-2 (US, CN, IN, BR, XM) economy codes. Automatically mapped across IMF, BIS, and ECB.
indicatorsarray<string>["NGDP_RPCH", "PCPIPCH", "GGXWDG_NGDP"]IMF DataMapper indicator codes (e.g., NGDP_RPCH, PCPIPCH, GGXWDG_NGDP, LUR, BCA_NGDPD, NGDPD, NGDPDPC).
startYearinteger2020First calendar year (inclusive) for time-series observations (1950–2035).
endYearinteger2027Last calendar year (inclusive) for time-series observations (1950–2035; IMF WEO forecasts extend to 2031).
compactModebooleanfalseStreamlined MCP/LLM output omitting null fields, nested details, and keeping only the latest 12 observations per series.
timeoutSecondsinteger20Per-request HTTP timeout in seconds (5–120).

Copy-Paste Input: Default G5 Macro & Central Bank Snapshot

{
"sources": ["imf_weo", "bis_policy_rates", "ecb_rates"],
"countries": ["USA", "CHN", "DEU", "JPN", "GBR"],
"indicators": ["NGDP_RPCH", "PCPIPCH", "GGXWDG_NGDP"],
"startYear": 2020,
"endYear": 2027,
"compactMode": false
}

Copy-Paste Input: Emerging Markets & G10 Central Banks (Compact MCP Mode)

{
"sources": ["imf_weo", "bis_policy_rates", "ecb_rates"],
"countries": ["IND", "BRA", "MEX", "KOR", "IDN", "ZAF", "TUR"],
"indicators": ["NGDP_RPCH", "PCPIPCH", "GGXWDG_NGDP", "BCA_NGDPD"],
"startYear": 2022,
"endYear": 2028,
"compactMode": true
}

Unified Output Schema

Every pushed dataset item conforms to one standardized cross-source schema:

{
"seriesId": "bis-cbpol-us",
"source": "bis_policy_rates",
"institution": "US Federal Reserve System (via BIS)",
"countryIso3": "USA",
"countryIso2": "US",
"countryName": "United States",
"indicatorCode": "CBPOL_M",
"indicatorName": "Central bank policy rates - United States - Monthly - End of period",
"unit": "Percent per annum",
"frequency": "monthly",
"latestPeriod": "2026-10",
"latestValue": 3.625,
"previousPeriod": "2026-09",
"previousValue": 3.625,
"periodDelta": 0.0,
"yoyDelta": -0.5,
"observations": [
{ "period": "2025-10", "value": 4.125 },
{ "period": "2026-09", "value": 3.625 },
{ "period": "2026-10", "value": 3.625 }
],
"sourceUrl": "https://stats.bis.org/api/v2/data/dataflow/BIS/WS_CBPOL/1.0/M.US?startPeriod=2020&endPeriod=2027&format=sdmx-json",
"fetchedAt": "2026-11-25T12:30:00Z",
"details": {
"dataflow": "BIS:WS_CBPOL(1.0)",
"bisRefArea": "US",
"centralBank": "US Federal Reserve System",
"methodology": "From 19 Dec 1985 onwards: mid-point of the Federal Reserve target rate; from 1 Jul 1954 to 18 Dec 1985: US Fed Funds effective rate."
}
}

Run diagnostics (per-source series counts, observation counts, normalized country codes, and execution status) are also saved in the default Key-Value Store under key RUN_SUMMARY.


SDK Examples

Python (apify-client)

from apify_client import ApifyClient
client = ApifyClient("YOUR_APIFY_TOKEN")
run = client.actor("YOUR_USERNAME/global-macro-central-bank-api").call(
run_input={
"sources": ["imf_weo", "bis_policy_rates", "ecb_rates"],
"countries": ["USA", "CHN", "DEU", "JPN", "GBR"],
"indicators": ["NGDP_RPCH", "PCPIPCH", "GGXWDG_NGDP"],
"startYear": 2022,
"endYear": 2027,
"compactMode": False,
}
)
for series in client.dataset(run["defaultDatasetId"]).iterate_items():
print(
f"[{series['source']}] {series['countryIso3']} {series['indicatorCode']}: "
f"{series['latestValue']} ({series['unit']}) as of {series['latestPeriod']} "
f"| YoY delta: {series['yoyDelta']}"
)

Node.js / TypeScript (apify-client)

import { ApifyClient } from "apify-client";
const client = new ApifyClient({ token: process.env.APIFY_TOKEN });
const run = await client.actor("YOUR_USERNAME/global-macro-central-bank-api").call({
sources: ["imf_weo", "bis_policy_rates", "ecb_rates"],
countries: ["USA", "CHN", "DEU", "JPN", "GBR"],
indicators: ["NGDP_RPCH", "PCPIPCH", "GGXWDG_NGDP"],
startYear: 2022,
endYear: 2027,
compactMode: true,
});
const { items } = await client.dataset(run.defaultDatasetId).listItems();
console.table(
items.map((s) => ({
source: s.source,
country: s.countryIso3,
indicator: s.indicatorCode,
period: s.latestPeriod,
latest: s.latestValue,
yoyDelta: s.yoyDelta,
}))
);

Connect to AI Finance Agents via Apify MCP

Attach this Actor directly to Claude Desktop, Cursor, Windsurf, VS Code Copilot, or LangGraph using Apify's official MCP server (https://mcp.apify.com):

{
"mcpServers": {
"apify-global-macro": {
"url": "https://mcp.apify.com/?actors=YOUR_USERNAME/global-macro-central-bank-api",
"headers": {
"Authorization": "Bearer YOUR_APIFY_TOKEN"
}
}
}
}

Example prompt for your AI research agent:

"Use the Global Macro & Central Bank Policy API with compactMode: true to compare 2025–2027 IMF GDP growth and CPI inflation forecasts against current BIS/ECB policy interest rates for USA, China, Germany, Japan, and the UK, highlighting real policy rate spreads."


Pay-Per-Event (PPE) Pricing

This Actor uses transparent Pay-Per-Event billing — you only pay for the exact macroeconomic series delivered:

  • actor-start: Charged once per run ($0.01).
  • macro-series: Charged once per normalized time-series record pushed to the dataset ($0.005).

Runs automatically honor your configured Apify max-charge limit (event_charge_limit_reached) and halt cleanly without losing already-pushed series.