File size: 1,018 Bytes
50c0d03
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
## yfinance Library (Ticker.info)

### Valuation Fields
```
currentPrice
regularMarketPrice
marketCap
enterpriseValue
trailingPE
forwardPE
priceToSalesTrailing12Months
priceToBook
enterpriseToEbitda
trailingPegRatio
earningsGrowth
revenueGrowth
```
### Fundamentals Fallback Fields
```
totalRevenue
netIncomeToCommon
grossProfits
operatingIncome
ebitda
totalCash
totalDebt
freeCashflow
operatingCashflow
operatingMargins
profitMargins
debtToEquity
longName
shortName
sector
industry
```
## Chart API

### Endpoint
`GET https://query1.finance.yahoo.com/v8/finance/chart/{ticker}`
### Query Parameters
```
interval   (1d)
range      (1y, 3mo, 5d, 1d)
```
### Response Structure
```
chart
  result[]
    meta
      regularMarketPrice
      previousClose
    indicators
      quote[]
        close[]
```
## Options API
### Endpoint
`GET https://query1.finance.yahoo.com/v7/finance/options/{ticker}`
### Response Structure
```
optionChain
  result[]
    options[]
      calls[]
        strike
        impliedVolatility
```