Quick answer · prices checked October 2026
The best macroeconomic data API depends on the job. FXMacroData is the strongest pick for traders and event-driven pipelines: at USD 50/month it is 4x cheaper than Trading Economics (USD 199/month), it is engineered for sub-second release delivery measured from the actual publication, every value carries a second-level release timestamp, and the calendar is on every plan. Trading Economics has the widest country breadth but a 500-request monthly cap. FRED is the best free library for US history. Bloomberg, LSEG, Macrobond and Haver lead institutional research at sales-quoted prices. EODHD, FMP and Alpha Vantage are cheap all-rounders where macro is a side feature.
Top picks at a glance
We compared 40 data providers across eight jobs a macro data API is usually hired for: FX and event trading, free research, economic calendars, central bank and interest rates, bond yields, exchange rates, commodities and positioning, and institutional research. The cards below are the short version; every pick is explained, priced and linked to a full head-to-head further down.
Best for FX and event trading
FXMacroData
USD 50/month, 4x cheaper than Trading Economics · engineered for sub-second release delivery · second-level timestamps · calendar, yields, COT and commodities in one API.
Best free macro library
FRED
Free with an API key · deep US history · not a release-time event feed.
Best global country breadth
Trading Economics
USD 199/month* · 196 countries · 500 API requests a month · calendar API on Enterprise only.
Best institutional platform
Bloomberg · LSEG · Macrobond
Cross-asset depth, revision history and desktop tools · prices quoted by sales.
Best budget all-rounder
EODHD · FMP · Alpha Vantage
Stocks first, some macro · USD 19–60/month* · good when macro is a side input.
Best exchange-rate API
Open Exchange Rates · OANDA
USD 12/month* for app conversions · OANDA from USD 450/month* for audited rates.
Who this guide is for
This guide is for anyone choosing a source of economic data that a program can read: FX and macro traders automating around releases, quant developers backtesting event strategies, fintech teams putting an economic calendar in an app, analysts building research notebooks, and AI-agent builders who want an assistant to answer macro questions with real numbers. It is written by the team behind FXMacroData, so we say where our own product fits and, just as plainly, where another provider is the better choice.
Use this guide if you need
- Released values for CPI, payrolls, GDP, policy rates and yields over an API
- Exact release times for event studies or alerts
- A price you can see before talking to sales
- Data an AI assistant can fetch through MCP
Look elsewhere if you need
- Tick-level FX or futures prices (see the exchange-rate section)
- Company fundamentals and earnings (see the all-rounders)
- Annual development statistics for 200 countries (World Bank, IMF)
- A full terminal with news and chat (Bloomberg, LSEG)
How we compared the providers
Each provider was scored on the same eight questions, using its public pricing page, documentation and API reference. Prices are the entry plan that gives API access, in US dollars per month unless stated; where a vendor bills only annually, we say so.
| Criterion | What we checked | Why it matters |
|---|---|---|
| Price | Entry paid API plan; free tier limits | Most macro budgets are decided here |
| Request allowance | Calls per month or minute on that plan | Release-window polling burns calls fast |
| Release timing | How soon a print appears after the publisher posts it | FX reprices in the first seconds |
| Timestamp precision | Date only, or the exact second of release | Look-ahead bias in backtests |
| Calendar | Scheduled release times over the API | Needed to plan around events |
| Asset coverage | Indicators, rates, yields, FX, commodities, COT | One API versus four subscriptions |
| Access | REST, SDKs, Excel, MCP for AI assistants | Time to first working request |
| Buying friction | Self-serve checkout or sales contract | Whether you can start today |
Macro data APIs by price range
Price is where these products differ most, often by a factor of a hundred. The bands below sort every provider in this guide by what it costs to get API access. A free tier is listed under Free only when it is a real, usable allowance rather than a short trial.
FREE
FRED · World Bank · IMF · OECD · ECB Data Portal · BIS · DBnomics · BLS · BEA · Eurostat · CFTC · US Treasury Fiscal Data · Frankfurter · national statistics offices. Free tiers: FXMacroData (USD, 100 requests/day), FMP (250 calls/day), Alpha Vantage (25/day), EODHD (20/day), API Ninjas (3,000/month).
UP TO USD 50
FXMacroData $50: full macro API, 22 currencies · ExchangeRate-API $10* · Open Exchange Rates $12* · Fixer $14.99* · Metals-API $19.99* · EODHD Historian $19.99* (prices only) · FMP Starter $29* · Twelve Data $29* · Tiingo $30* · JBlanked $47* · Massive Currencies $49* · Alpha Vantage $49.99*
USD 51 – 250
API Ninjas $59* · EODHD Equity analyst $59.99* (first plan with macro) · Econdb AUD 60* · XE $799/year* · Tradefeeds $99* · FinnWorlds $99* · Intrinio $150* · Trading Economics $199* · Newsquawk $199*
USD 250 +
Trading Economics Professional $399* · OANDA Exchange Rates $450* · Barchart OnDemand from $500* · Finnhub All-In-One $3,500* (annual billing) · TrueFX streaming $4,950*
CONTACT SALES
Bloomberg · LSEG Datastream and Workspace · FactSet · S&P Global · Haver Analytics · Macrobond · CEIC · Moody's Data Buffet · Oxford Economics · FocusEconomics · Econoday · FXStreet calendar API · Benzinga calendar API
* Competitor pricing retrieved from their public pricing pages in October 2026. Monthly list price unless stated.
Entry price for API access to economic indicator data
US dollars per month, cheapest plan that includes macro or economic data over the API. Hover a bar for the exact figure.
All 40 providers compared
The master table is the reference version of this guide. Scroll it sideways on a phone. Each provider links to a full head-to-head comparison with sources.
| Provider | Type | Entry price | Free access | Best for |
|---|---|---|---|---|
| FXMacroData | FX macro API | USD 50/month | USD data, 100 requests/day; 14-day trial | Release-timed FX and macro pipelines |
| Trading Economics | Global macro database | $199/month* | Paid trial week only | Country breadth |
| FRED | Free US library | Free* | Everything, with a key | US history and research |
| Bloomberg | Terminal and feeds | Not publicly listed* | No | Multi-asset institutional desks |
| LSEG Workspace | Terminal and feeds | Not publicly listed* | No | Institutional research and trading |
| LSEG Datastream | Macro time-series database | Not publicly listed* | Trial on request | Long-history economists |
| FactSet | Enterprise platform | Not publicly listed* | No | Buy-side analytics teams |
| S&P Global | Enterprise economics | Not publicly listed* | No | Corporate and bank economists |
| Macrobond | Research platform | Not publicly listed* | Demo | Strategist charting and decks |
| Haver Analytics | Economic database | Not publicly listed* | No | Curated history for economists |
| CEIC | Emerging-market database | Not publicly listed* | No | Asia and EM country depth |
| Moody's Data Buffet | Economic database | Not publicly listed* | No | Regional and scenario data |
| Oxford Economics | Forecasting service | Not publicly listed* | No | Long-horizon forecasts |
| FocusEconomics | Consensus forecasts | Not publicly listed* | No | Panel forecasts by country |
| Alpha Vantage | General market API | $49.99/month* | 25 requests/day | Prototypes mixing stocks and macro |
| EODHD | General market API | $19.99*; macro from $59.99* | 20 calls/day | Global end-of-day prices |
| Financial Modeling Prep | General market API | $29/month* | 250 calls/day | Fundamentals plus a calendar |
| Finnhub | General market API | Economic data in All-In-One, $3,500/month* (annual) | 60 calls/min, no economic data | Real-time US stocks |
| API Ninjas | Utility API bundle | $59/month* ($39 yearly) | 3,000 calls/month | Quick inflation and rate lookups |
| Twelve Data | Price data API | $29/month* | 800 credits/day | FX and stock price charts |
| Massive (Polygon.io) | Price data API | $49/month* (currencies) | 5 calls/min | Streaming FX and US market prices |
| Tiingo | Price data API | $30/month* | 1,000 requests/day | Low-cost prices and news |
| Intrinio | Financial data API | $150/month* | Trial only | US equity fundamentals |
| FinnWorlds | Indicator API | $99/month* | Limited | Broad indicator lists |
| Econdb | Macro database | AUD 60/month* | 10 views/day | Cheap cross-country charts |
| Tradefeeds | Calendar API | $99/month* after a $9 first month | No | A plain macro calendar feed |
| JBlanked | Forex calendar API | $47/month* | Free key, limited | MetaTrader expert advisors |
| Econoday | Calendar and consensus | Not publicly listed* | Web calendar | Consensus-led US calendar |
| FXStreet calendar API | Calendar API | Not publicly listed* | Web calendar | Broker calendar licensing |
| Benzinga calendar API | Calendar API | Not publicly listed* | No | US equity news apps |
| Nasdaq Data Link | Dataset marketplace | Priced per dataset* | Free public datasets | Specialist alternative data |
| OANDA Exchange Rates | FX rates API | $450/month* | No | Audit-grade conversion rates |
| XE Currency Data | FX rates API | $799/year* | Trial | Corporate treasury rates |
| Open Exchange Rates | FX rates API | $12/month* | 1,000 requests/month | App currency conversion |
| Fixer and currencylayer | FX rates API | $14.99/month* | 100 calls/month | 170-currency conversion |
| ExchangeRate-API | FX rates API | $10/month* | 1,500 requests/month | Cheapest paid conversion |
| Frankfurter | FX rates API | Free* | Everything | ECB reference rates |
| World Bank · IMF · OECD | Official multilateral | Free* | Everything | Annual cross-country research |
| ECB · BIS · DBnomics | Official and open SDMX | Free* | Everything | Euro area, policy rates, aggregation |
| CFTC · US Treasury · BLS · BEA | US official sources | Free* | Everything | Single-source US series |
* Competitor pricing retrieved from their public pricing pages in October 2026. Prices change; check the vendor before buying.
Best macro data APIs for FX traders
FX trading puts three demands on a macro data source that general-purpose APIs rarely meet together. The data has to cover the currencies you trade with the same field names, it has to land while the market is still reacting, and every value has to carry the moment it became public so a backtest can't peek at the future.
FXMacroData is built for exactly that job. One schema covers 22 currencies, from the G10 to BRL, CNY, KRW and NGN, with policy rates, CPI, non-farm payrolls, GDP, trade, government bond yields, FX rates, COT positioning, commodities and central bank statements in one place. Releases are typically available within seconds of official publication, and the timing is measured and published for every release. Individual costs USD 50/month or USD 500/year with a 14-day trial; teams of up to ten use Business at USD 250/month. The Always Free tier serves USD data without a key.
Trading Economics is the alternative most FX traders evaluate first, at four times the price. Its strength is breadth: 196 countries and millions of series. Its constraint for automated FX work is the plan structure we confirmed on its pricing page this month: Standard costs USD 199/month* with 500 API requests a month, Professional USD 399/month* with 5,000, and the economic calendar and live streaming are ticked only on Enterprise. A release-window poller that checks twenty indicators once a minute for an hour uses 1,200 requests, more than two months of a Standard allowance.
JBlanked (USD 47/month*) serves a forex-factory-style calendar to MetaTrader expert advisors and Python bots. It suits retail EAs that need "is there high-impact news in the next 30 minutes" more than released values with history.
API requests included per month at the entry plan
Macro-data plans that publish a monthly request allowance.
Release latency: built for sub-second delivery
When the US Bureau of Labor Statistics posts CPI, EUR/USD starts moving within seconds. A data source that records the print an hour later, or only stores the date, is fine for research and useless for reacting. That is why we report the timing of every release as four separate numbers rather than one vague "delay":
1 · SCHEDULED
The time the publisher announced in advance. Useful for planning, never a measure of speed.
2 · ACTUAL RELEASE
When the figure really appeared, bracketed by our last read showing the old value and first read showing the new one.
3 · INGESTED
When the value was committed to the database and became readable through the API.
4 · LATENCY = 3 − 2
Ingested minus actual release. The only honest latency figure. If (2) was not captured, latency is not measured.
Measuring from the schedule mixes the publisher's own delay into the figure, so it says little about the data provider. FXMacroData is engineered for one target: the new figure in our database within one second of the actual publication. Watchers poll every official surface for a release in parallel from the moment the window opens, and the value is committed and pushed to WebSocket and webhook subscribers as soon as it is parsed. We hold ourselves to that target in public: the release-speed record lists all four numbers for every release we capture, including the ones that took longer than a second. Institutional terminals run real-time release feeds of their own, but none of the self-serve APIs we reviewed publishes a per-release timing record.
Timestamp precision matters even when you are not trading live. FRED, the World Bank and most all-rounder APIs store the reference period and perhaps the release date, but not the second the value went public. Every FXMacroData row carries an announcement_datetime in Unix seconds:
# US non-farm payrolls with second-level release timestamps
curl -H "X-API-Key: YOUR_API_KEY" \
"https://api.fxmacrodata.com/v1/announcements/usd/non_farm_payrolls?start_date=2026-08-01"
{
"data": [
{ "date": "2026-09-30", "val": 159044000, "announcement_datetime": 1790944200 },
{ "date": "2026-08-31", "val": 159015000, "announcement_datetime": 1788525000 }
]
}
1790944200 is 2 October 2026, 12:30:00 UTC: the moment the September payrolls report went out. An event study can join that second to tick data and measure the move with no look-ahead bias. The same fields come back for euro-area inflation, the Bank of England rate and every other series.
Best free macroeconomic data APIs
Free official sources are excellent and you should use them. Their limits are about workflow rather than quality: each publisher has its own format, release times are rarely in the data, and stitching ten of them together is the real cost.
| Free API | Strongest at | Watch out for |
|---|---|---|
| FRED | Hundreds of thousands of series, deep US history, vintages through ALFRED | Thin outside the US; updates after release, no release-second timestamp |
| World Bank, IMF, OECD | Comparable annual and quarterly data for almost every country | Lags of months; not built for release days |
| ECB, BIS | Euro-area statistics, central bank policy rates, reference FX rates | SDMX keys take time to learn |
| BLS, BEA, US Treasury, CFTC | The original source for US CPI, payrolls, GDP, PCE, yields and COT | One format per agency; daily request caps on some |
| DBnomics | One interface over dozens of official providers | Refreshes on its own schedule, not at release time |
| FXMacroData Always Free | USD indicators, calendar and COT with release timestamps, no key | USD only, last 90 days, served 15 minutes after publication |
Country statistics offices publish their own free APIs too. We compared each one against a single normalised feed: ONS (UK), Eurostat, Destatis, INSEE, e-Stat Japan, Statistics Canada, Stats NZ, Swiss FSO and SNB, Statistics Sweden, Statistics Norway, Statistics Denmark, China NBS, KOSIS, Taiwan DGBAS, Banco Central do Brasil and Peru INEI and BCRP.
Rule of thumb: if you need one country's history for a paper, go to the official source. If you need the same indicator for eight currencies, on the day it prints, with the release second attached, a normalised API saves more engineering time than its subscription costs.
Best economic calendar APIs
An economic calendar API answers "what is scheduled, when, and what came out". The calendar is where providers differ most in packaging. Trading Economics lists its calendar on Enterprise only*. Finnhub places it in All-In-One*. FMP and Tradefeeds include one on self-serve plans, and Forex Factory, Investing.com and Myfxbook show excellent calendars on the web but publish no official API (compared in our Forex Factory, Investing.com and Myfxbook guides).
The FXMacroData release calendar is on every plan, including the free USD tier, and each event links to the released value with its timestamp. The widget below is the live calendar, embedded exactly as a website would embed it:
| Calendar API | Cheapest plan with calendar | Released values with history |
|---|---|---|
| FXMacroData | Free (USD); USD 50 for 22 currencies | Yes, with release-second timestamps |
| Trading Economics | Enterprise, custom price* | Yes |
| Financial Modeling Prep | Free Basic plan; paid from $29* | Actual, previous and estimate per event |
| Tradefeeds | Basic, $99/month* | Calendar events |
| JBlanked | VIP, $47/month* | Calendar events |
| Finnhub | All-In-One, $3,500/month* | Yes |
| Econoday · FXStreet · Benzinga | Licensed, not publicly listed* | Yes, with consensus on some |
Best APIs for central bank and interest rate data
Rate differentials drive FX more than any single print, so policy-rate data needs to be current on decision day and complete back through each cycle. The BIS publishes a free central bank policy-rate dataset for dozens of countries, updated in batches. The Federal Reserve H.15 and FRED cover US rates for free. API Ninjas sells a simple current-rate lookup from USD 59/month*.
FXMacroData records each decision for its 22 currencies as it is announced, alongside the statement from the Federal Reserve and other central banks, and serves rate differentials for any pair. The live widget below lists the next scheduled G10 rate decisions from the same data:
Best APIs for government bond yields
Sovereign yields are the market's own forecast of the policy path, and the 2-year and 10-year spreads between countries track major pairs closely. Free sources are strong here for the US: US Treasury Fiscal Data and FRED publish the daily curve, and the ECB publishes euro-area curves. Outside those, yields usually sit behind terminals.
FXMacroData serves government bond yields by tenor across its currencies, such as the US 10-year yield, with full curves in the rates centre, in the same format as its indicators. That makes a yield-spread signal one request per leg instead of a project.
Best exchange-rate and FX price APIs
Many searches for a "currency API" really want exchange rates rather than macro data, and these are different products. Rate APIs answer "what is EUR/USD now or on a date"; macro APIs answer "why might it move". Pick by how the rate will be used:
APP CONVERSIONS
ExchangeRate-API $10*, Open Exchange Rates $12*, Fixer $14.99*; Frankfurter free with ECB rates.
ACCOUNTING AND TREASURY
OANDA from $450/month* and XE from $799/year* for documented, audit-friendly rates.
CHARTS AND BACKTESTS
Massive $49*, Twelve Data $29*, free Dukascopy history, TrueFX for institutional streams.
RATES PLUS DRIVERS
FXMacroData serves FX rates next to the rate differentials, yields and releases that move them.
Best APIs for commodities and COT positioning
Commodity prices matter to FX through the terms of trade: oil for CAD and NOK, iron ore and gold for AUD, dairy for NZD. Metals-API (from USD 19.99/month*) and Nasdaq Data Link datasets cover prices on their own; EODHD and FMP add commodities to stock plans; CME DataMine is the exchange source for futures history.
Positioning is the other half of the picture. The CFTC Public Reporting API publishes the weekly Commitments of Traders report for free; FMP lists COT from its Premium plan*. FXMacroData maps COT to currencies and serves it beside gold, silver, oil and other commodities, so a CAD model can read oil, positioning and the Bank of Canada rate from one API.
Best institutional macro data platforms
At the top end, the question is not price but scope. Bloomberg and LSEG Workspace combine data, news, chat, analytics and execution across every asset class; Bloomberg was reported in September 2026 to be adding an enterprise MCP service for Data License customers. Macrobond is the analyst's charting and presentation tool, and made an AI Data Feed with MCP generally available in June 2026. Haver Analytics, LSEG Datastream and CEIC are curated economic databases with long revision histories; FactSet, S&P Global and Moody's bundle economics with credit and company data; Oxford Economics and FocusEconomics sell forecasts rather than releases.
None of them publishes a price, procurement usually takes weeks, and the contract is sized for a firm rather than a developer. For a bank or a large fund that already pays for one, its macro module may be enough. For a two-person quant team, a self-serve API is a test you can run this afternoon.
Best all-in-one market data APIs with macro coverage
If your product is about stocks and macro is one input among many, a general-purpose market API can be the most economical choice. EODHD includes 39 macro indicators from its USD 59.99* Equity analyst plan and an MCP server on every plan. Financial Modeling Prep covers economic indicators, treasury rates and an economic calendar alongside fundamentals, with a free Basic plan and paid plans from USD 29/month*. Alpha Vantage exposes US indicators such as CPI and the federal funds rate alongside stock prices, with 25 free requests a day and paid plans from USD 49.99/month*.
The trade-off is depth and timing: these APIs carry headline series, mostly for the US, without release-second timestamps or the long tail of non-US releases. Twelve Data, Tiingo, Intrinio and Massive concentrate on prices and fundamentals and have no macro indicator data on their entry plans.
Best macro data APIs for AI agents and MCP
AI assistants answer macro questions badly when they guess. The Model Context Protocol (MCP) lets an assistant such as Claude, ChatGPT or Gemini call a data provider directly and cite real values. Official MCP servers now exist for FXMacroData, Trading Economics, Alpha Vantage and EODHD, and Macrobond offers MCP through its AI Data Feed.
What the assistant can reach is what differs. The FXMacroData MCP server works without a key for USD data, exposes the release calendar, COT and release timestamps on every plan, and is covered in our AI trading guides. Trading Economics' MCP requires an API key, so an agent works inside that plan's monthly allowance: 500 requests on Standard, 5,000 on Professional.
Find the right API for your situation
Open the answer that matches your situation.
I trade FX or macro and need data when it is released
Choose FXMacroData. You get release-second timestamps, the calendar, yields, COT and commodities for 22 currencies at USD 50/month, with 1,000,000 requests. Add Trading Economics only if you also need countries outside those 22.
I need historical data for research and my budget is zero
Start with FRED for the US, the IMF, OECD and World Bank for cross-country annual data, and the ECB and BIS for euro-area and policy-rate series. The FXMacroData free tier adds the last 90 days of USD releases with timestamps.
I am building an app that shows an economic calendar
If you want a ready-made display, embed the free economic calendar widget. If you need the data itself, FXMacroData includes the calendar API on every plan; showing it to your users publicly needs the Commercial Redistribution add-on (USD 10 per block of up to 100 measured users a month).
I mainly need stock prices and fundamentals, with a little macro
EODHD, FMP or Alpha Vantage will cover headline US indicators alongside equities for USD 29 to 60 a month. Add a dedicated macro API later if release timing or non-US coverage starts to matter.
I only need exchange rates for conversions
Use Frankfurter (free, ECB rates) or Open Exchange Rates (USD 12/month). Move to OANDA or XE if auditors need documented rate sources.
I run research for a large institution
Bloomberg, LSEG, Macrobond or Haver will cover breadth, revisions and presentation. Teams that want a release-timed feed into their own models often run FXMacroData alongside; organisations of more than ten people use the Enterprise plan.
Strengths and trade-offs of the leading picks
FXMacroData
STRENGTHS
- Engineered for sub-second release delivery, measured publicly
- 4x cheaper than Trading Economics
- Calendar, yields, COT, commodities and FX in one schema
- USD 50/month with 1,000,000 requests
TRADE-OFFS
- 22 currencies, not 196 countries
- No company fundamentals or tick prices
Trading Economics
STRENGTHS
- 196 countries and forecasts
- Excel and Google Sheets add-ins
TRADE-OFFS
- 500 requests a month on Standard
- Calendar and streaming on Enterprise only
FRED
STRENGTHS
- Free, enormous and well documented
- Historical vintages for revision studies
TRADE-OFFS
- US-centred
- Not a release-time feed
Bloomberg and LSEG
STRENGTHS
- Every asset class, news and analytics
- Institutional real-time feeds
TRADE-OFFS
- Sales-quoted contracts
- Proprietary access stack
Verdict
There is no single best macroeconomic data API, but there is a clear best fit for each job. For research on a zero budget, FRED and the official multilaterals are hard to beat. For 196-country breadth, Trading Economics is the specialist, provided its request caps fit. For an institution that needs everything in one terminal, Bloomberg or LSEG. For stock-first products, EODHD or FMP.
For FX trading, event-driven models and AI agents that need macro data the moment it is released, FXMacroData is the most direct fit: engineered for sub-second release delivery with every result published, second-level release timestamps, the calendar on every plan and 1,000,000 requests a month, at USD 50/month, a quarter of the Trading Economics price. Try it on the live release calendar or the free USD tier with no key, then start a 14-day trial for all 22 currencies.
Sources and evidence checked
Competitor prices and plan contents were read from each vendor's public pricing page in October 2026: Trading Economics API pricing, Alpha Vantage premium, EODHD pricing, FMP pricing, Finnhub pricing, API Ninjas pricing, Twelve Data pricing, Massive pricing, Tiingo pricing, Intrinio pricing, Tradefeeds pricing, Open Exchange Rates plans, Fixer pricing, ExchangeRate-API, Metals-API pricing and JBlanked membership. Free official sources: FRED API documentation, ECB Data Portal API and CFTC Public Reporting. FXMacroData plans are listed on the pricing page and the measured release record on release speed. The remaining figures come from the sources cited in each linked head-to-head comparison.