Default

Basic Financials

Changed on

Get company basic financials such as margin, P/E ratio, 52-week high/low etc.

get/stock/metric

Request

  • Base URL
    https://finnhub.io/api/v1
  • URL
    https://finnhub.io/api/v1/stock/metric
  • Auth
    API key in query parameter token

Query parameters

symbolstring required

Symbol of the company: AAPL.

metricstring required

Metric type. Can be 1 of the following values <code>all</code>

Response

successful operation

symbolstring

Symbol of the company.

metricTypestring

Metric type.

seriesobject
metricobject

Example response

{
  "symbol": "symbol",
  "metricType": "metricType",
  "metric": "{}",
  "series": "{}"
}

Changes