> ## Documentation Index
> Fetch the complete documentation index at: https://docs.webrouter.net/llms.txt
> Use this file to discover all available pages before exploring further.

# EODHD

> End-of-day and delayed prices, ticker search and fundamentals for stocks, ETFs, forex and crypto on global exchanges.

![](https://mintcdn.com/webrouter/gPu3tCeozwRcDBjt/logo/data-apis/eodhd.webp?fit=max\&auto=format\&n=gPu3tCeozwRcDBjt\&q=85\&s=d6591a0aa2397e4efc143da2d2db06cd)

[Web Catalog · Finance](https://docs.webrouter.net/data-apis.md?category=finance)

Needs&#x20;

`EODHD_API_TOKEN`

Endpoints

4

Auth

Key in query

[Vendor docs](https://eodhd.com/financial-apis/)

&#x20;·&#x20;

[Pricing](https://eodhd.com/pricing)

## Setup

| Variable | | What it is |
| - | - | - |
| `EODHD_API_TOKEN` | required | an EODHD API token (eodhd.com/cp/settings); the token value demo works for six tickers |

Put them in your environment or `.env`; [Data APIs](https://docs.webrouter.net/vendors.md) covers the other ways.

## Notes

* Tickers are CODE.EXCHANGE (AAPL.US); for US stocks the .US suffix may be omitted on EOD requests.
* Output is CSV unless you send fmt=json (fundamentals is JSON only).
* Free plan: 20 calls a day with one year of data; each request costs API calls and failed requests can still be billed.
* The demo token (api\_token=demo) works on six tickers: AAPL.US, TSLA.US, BTC-USD.CC, VTI.US, AMZN.US, EURUSD.FOREX.

## Endpoints

GET

Get end-of-day prices

Daily, weekly or monthly OHLC, adjusted close and volume for one instrument.

[Open](#eodhd-eod-prices)

GET

Get a delayed quote

Latest delayed price with session open, high, low, volume, previous close and change.

[Open](#eodhd-live-quote)

GET

Search tickers

Find stocks, ETFs, funds, indices and crypto by ticker, company name or ISIN.

[Open](#eodhd-search)

GET

Get fundamentals

Company profile, financial statements, valuation and more for a stock, ETF, fund or index (v1.1).

[Open](#eodhd-fundamentals)

### Get end-of-day prices

GET

`/api/eod/{symbol}`

`eodhd.eod.prices`

Daily, weekly or monthly OHLC, adjusted close and volume for one instrument.

Input

<table>
  <thead>
    <tr>
      <th>
        Name
      </th>

      <th>
        Type
      </th>

      <th>
        In
      </th>

      <th>
        Notes
      </th>
    </tr>
  </thead>

  <tbody>
    <tr><td>`symbol` required</td><td>string</td><td>path</td><td>Ticker as CODE.EXCHANGE, e.g. AAPL.US, VOD.LSE, EURUSD.FOREX, BTC-USD.CC. Example `AAPL.US`</td></tr>
    <tr><td>`fmt`</td><td>string</td><td>query</td><td>Output format; the default is csv, so send json to get JSON. One of `csv`, `json` Example `json`</td></tr>
    <tr><td>`period`</td><td>string</td><td>query</td><td>Bar size: d daily (default), w weekly, m monthly. One of `d`, `w`, `m`</td></tr>
    <tr><td>`order`</td><td>string</td><td>query</td><td>a oldest first (default) or d newest first. One of `a`, `d`</td></tr>

    <tr>
      <td>
        `from`
      </td>

      <td>
        string
      </td>

      <td>
        query
      </td>

      <td>
        Window start, YYYY-MM-DD inclusive; a different date format is silently reinterpreted.
      </td>
    </tr>

    <tr>
      <td>
        `to`
      </td>

      <td>
        string
      </td>

      <td>
        query
      </td>

      <td>
        Window end, YYYY-MM-DD inclusive.
      </td>
    </tr>

    <tr>
      <td>
        `filter`
      </td>

      <td>
        string
      </td>

      <td>
        query
      </td>

      <td>
        Return one value instead of the series: last\_date, last\_open, last\_high, last\_low, last\_close or last\_volume.
      </td>
    </tr>
  </tbody>
</table>

[Vendor docs](https://eodhd.com/financial-apis/api-for-historical-data-and-volumes) · Same job: [Alpha Vantage](https://docs.webrouter.net/data-apis/alphavantage.md#alphavantage-daily), [Bank of Canada](https://docs.webrouter.net/data-apis/bankofcanada.md#bankofcanada-observations-series), [Bank of England](https://docs.webrouter.net/data-apis/bankofengland.md#bankofengland-series-csv), [Binance](https://docs.webrouter.net/data-apis/binance.md#binance-klines), [Coinbase Exchange](https://docs.webrouter.net/data-apis/coinbase-exchange.md#coinbase-exchange-candles-get), [CoinGecko](https://docs.webrouter.net/data-apis/coingecko.md#coingecko-coins-market-chart)

```python Python theme={null}
router.call_data_api("eodhd.eod.prices", {'symbol': 'AAPL.US', 'fmt': 'json'})
```

```text MCP theme={null}
call_data_api(endpoint="eodhd.eod.prices", params={"symbol": "AAPL.US", "fmt": "json"})
```

> [!NOTE]
>
> * One symbol per request; with no dates the whole history comes back.
> * An unrecognised fmt, period or order is silently replaced by its default instead of failing, so validate them.
> * A ticker not carried answers 404 and still costs one call.

### Get a delayed quote

GET

`/api/real-time/{ticker}`

`eodhd.live.quote`

Latest delayed price with session open, high, low, volume, previous close and change.

Input

<table>
  <thead>
    <tr>
      <th>
        Name
      </th>

      <th>
        Type
      </th>

      <th>
        In
      </th>

      <th>
        Notes
      </th>
    </tr>
  </thead>

  <tbody>
    <tr><td>`ticker` required</td><td>string</td><td>path</td><td>Ticker as CODE.EXCHANGE, e.g. AAPL.US, VOD.LSE, EURUSD.FOREX, BTC-USD.CC. Example `AAPL.US`</td></tr>
    <tr><td>`fmt`</td><td>string</td><td>query</td><td>Output format; the default is csv, so send json to get JSON. One of `csv`, `json` Example `json`</td></tr>

    <tr>
      <td>
        `s`
      </td>

      <td>
        string
      </td>

      <td>
        query
      </td>

      <td>
        More tickers, comma-separated, for several quotes in one call (15 to 20 recommended).
      </td>
    </tr>

    <tr>
      <td>
        `filter`
      </td>

      <td>
        string
      </td>

      <td>
        query
      </td>

      <td>
        Return one field only: code, timestamp, gmtoffset, open, high, low, close, volume, previousClose, change or change\_p.
      </td>
    </tr>
  </tbody>
</table>

[Vendor docs](https://eodhd.com/financial-apis/live-realtime-stocks-api) · Same job: [Alpha Vantage](https://docs.webrouter.net/data-apis/alphavantage.md#alphavantage-quote), [Binance](https://docs.webrouter.net/data-apis/binance.md#binance-ticker-24hr), [Coinbase Exchange](https://docs.webrouter.net/data-apis/coinbase-exchange.md#coinbase-exchange-stats-get), [CoinMarketCap](https://docs.webrouter.net/data-apis/coinmarketcap.md#coinmarketcap-global-metrics-latest), [Commodity Price API](https://docs.webrouter.net/data-apis/commoditypriceapi.md#commoditypriceapi-rates-latest), [Financial Datasets](https://docs.webrouter.net/data-apis/financialdatasets.md#financialdatasets-prices-snapshot)

```python Python theme={null}
router.call_data_api("eodhd.live.quote", {'ticker': 'AAPL.US', 'fmt': 'json'})
```

```text MCP theme={null}
call_data_api(endpoint="eodhd.live.quote", params={"ticker": "AAPL.US", "fmt": "json"})
```

> [!NOTE]
>
> * Stocks are delayed 15 to 20 minutes, forex about 1 minute. open, high, low and volume describe the session so far; only close moves.

### Search tickers

GET

`/api/search/{query_string}`

`eodhd.search`

Find stocks, ETFs, funds, indices and crypto by ticker, company name or ISIN.

Input

<table>
  <thead>
    <tr>
      <th>
        Name
      </th>

      <th>
        Type
      </th>

      <th>
        In
      </th>

      <th>
        Notes
      </th>
    </tr>
  </thead>

  <tbody>
    <tr><td>`query_string` required</td><td>string</td><td>path</td><td>Ticker, name or ISIN; URL-encode spaces. Example `Apple Inc`</td></tr>
    <tr><td>`fmt`</td><td>string</td><td>query</td><td>Output format; the default is csv, so send json to get JSON. One of `csv`, `json` Example `json`</td></tr>

    <tr>
      <td>
        `limit`
      </td>

      <td>
        integer
      </td>

      <td>
        query
      </td>

      <td>
        Results, 1 to 500; default 15.
      </td>
    </tr>

    <tr><td>`type`</td><td>string</td><td>query</td><td>Asset type filter. One of `all`, `stock`, `etf`, `fund`, `index`, `crypto`</td></tr>

    <tr>
      <td>
        `exchange`
      </td>

      <td>
        string
      </td>

      <td>
        query
      </td>

      <td>
        Exchange code, e.g. US, LSE, FOREX.
      </td>
    </tr>
  </tbody>
</table>

[Vendor docs](https://eodhd.com/financial-apis/search-api-for-stocks-etfs-mutual-funds-and-indices)

```python Python theme={null}
router.call_data_api("eodhd.search", {'query_string': 'Apple Inc', 'fmt': 'json'})
```

```text MCP theme={null}
call_data_api(endpoint="eodhd.search", params={"query_string": "Apple Inc", "fmt": "json"})
```

> [!NOTE]
>
> * The demo token does not work for search; use a real key.

### Get fundamentals

GET

`/api/v1.1/fundamentals/{ticker}`

`eodhd.fundamentals`

Company profile, financial statements, valuation and more for a stock, ETF, fund or index (v1.1).

Input

<table>
  <thead>
    <tr>
      <th>
        Name
      </th>

      <th>
        Type
      </th>

      <th>
        In
      </th>

      <th>
        Notes
      </th>
    </tr>
  </thead>

  <tbody>
    <tr><td>`ticker` required</td><td>string</td><td>path</td><td>Ticker as CODE.EXCHANGE, e.g. AAPL.US, VOD.LSE, EURUSD.FOREX, BTC-USD.CC. Example `AAPL.US`</td></tr>

    <tr>
      <td>
        `filter`
      </td>

      <td>
        string
      </td>

      <td>
        query
      </td>

      <td>
        A section or single field to return instead of the whole large payload.
      </td>
    </tr>
  </tbody>
</table>

[Vendor docs](https://eodhd.com/financial-apis/stock-etfs-fundamental-data-feeds) · Same job: [Alpha Vantage](https://docs.webrouter.net/data-apis/alphavantage.md#alphavantage-overview), [Benzinga](https://docs.webrouter.net/data-apis/benzinga.md#benzinga-ratings), [DefiLlama](https://docs.webrouter.net/data-apis/defillama.md#defillama-protocols), [Financial Datasets](https://docs.webrouter.net/data-apis/financialdatasets.md#financialdatasets-financials-income-statements), [Finnhub](https://docs.webrouter.net/data-apis/finnhub.md#finnhub-stock-metrics), [Fiscal.ai](https://docs.webrouter.net/data-apis/fiscal-ai.md#fiscal-ai-ratios-get)

```python Python theme={null}
router.call_data_api("eodhd.fundamentals", {'ticker': 'AAPL.US'})
```

```text MCP theme={null}
call_data_api(endpoint="eodhd.fundamentals", params={"ticker": "AAPL.US"})
```

> [!NOTE]
>
> * JSON only. The full payload for a stock is large; use filter to narrow it.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.