Macro Data API: GDP, Inflation & Labor

<- All Datasets

Comprehensive Market Data for Developers & Traders

Our Stock API provides access to comprehensive market data from more than 50 exchanges worldwide, including XETRA and Frankfurt Stock Exchange, Euronext Paris/Amsterdam, as well as NYSE and NASDAQ in the USA. We offer fundamental data (annual/quarterly, up to 40 years), historical quotes (up to 100 years back), intraday data and more.

Coverage includes stocks, ETFs, indices, funds, currencies and cryptos. For stocks/ETFs we provide master data, for stocks also fundamentals.

All data is provided in JSON format via a REST API. The base package includes 100,000 requests/day. Examples: Documentation. Pricing: Packages.

The free account includes 50 daily requests. API tokens can be found in the account area. Contact: kontakt@leeway.tech.

Leeway Stock API Dashboard showing market data endpoints for historical prices, fundamental data, dividends and splits from XETRA, NYSE, NASDAQ and 50+ global exchanges in JSON format
API Dashboard Overview

"Die Leeway API arbeitet sehr gut. Die qualitativ beste API, die ich bisher gefunden habe."

DS

Entwickler & API-Nutzer

"Ich habe mich direkt zurechtgefunden, großes Kompliment! Eure Dokumentation bei Leeway ist wirklich stark."

FG

Trader

Supported Data Types

Overview of available API data types with categories, examples and endpoints
CategoryExamplesUse CaseTypical FieldsExample Endpoint
Realtime QuotesOHLC, last, changeLive Display / Triggero,h,l,c,v,date/api/v1/public/live
Historical PricesOHLC, VolumeCharts, Backtestso,h,l,c,v,date/api/v1/public/historicalquotes
Intraday Aggregations1m, 5m, 15mShort-term Strategiesinterval, o,h,l,c,v/api/v1/public/intraday
DividendsCash, Ex‑DateIncome ModelsexDate, amount, currency/api/v1/public/events
SplitsRatioPrice NormalizationsplitDate, from, to/api/v1/public/events
Corporate ActionsM&A, Spin‑offsEvent Adjustmenttype, effectiveDate/api/v1/public/events
FundamentalsKPIs, Balance SheetScreening, Valuationrevenue, netIncome/api/v1/public/fundamentals
MetadataListing, ISINData Qualityname, isin, wkn/api/v1/public/isin

Quick Start: First Steps with the API

1. Get API Token

Sign up for free and get your API token immediately in the Account area.

2. Find Exchange

All exchanges: https://api.leeway.tech/api/v1/public/general/exchanges?apitoken=YOUR_TOKEN

3. Find Symbol or Search by Name/ISIN

All XETRA symbols: https://api.leeway.tech/api/v1/public/general/symbols/XETRA?apitoken=YOUR_TOKEN
Search example (Apple): https://api.leeway.tech/api/v1/public/general/isin/apple?apitoken=YOUR_TOKEN

4. Retrieve Fundamental Data

For Deutsche Telekom: https://api.leeway.tech/api/v1/public/fundamentals/DTE.XETRA?apitoken=YOUR_TOKEN

5. Retrieve Historical Prices

For Deutsche Telekom on XETRA: https://api.leeway.tech/api/v1/public/historicalquotes/DTE.XETRA?apitoken=YOUR_TOKEN

Available Datasets

Price Data API

End-of-day History

Historical price data with up to 100 years of daily history in Open, High, Low, Close, Volume format. Access to daily updated data for the majority of stocks traded worldwide.

Fundamental Data API

Balance sheet data, estimates, etc.

Up to 40 years of history of annually or quarterly published balance sheets, cash flow statements and income statements: From net income to dividend payments to long-term or short-term liabilities. Also: Analyst estimates, earnings history and more.

Live Quotes (Delayed)

Worldwide, Intraday

Price data for stocks with 15 to 20 minutes delay for around 50,000 stocks worldwide.

Interval Price Data

Price History in Minute Intervals

3-month history of price data in 5-minute or 1-minute (US only) intervals.

Forex, Crypto and Commodities

History and Live Quotes

Real-time price data for cryptocurrencies and over 2000 traditional currency pairs. Up to 20 years of closing price history.

Funds & ETF API

History and Live Quotes

Historical prices and master data for funds and ETFs from around the world.

Bonds

Coupon, Maturity and Morningstar Rating

Comprehensive data for corporate and US government bonds.

Macroeconomic Data

From GDP to Startup Formations

30 economic datasets and indicators for over one hundred countries.

Macroeconomics is a branch of economics that deals with the performance, structure, behavior and decision-making of an economy as a whole. Our macroeconomic indicators data API covers regional, national and global economies. We provide data for more than 30 macro indicators such as GDP, unemployment rates, national income, price indices, inflation rates, consumption, international trade and many other important indicators. Most data is available from December 1960.

Ready for the Best API Experience?

Start today with 50 free requests per day. The Leeway API is waiting for you.

Data Fields Explanation

Here you'll find a selection of important macroeconomic indicators. For the complete list of all fields visit the API Glossary.

Macroeconomic Indicators

real_interest_rate
Real interest rate (%).
population_total
Population, total.
population_growth_annual
Population growth (annual %).
inflation_consumer_prices_annual
Inflation, consumer prices (annual %).
consumer_price_index
Consumer Price Index (2010 = 100).
gdp_current_usd
GDP (current US$).
gdp_per_capita_usd
GDP per capita (current US$).
gdp_growth_annual
GDP growth (annual %).
debt_percent_gdp
Debt in percent of GDP (annual %).
net_trades_goods_services
Net trades in goods and services (current US$).
inflation_gdp_deflator_annual
Inflation, GDP deflator (annual %).
agriculture_value_added_percent_gdp
Agriculture, value added (% of GDP).
industry_value_added_percent_gdp
Industry, value added (% of GDP).
services_value_added_percent_gdp
Services, etc., value added (% of GDP).
exports_of_goods_services_percent_gdp
Exports of goods and services (% of GDP).
imports_of_goods_services_percent_gdp
Imports of goods and services (% of GDP).
gross_capital_formation_percent_gdp
Gross capital formation (% of GDP).
net_migration
Net migration (absolute value).
gni_usd
GNI, Atlas method (current US$).
gni_per_capita_usd
GNI per capita, Atlas method (current US$).
gni_ppp_usd
GNI, PPP (current international $).
gni_per_capita_ppp_usd
GNI per capita, PPP (current international $).
income_share_lowest_twenty
Income share held by lowest 20% (in %).
life_expectancy
Life expectancy at birth, total (years).
fertility_rate
Fertility rate, total (births per woman).
prevalence_hiv_total
Prevalence of HIV, total (% of population ages 15-49).
co2_emissions_tons_per_capita
CO2 emissions (metric tons per capita).
surface_area_km
Surface area (sq. km).
poverty_poverty_lines_percent_population
Poverty headcount ratio at national poverty lines (% of population).
revenue_excluding_grants_percent_gdp
Revenue, excluding grants (% of GDP).
cash_surplus_deficit_percent_gdp
Cash surplus/deficit (% of GDP).
startup_procedures_register
Start-up procedures to register a business (number).
market_cap_domestic_companies_percent_gdp
Market capitalization of listed domestic companies (% of GDP).
mobile_subscriptions_per_hundred
Mobile cellular subscriptions (per 100 people).
internet_users_per_hundred
Internet users (per 100 people).
high_technology_exports_percent_total
High-technology exports (% of manufactured exports).
merchandise_trade_percent_gdp
Merchandise trade (% of GDP).
total_debt_service_percent_gni
Total debt service (% of GNI).
unemployment_total_percent
Unemployment total (% of labor force).
Corporate Events

Splits, IPOs, Corporate Reports

Historical and current corporate events such as stock splits, initial public offerings (IPOs) and other corporate actions.

Dividends

Historical Dividend Payments

Comprehensive dividend data with ex-dividend dates, payment dates and dividend amounts for stocks worldwide.

📚 API Glossary: All Data Fields Explained

Complete explanation of all data fields – Ideal for developers & analysts

Our comprehensive API glossary explains all data fields available in the Leeway API. From fundamental data to balance sheet data to macro indicators – find detailed explanations for every field, grouped by categories for easy navigation.

  • ✓ Fundamental data (Revenue, EBITDA, etc.)
  • ✓ Balance sheet data (Assets, Liabilities, etc.)
  • ✓ ETF fields (Holdings, Ratings, etc.)
  • ✓ Crypto fundamental data
  • ✓ Macroeconomic indicators
  • ✓ Splits, dividends, IPO data

Why Leeway Is the Best Choice

Comparison of Leeway API with typical alternatives
CriteriaLeewayTypical Alternatives
European Focus ✓ Yes (XETRA, Frankfurt, Euronext) Partial / US-focused
European Fundamentals ✓ High coverage & quality (DE, FR, NL, Nordics) Often sparse / delayed
Small/Mid Caps (Europe) ✓ High-quality fundamentals even for smaller caps Heterogeneous / incomplete
Data Normalization ✓ Unified IDs & formats Inconsistent
Developer UX ✓ Consistent JSON schemas Heterogeneous

Frequently Asked Questions

How do I get an API token?+
Find your API token in the account area.
Which formats do you provide?+
JSON (UTF-8). CSV export optionally via ?format=csv (beta).
How does authentication work?+
Use a bearer token in the Authorization header. You receive the API token immediately after registration.
Are there rate limits?+
100,000 requests per day in the base plan. We signal overages with HTTP 429. Free tier: 50 requests/day.
Which identifiers can I use?+
Use ticker and ISIN. We always return the normalized symbol form plus the ISIN.
Do you offer WebSockets or streaming?+
Streaming (WebSocket) is in private beta – join the wait list on request.
How does support work?+
Reach us directly via kontakt@leeway.tech. Expect fast replies and personal support.
Do you support adjusted close / split adjustments?+
Yes, adjusted fields (e.g. adjustedClose, factor) are available.
How do I fetch historical prices for a stock?+
How do I fetch fundamental data for a stock?+

Ready for the Best API Experience?

Start today with 50 free requests per day. The Leeway API is waiting for you.

© Leeway
PWP Leeway UG (haftungsbeschränkt)