> ## 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.

# Finnhub

> Stock quotes, candles, company profiles, fundamentals, earnings and market news from Finnhub.

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

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

Needs&#x20;

`FINNHUB_API_KEY`

Endpoints

10

Auth

Key in query

[Vendor docs](https://finnhub.io/docs/api)

&#x20;·&#x20;

[Pricing](https://finnhub.io/pricing)

## Setup

| Variable | | What it is |
| - | - | - |
| `FINNHUB_API_KEY` | required | a Finnhub API token (finnhub.io/dashboard) |

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

## Notes

* The free plan allows 60 calls a minute and 30 calls a second overall; some endpoints (candles, international quotes, many fundamentals) need a paid plan and answer 403 otherwise.
* Dates are YYYY-MM-DD and timestamps are UNIX seconds.
* Real-time prices for US stocks only on the free plan.

## Endpoints

GET

Get a stock quote

Current price, change, day high/low, open and previous close for a US stock.

[Open](#finnhub-quote-get)

GET

Search symbols

Find tickers by symbol, company name, ISIN or CUSIP.

[Open](#finnhub-symbol-search)

GET

List symbols on an exchange

All tickers listed on one exchange.

[Open](#finnhub-symbol-list)

GET

Get a company profile

Name, exchange, industry, market cap, IPO date, logo and website, by symbol, ISIN or CUSIP.

[Open](#finnhub-company-profile)

GET

Get stock candles

OHLCV candles for a stock between two timestamps.

[Open](#finnhub-stock-candles)

GET

Get basic financials

Margins, P/E, 52-week high and low and other ratios.

[Open](#finnhub-stock-metrics)

GET

Get earnings surprises

Quarterly actual versus estimated EPS going back to 2000.

[Open](#finnhub-stock-earnings)

GET

Get company news

News articles about a North American company in a date range.

[Open](#finnhub-news-company)

GET

Get market news

Latest market news by category.

[Open](#finnhub-news-market)

GET

Get forex rates

Exchange rates from a base currency to all others.

[Open](#finnhub-forex-rates)

### Get a stock quote

GET

`/quote`

`finnhub.quote.get`

Current price, change, day high/low, open and previous close for a US stock.

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>query</td><td>Ticker symbol, e.g. AAPL. Example `AAPL`</td></tr>
  </tbody>
</table>

[Vendor docs](https://finnhub.io/docs/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), [EODHD](https://docs.webrouter.net/data-apis/eodhd.md#eodhd-live-quote)

```python Python theme={null}
router.call_data_api("finnhub.quote.get", {'symbol': 'AAPL'})
```

```text MCP theme={null}
call_data_api(endpoint="finnhub.quote.get", params={"symbol": "AAPL"})
```

> [!NOTE]
>
> * Response keys are single letters: c current, d change, dp percent change, h high, l low, o open, pc previous close, t timestamp (epoch seconds).

### Search symbols

GET

`/search`

`finnhub.symbol.search`

Find tickers by symbol, company name, ISIN or CUSIP.

Input

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

      <th>
        Type
      </th>

      <th>
        In
      </th>

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

  <tbody>
    <tr><td>`q` required</td><td>string</td><td>query</td><td>Symbol, name, ISIN or CUSIP. Example `apple`</td></tr>

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

      <td>
        string
      </td>

      <td>
        query
      </td>

      <td>
        Limit to an exchange.
      </td>
    </tr>
  </tbody>
</table>

[Vendor docs](https://finnhub.io/docs/api)

```python Python theme={null}
router.call_data_api("finnhub.symbol.search", {'q': 'apple'})
```

```text MCP theme={null}
call_data_api(endpoint="finnhub.symbol.search", params={"q": "apple"})
```

### List symbols on an exchange

GET

`/stock/symbol`

`finnhub.symbol.list`

All tickers listed on one exchange.

Input

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

      <th>
        Type
      </th>

      <th>
        In
      </th>

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

  <tbody>
    <tr><td>`exchange` required</td><td>string</td><td>query</td><td>Exchange code, e.g. US. Example `US`</td></tr>

    <tr>
      <td>
        `mic`
      </td>

      <td>
        string
      </td>

      <td>
        query
      </td>

      <td>
        Filter by MIC code.
      </td>
    </tr>

    <tr>
      <td>
        `securityType`
      </td>

      <td>
        string
      </td>

      <td>
        query
      </td>

      <td>
        Filter by security type (OpenFIGI standard).
      </td>
    </tr>

    <tr>
      <td>
        `currency`
      </td>

      <td>
        string
      </td>

      <td>
        query
      </td>

      <td>
        Filter by currency.
      </td>
    </tr>
  </tbody>
</table>

[Vendor docs](https://finnhub.io/docs/api)

```python Python theme={null}
router.call_data_api("finnhub.symbol.list", {'exchange': 'US'})
```

```text MCP theme={null}
call_data_api(endpoint="finnhub.symbol.list", params={"exchange": "US"})
```

> [!NOTE]
>
> * Large response for big exchanges.

### Get a company profile

GET

`/stock/profile2`

`finnhub.company.profile`

Name, exchange, industry, market cap, IPO date, logo and website, by symbol, ISIN or CUSIP.

Input

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

      <th>
        Type
      </th>

      <th>
        In
      </th>

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

  <tbody>
    <tr><td>`symbol`</td><td>string</td><td>query</td><td>Ticker symbol. Example `AAPL`</td></tr>

    <tr>
      <td>
        `isin`
      </td>

      <td>
        string
      </td>

      <td>
        query
      </td>

      <td>
        ISIN.
      </td>
    </tr>

    <tr>
      <td>
        `cusip`
      </td>

      <td>
        string
      </td>

      <td>
        query
      </td>

      <td>
        CUSIP.
      </td>
    </tr>
  </tbody>
</table>

[Vendor docs](https://finnhub.io/docs/api) · Same job: [Airscale](https://docs.webrouter.net/data-apis/airscale.md#airscale-company-get), [akta.pro](https://docs.webrouter.net/data-apis/akta.md#akta-company-enrich), [Albacross](https://docs.webrouter.net/data-apis/albacross.md#albacross-enrich-company), [AnyAPI](https://docs.webrouter.net/data-apis/anyapi.md#anyapi-linkedin-company), [Apollo.io](https://docs.webrouter.net/data-apis/apollo.md#apollo-organizations-enrich), [Aviato](https://docs.webrouter.net/data-apis/aviato.md#aviato-company-enrich)

```python Python theme={null}
router.call_data_api("finnhub.company.profile", {'symbol': 'AAPL'})
```

```text MCP theme={null}
call_data_api(endpoint="finnhub.company.profile", params={"symbol": "AAPL"})
```

> [!NOTE]
>
> * Give exactly one of symbol, isin or cusip. Market cap is in millions of the reporting currency.

### Get stock candles

GET

`/stock/candle`

`finnhub.stock.candles`

OHLCV candles for a stock between two timestamps.

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>query</td><td>Ticker symbol, e.g. AAPL. Example `AAPL`</td></tr>
    <tr><td>`resolution` required</td><td>string</td><td>query</td><td>Candle size: 1, 5, 15, 30, 60, D, W or M. Example `D`</td></tr>
    <tr><td>`from` required</td><td>integer</td><td>query</td><td>Start, UNIX seconds. Example `1731000000`</td></tr>
    <tr><td>`to` required</td><td>integer</td><td>query</td><td>End, UNIX seconds. Example `1731600000`</td></tr>
  </tbody>
</table>

[Vendor docs](https://finnhub.io/docs/api) · 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("finnhub.stock.candles", {'symbol': 'AAPL', 'resolution': 'D', 'from': 1731000000, 'to': 1731600000})
```

```text MCP theme={null}
call_data_api(endpoint="finnhub.stock.candles", params={"symbol": "AAPL", "resolution": "D", "from": 1731000000, "to": 1731600000})
```

> [!NOTE]
>
> * Only one month of intraday data is returned per call.
> * Candles come back as parallel arrays: o, h, l, c, v, t.
> * May require a paid plan; a free key can be refused with 403.

### Get basic financials

GET

`/stock/metric`

`finnhub.stock.metrics`

Margins, P/E, 52-week high and low and other ratios.

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>query</td><td>Ticker symbol, e.g. AAPL. Example `AAPL`</td></tr>
    <tr><td>`metric` required</td><td>string</td><td>query</td><td>Metric group; use all. Example `all`</td></tr>
  </tbody>
</table>

[Vendor docs](https://finnhub.io/docs/api) · 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), [EODHD](https://docs.webrouter.net/data-apis/eodhd.md#eodhd-fundamentals), [Financial Datasets](https://docs.webrouter.net/data-apis/financialdatasets.md#financialdatasets-financials-income-statements), [Fiscal.ai](https://docs.webrouter.net/data-apis/fiscal-ai.md#fiscal-ai-ratios-get)

```python Python theme={null}
router.call_data_api("finnhub.stock.metrics", {'symbol': 'AAPL', 'metric': 'all'})
```

```text MCP theme={null}
call_data_api(endpoint="finnhub.stock.metrics", params={"symbol": "AAPL", "metric": "all"})
```

### Get earnings surprises

GET

`/stock/earnings`

`finnhub.stock.earnings`

Quarterly actual versus estimated EPS going back to 2000.

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>query</td><td>Ticker symbol, e.g. AAPL. Example `AAPL`</td></tr>

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

      <td>
        integer
      </td>

      <td>
        query
      </td>

      <td>
        Number of quarters; blank for the full history.
      </td>
    </tr>
  </tbody>
</table>

[Vendor docs](https://finnhub.io/docs/api) · 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), [EODHD](https://docs.webrouter.net/data-apis/eodhd.md#eodhd-fundamentals), [Financial Datasets](https://docs.webrouter.net/data-apis/financialdatasets.md#financialdatasets-financials-income-statements), [Fiscal.ai](https://docs.webrouter.net/data-apis/fiscal-ai.md#fiscal-ai-ratios-get)

```python Python theme={null}
router.call_data_api("finnhub.stock.earnings", {'symbol': 'AAPL'})
```

```text MCP theme={null}
call_data_api(endpoint="finnhub.stock.earnings", params={"symbol": "AAPL"})
```

### Get company news

GET

`/company-news`

`finnhub.news.company`

News articles about a North American company in a date range.

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>query</td><td>Company symbol. Example `AAPL`</td></tr>
    <tr><td>`from` required</td><td>string</td><td>query</td><td>Start date, YYYY-MM-DD. Example `2026-11-01`</td></tr>
    <tr><td>`to` required</td><td>string</td><td>query</td><td>End date, YYYY-MM-DD. Example `2026-11-08`</td></tr>
  </tbody>
</table>

[Vendor docs](https://finnhub.io/docs/api) · Same job: [akta.pro](https://docs.webrouter.net/data-apis/akta.md#akta-news-search), [Alpha Vantage](https://docs.webrouter.net/data-apis/alphavantage.md#alphavantage-news), [Andi AI Search](https://docs.webrouter.net/data-apis/andi.md#andi-news-topics), [AnyAPI](https://docs.webrouter.net/data-apis/anyapi.md#anyapi-google-news), [Benzinga](https://docs.webrouter.net/data-apis/benzinga.md#benzinga-news), [Context.dev](https://docs.webrouter.net/data-apis/branddev.md#branddev-news-search)

```python Python theme={null}
router.call_data_api("finnhub.news.company", {'symbol': 'AAPL', 'from': '2026-11-01', 'to': '2026-11-08'})
```

```text MCP theme={null}
call_data_api(endpoint="finnhub.news.company", params={"symbol": "AAPL", "from": "2026-11-01", "to": "2026-11-08"})
```

> [!NOTE]
>
> * North American companies only.

### Get market news

GET

`/news`

`finnhub.news.market`

Latest market news by category.

Input

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

      <th>
        Type
      </th>

      <th>
        In
      </th>

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

  <tbody>
    <tr><td>`category` required</td><td>string</td><td>query</td><td>general, forex, crypto or merger. One of `general`, `forex`, `crypto`, `merger` Example `general`</td></tr>

    <tr>
      <td>
        `minId`
      </td>

      <td>
        integer
      </td>

      <td>
        query
      </td>

      <td>
        Return only news with an id above this; default 0.
      </td>
    </tr>
  </tbody>
</table>

[Vendor docs](https://finnhub.io/docs/api) · Same job: [akta.pro](https://docs.webrouter.net/data-apis/akta.md#akta-news-search), [Alpha Vantage](https://docs.webrouter.net/data-apis/alphavantage.md#alphavantage-news), [Andi AI Search](https://docs.webrouter.net/data-apis/andi.md#andi-news-topics), [AnyAPI](https://docs.webrouter.net/data-apis/anyapi.md#anyapi-google-news), [Benzinga](https://docs.webrouter.net/data-apis/benzinga.md#benzinga-news), [Context.dev](https://docs.webrouter.net/data-apis/branddev.md#branddev-news-search)

```python Python theme={null}
router.call_data_api("finnhub.news.market", {'category': 'general'})
```

```text MCP theme={null}
call_data_api(endpoint="finnhub.news.market", params={"category": "general"})
```

### Get forex rates

GET

`/forex/rates`

`finnhub.forex.rates`

Exchange rates from a base currency to all others.

Input

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

      <th>
        Type
      </th>

      <th>
        In
      </th>

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

  <tbody>
    <tr>
      <td>
        `base`
      </td>

      <td>
        string
      </td>

      <td>
        query
      </td>

      <td>
        Base currency; default EUR.
      </td>
    </tr>

    <tr>
      <td>
        `date`
      </td>

      <td>
        string
      </td>

      <td>
        query
      </td>

      <td>
        Date; blank for latest.
      </td>
    </tr>
  </tbody>
</table>

[Vendor docs](https://finnhub.io/docs/api)

```python Python theme={null}
router.call_data_api("finnhub.forex.rates")
```

```text MCP theme={null}
call_data_api(endpoint="finnhub.forex.rates")
```


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