Skip to content

sidward35/stocks-api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 

Repository files navigation

stocks-api

API for stock market fundamentals data

Usage

URL: www.stockapi.gq/prod/{SYMBOL}

Output:

{
  "ticker": "MSFT",
  "quote": {
    "c": 298.58,
    "d": 3.78,
    "dp": 1.2822,
    "h": 300.21,
    "l": 294.51,
    "o": 296.725,
    "pc": 294.8,
    "t": 1632340802
  },
  "technicalAnalysis": {
    "technicalAnalysis": {
      "count": {
        "buy": 3,
        "neutral": 8,
        "sell": 5
      },
      "signal": "neutral"
    },
    "trend": {
      "adx": 28.152014727409973,
      "trending": "True"
    }
  },
  "sentiment": {
    "buzz": {
      "articlesInLastWeek": 143,
      "buzz": 0.9565,
      "weeklyAverage": 149.5
    },
    "companyNewsScore": 0.8301,
    "sectorAverageBullishPercent": 0.6429,
    "sectorAverageNewsScore": 0.523,
    "sentiment": {
      "bearishPercent": 0.12,
      "bullishPercent": 0.88
    },
    "symbol": "MSFT"
  },
  "financials": {
    "10DayAverageTradingVolume": 24.48559,
    "13WeekPriceReturnDaily": 12.05879,
    "26WeekPriceReturnDaily": 24.70867,
    "3MonthAverageTradingVolume": 470.45079,
    "52WeekHigh": 305.84,
    "52WeekHighDate": "2021-08-20",
    "52WeekLow": 196.38,
    "52WeekLowDate": "2020-09-21",
    "52WeekPriceReturnDaily": 46.86362,
    "5DayPriceReturnDaily": -0.90575,
    "assetTurnoverAnnual": 0.52934,
    "assetTurnoverTTM": 0.52934,
    "beta": 0.78362,
    "bookValuePerShareAnnual": 18.88389,
    "bookValuePerShareQuarterly": 18.88389,
    "bookValueShareGrowth5Y": 15.4153,
    "capitalSpendingGrowth5Y": 19.83997,
    "cashFlowPerShareAnnual": 9.58951,
    "cashFlowPerShareTTM": 9.58983,
    "cashPerSharePerShareAnnual": 17.33395,
    "cashPerSharePerShareQuarterly": 17.33395,
    "currentDividendYieldTTM": 0.74414,
    "currentEv/freeCashFlowAnnual": 60.08783,
    "currentEv/freeCashFlowTTM": 60.08783,
    "currentRatioAnnual": 2.07999,
    "currentRatioQuarterly": 2.07999,
    "dividendGrowthRate5Y": 9.89721,
    "dividendPerShare5Y": 1.832,
    "dividendPerShareAnnual": 2.19,
    "dividendYield5Y": 1.18055,
    "dividendYieldIndicatedAnnual": 0.84268,
    "dividendsPerShareTTM": 2.19,
    "ebitdPerShareTTM": 10.72617,
    "ebitdaCagr5Y": 19.26997,
    "ebitdaInterimCagr5Y": 19.26997,
    "epsBasicExclExtraItemsAnnual": 8.11859,
    "epsBasicExclExtraItemsTTM": 8.12005,
    "epsExclExtraItemsAnnual": 8.0535,
    "epsExclExtraItemsTTM": 8.05507,
    "epsGrowth3Y": 27.51829,
    "epsGrowth5Y": 25.73034,
    "epsGrowthQuarterlyYoy": 48.31527,
    "epsGrowthTTMYoy": 39.74234,
    "epsInclExtraItemsAnnual": 8.0535,
    "epsInclExtraItemsTTM": 8.05507,
    "epsNormalizedAnnual": 8.05497,
    "focfCagr5Y": 23.15609,
    "freeCashFlowAnnual": 39597,
    "freeCashFlowPerShareTTM": 5.20482,
    "freeCashFlowTTM": 39597,
    "freeOperatingCashFlow/revenue5Y": 20.69168,
    "freeOperatingCashFlow/revenueTTM": 23.5573,
    "grossMargin5Y": 66.78962,
    "grossMarginAnnual": 68.9258,
    "grossMarginTTM": 68.9258,
    "inventoryTurnoverAnnual": 23.0554,
    "inventoryTurnoverTTM": 23.0554,
    "longTermDebt/equityAnnual": 43.54171,
    "longTermDebt/equityQuarterly": 43.54171,
    "marketCapitalization": 2211633,
    "monthToDatePriceReturnDaily": -2.51093,
    "netDebtAnnual": -59647,
    "netDebtInterim": -59647,
    "netIncomeEmployeeAnnual": 356226.8,
    "netIncomeEmployeeTTM": 338513.8,
    "netInterestCoverageAnnual": "None",
    "netInterestCoverageTTM": "None",
    "netMarginGrowth5Y": 10.09889,
    "netProfitMargin5Y": 31.17195,
    "netProfitMarginAnnual": 36.45174,
    "netProfitMarginTTM": 36.45174,
    "operatingMargin5Y": 35.66566,
    "operatingMarginAnnual": 41.58714,
    "operatingMarginTTM": 41.58714,
    "payoutRatioAnnual": 27.53505,
    "payoutRatioTTM": 27.53505,
    "pbAnnual": 15.58471,
    "pbQuarterly": 15.58471,
    "pcfShareTTM": 30.31419,
    "peBasicExclExtraTTM": 33.36186,
    "peExclExtraAnnual": 36.54312,
    "peExclExtraHighTTM": 35.30567,
    "peExclExtraTTM": 36.536,
    "peExclLowTTM": 21.1734,
    "peInclExtraTTM": 36.536,
    "peNormalizedAnnual": 36.53645,
    "pfcfShareAnnual": 55.85354,
    "pfcfShareTTM": 55.85354,
    "pretaxMargin5Y": 36.37356,
    "pretaxMarginAnnual": 42.30046,
    "pretaxMarginTTM": 42.30046,
    "priceRelativeToS&P50013Week": 8.64025,
    "priceRelativeToS&P50026Week": 12.77104,
    "priceRelativeToS&P5004Week": -0.69726,
    "priceRelativeToS&P50052Week": 11.87232,
    "priceRelativeToS&P500Ytd": 14.04855,
    "psAnnual": 13.15759,
    "psTTM": 13.15759,
    "ptbvAnnual": 26.18029,
    "ptbvQuarterly": 26.18029,
    "quickRatioAnnual": 2.05026,
    "quickRatioQuarterly": 2.05026,
    "receivablesTurnoverAnnual": 4.79881,
    "receivablesTurnoverTTM": 4.79881,
    "revenueEmployeeAnnual": 977255.8,
    "revenueEmployeeTTM": 928663,
    "revenueGrowth3Y": 15.05574,
    "revenueGrowth5Y": 13.01919,
    "revenueGrowthQuarterlyYoy": 21.34725,
    "revenueGrowthTTMYoy": 17.53173,
    "revenuePerShareAnnual": 22.09359,
    "revenuePerShareTTM": 22.09431,
    "revenueShareGrowth5Y": 14.19764,
    "roaRfy": 19.29522,
    "roaa5Y": 14.75096,
    "roae5Y": 40.29852,
    "roaeTTM": 47.07867,
    "roeRfy": 47.07867,
    "roeTTM": 19.29522,
    "roi5Y": 19.47344,
    "roiAnnual": 25.84604,
    "roiTTM": 25.84604,
    "tangibleBookValuePerShareAnnual": 11.23514,
    "tangibleBookValuePerShareQuarterly": 11.23514,
    "tbvCagr5Y": 10.88566,
    "totalDebt/totalEquityAnnual": 49.78378,
    "totalDebt/totalEquityQuarterly": 49.78378,
    "totalDebtCagr5Y": 5.43693,
    "yearToDatePriceReturnDaily": 32.31724
  }
}