# EODHD APIs

EODHD APIs provide comprehensive financial data, including historical stock market data, live stock prices, fundamental data, and more, accessible via REST and WebSocket APIs.

- **Category:** analytics
- **Auth:** API_KEY
- **Tools:** 11
- **Triggers:** 0
- **Slug:** `EODHD_APIS`
- **Version:** 20260217_00

## Tools

### Get EOD Yahoo Style Data

**Slug:** `EODHD_APIS_GET_EOD_YAHOO_STYLE`

Retrieves end-of-day historical stock price data using Yahoo Finance style parameters via EODHD API. Returns OHLCV (Open, High, Low, Close, Volume) data plus adjusted close prices for stocks, ETFs, mutual funds, bonds, and other securities across 70+ global exchanges. Use this alternative API when you need Yahoo Finance compatible date parameters (a/b/c for start date, d/e/f for end date with 0-indexed months).

### Get ID Mapping

**Slug:** `EODHD_APIS_GET_ID_MAPPING`

Tool to convert between different security identifiers (CUSIP, ISIN, FIGI, LEI, CIK, ticker symbol). Use when you need to map one type of identifier to another, normalize portfolio data, or cross-reference securities across different systems. At least one filter parameter must be provided.

### Get Macro Indicators

**Slug:** `EODHD_APIS_GET_MACRO_INDICATORS`

Retrieve macroeconomic indicator data for a specific country from EODHD. Returns historical time series data for economic indicators like GDP, inflation, unemployment, population, and many more. Data typically spans from 1960 to the present year. Use this when you need economic statistics for analysis, comparison, or research.

### Get Mutual Funds Data

**Slug:** `EODHD_APIS_GET_MUTUAL_FUNDS_DATA`

Retrieves comprehensive fundamental data for mutual funds via EODHD API. Returns fund details including general information (name, family, inception date, summary), asset allocation (cash, stocks, bonds percentages), value/growth measures (P/E, price-to-book), sector weightings, and world regions exposure. Supports over 20,000 US mutual funds including equity, balanced, and bond-based funds. Use ticker format 'SYMBOL.US' (e.g., 'VFIAX.US', 'SWPPX.US') or ISIN/CUSIP identifiers.

### Get Real-Time Quote

**Slug:** `EODHD_APIS_GET_REAL_TIME_QUOTE`

Retrieves real-time (delayed 15-20 minutes for stocks, ~1 minute for forex) OHLCV data for stocks, forex, and cryptocurrencies. Returns latest 1-minute bar with open, high, low, close, volume, previous close, and price changes. Use this when you need current market prices and intraday data.

### Get Real-Time FOREX WebSocket Stream

**Slug:** `EODHD_APIS_GET_REAL_TIME_WEBSOCKET_FOREX`

Provides WebSocket connection details for real-time FOREX currency pair data from EODHD. Returns the WebSocket endpoint URL and subscription message needed to receive live bid/ask prices with ~50ms latency for forex pairs like EURUSD, GBPUSD, USDJPY. Response data format from the WebSocket includes: - s: symbol (e.g., 'EURUSD') - a: ask price - b: bid price - dc: daily change percentage - dd: daily difference - t: timestamp in epoch milliseconds Note: Maximum 50 symbols can be subscribed at once.

### Get Real-time WebSocket US Trades

**Slug:** `EODHD_APIS_GET_REAL_TIME_WEBSOCKET_US_TRADE`

Tool to retrieve real-time trade data for the US market via WebSocket. Use when live updates for specific US symbols are required. Example: subscribe to ['AAPL', 'GOOG'].

### Get User Info

**Slug:** `EODHD_APIS_GET_USER_INFO`

Retrieve current user account information and API usage statistics from EODHD. Returns details including subscription type, daily rate limits, number of API requests made, email, name, and payment method. Use this to monitor API usage, check remaining quota, or verify account details.

### Get US Treasury Yield Rates

**Slug:** `EODHD_APIS_GET_UST_YIELD_RATES`

Retrieve US Treasury yield curve rates from EODHD API. Returns historical par yield data across all maturities (1 month, 6 months, 1 year, 2 years, 5 years, 10 years, 30 years, etc.). Use this when you need Treasury yield curve data for financial analysis, economic research, or investment decisions.

### List Supported Exchanges

**Slug:** `EODHD_APIS_LIST_EXCHANGES`

Retrieve a list of all supported stock exchanges from EODHD API. Returns exchange codes, names, countries, and currencies for 70+ global exchanges. Use this when you need to discover available exchanges or verify exchange codes for ticker symbols.

### Search Instruments

**Slug:** `EODHD_APIS_SEARCH_INSTRUMENTS`

Search for stocks, ETFs, mutual funds, bonds, and indices by ticker symbol, company name, or ISIN. Use when you need to find instruments by name or identifier, discover available tickers, or look up securities across exchanges. The API searches among active tickers only.
