Datasets
Macro datasets
Information and education only. Not financial, investment, legal or tax advice. Listings can be inaccurate, incomplete or out of date and are provided "as is". Free tiers, limits and licenses belong to each provider and can change, so check the provider's own terms before you rely on them. Terms & Disclaimer
Macro datasets list
FRED (Federal Reserve Economic Data)
APIFederal Reserve Bank of St. Louis REST API for FRED economic time series: search series by keyword, pull observations by series ID as XML, JSON, Excel or zipped CSV, and browse releases, categories, sources and tags. A free API key is required.
Free with API key; 120 requests/minute (v1), 2 requests/second (v2 bulk endpoint); some series are third-party copyrightedMore than 800,000 US and international economic data series from over 100 sources, covering banking, prices, employment, population, exchange rates, GDP, interest rates, trade and US financial data. Series frequencies range from daily to annual. An observations request defaults to the full available history and returns up to 100,000 observations; real-time periods and vintage dates (ALFRED) return values as they were known on past dates, and the v2 endpoint returns observations for all series on a release in bulk.- Free? Free
- Sign-up? Free key
- Commercial use? Check terms
World Bank Open Data
APIOfficial World Bank Indicators API (V2, https://api.worldbank.org/v2): nearly 16,000 development and macro time-series indicators from over 45 databases, including World Development Indicators for 217 economies and more than 40 country groups. No API key; XML by default (JSON with format=json), plus CSV, XML or Excel ZIP downloads.
Free (no API key)Nearly 16,000 time-series indicators from 45+ databases, including World Development Indicators (1,400 indicators for 217 economies and 40+ country groups); many series go back more than 50 years. Free, no key.- Free? Free
- Sign-up? No sign-up
- Commercial use? Check terms
U.S. Bureau of Labor Statistics (BLS) Public Data API
APIOfficial REST API from the U.S. Bureau of Labor Statistics for inflation, employment, and wage data. Public domain.
Free (v1.0: 25 queries/day, v2.0 registered: 500 queries/day); both versions 50 requests per 10 secondsCPI, PPI, unemployment, payrolls, productivity, wages; US national and regional data; historical coverage varies by series (CPI from 1913, employment from 1939)- Free? Free
- Sign-up? No sign-up
- Commercial use? Check terms
U.S. Treasury Fiscal Data API
APIOfficial open API from the U.S. Treasury's Bureau of the Fiscal Service: federal debt, daily cash and debt operations, receipts and outlays, average interest rates on Treasury securities, auction data and the Treasury's reporting exchange rates for foreign currencies. No API key, account or registration; JSON, CSV or XML.
Free (no API key or registration)U.S. federal finances across 188 listed API endpoints (Treasury's live metadata, Nov 4, 2026). Daily: Debt to the Penny (total public debt outstanding, from Apr 1, 1993; posted at the end of each business day with the previous business day's data), Daily Treasury Statement (cash balance, deposits, withdrawals and debt transactions, from Oct 3, 2005) and revenue collections (from Oct 1, 2004). Monthly: Monthly Treasury Statement receipts, outlays and deficit (from Mar 2015), Monthly Statement of the Public Debt and average interest rates on Treasury securities (both from Jan 2001). Quarterly: Treasury Reporting Rates of Exchange (from Mar 31, 2001). Also auction data from Nov 15, 1979 and annual debt outstanding from 1790. No market prices.- Free? Free
- Sign-up? No sign-up
- Commercial use? Check terms
Bank of Canada Valet API
APIOfficial Bank of Canada API for daily exchange rates, interest rates, bond yields and other financial and economic statistics. No API key, no registration, no cost.
Free (no API key or registration)16,372 series in 2,614 groups (Nov 4, 2026). FX: daily average rates for 24 currencies in Canadian dollars (plus monthly and annual averages), published by 16:30 ET each business day, from Jan 3, 2017; legacy noon rates May 2007 to Apr 2017 under the old method. Rates: CORRA from 1997, the 10-year Government of Canada benchmark yield from 2001, the overnight-rate target from 2009, the Bank rate (monthly) from 1935. JSON, CSV or XML.- Free? Free
- Sign-up? No sign-up
- Commercial use? Check terms
EIA Open Data
APIU.S. Energy Information Administration's open data: electricity, natural gas, petroleum, coal, nuclear outages and energy outlooks through an API (free key) and bulk files (no key). Includes some natural gas and petroleum prices. EIA states the data is provided free of charge (checked Oct 28, 2026).
Free: the API needs a free registration key; the bulk files need no key. EIA states data is provided free of charge.U.S. energy statistics, about 2 million series per EIA's docs: electricity (including hourly Balancing Authority data), natural gas (including prices and weekly storage), petroleum (including prices), coal, nuclear outages, short- and long-term outlooks; history and frequency vary by series (checked Oct 28, 2026)- Free? Free
- Sign-up? Free key
- Commercial use? Check terms
Eurostat API (EU statistics)
APIOfficial EU statistics through Eurostat's dissemination API, including inflation, labor, population, trade, industry, government finance and regional series. Dataset queries return JSON-stat 2.0 and can be filtered by dimension and time without a key.
Free (no key; source acknowledgment required)EU, euro-area, EFTA, candidate-country and selected external-country statistics across thousands of multidimensional datasets. Frequency, geography, start date and revision policy vary by dataset. The checked une_rt_m query returned monthly seasonally adjusted EA21 unemployment values since January 2025.- Free? Free
- Sign-up? No sign-up
- Commercial use? Check terms
ECB Data Portal API (SDMX)
APIECB statistical data and metadata through an SDMX 2.1 REST service. It covers exchange rates, interest rates, money, banking, inflation, markets, external accounts, payments and supervisory data, with CSV and SDMX formats and no key.
Free (no key for public data requests)ECB Data Portal series with history, frequency and revision behavior set per dataflow. The checked EXR.D.USD.EUR.SP00.A series is the daily U.S. dollar reference rate against the euro; business-day observations were returned through 2026-10-30.- Free? Free
- Sign-up? No sign-up
- Commercial use? Check terms
Bank of England Database (IADB)
APIOfficial Bank of England time series, including Bank Rate, interest and exchange rates and other UK monetary and banking statistics, with parameterized CSV downloads for series codes and date ranges.
Free (no key; CSV download)UK central-bank and monetary statistics with frequency and history varying by series. This entry demonstrates daily official Bank Rate series IUDBEDR. The Database can change published values, publication times and methods without notice; selected exchange-rate series and certain Crown Dependency data have separate rights.- Free? Free
- Sign-up? No sign-up
- Commercial use? Commercial OK
HMRC Tax Receipts and National Insurance Contributions (UK)
NewHM Revenue and Customs publishes monthly and annual UK tax receipts and National Insurance contributions for the taxes it administers (income tax, NICs, VAT, corporation tax, duties), with an ODS statistics table.
Free (no key)UK, monthly and annual. The page says: "This publication includes historical receipts on a monthly and annual basis for all taxes administered by HMRC". It is published monthly on a fixed working-day schedule.- Free? Free
- Sign-up? No sign-up
- Commercial use? Commercial OK
Office for Budget Responsibility (OBR) Public Finances Databank
NewThe UK Office for Budget Responsibility publishes its public finances databank (borrowing, debt, receipts and spending outturns alongside OBR forecasts) and a historical official forecasts database as keyless XLSX files.
Free (no key)UK public finances. The data page describes the databank as "Our most recent fiscal aggregates forecasts and the latest monthly outturn data from the ONS." Yearly databank archives and the historical forecasts database are on the same page. The site returns 403 to some non-browser clients.- Free? Free
- Sign-up? No sign-up
- Commercial use? Check terms