Stock fundamentals API
Key statistics, financial data, analyst targets and recent revenue, earnings and EPS against estimates.
GET /v1/finance/fundamentals1 credit per callRefunded on failureimport os, requests
res = requests.get(
"https://api.groundsocial.dev/v1/finance/fundamentals?keyword=NVDA&period=quarterly",
headers={"Authorization": f"Bearer {os.environ['GROUNDSOCIAL_API_KEY']}"},
)
res.raise_for_status()
data = res.json()Response
200 · 1 credit{ "symbol": "NVDA", "summaryDetail": { "maxAge": 1, "priceHint": { "raw": 2, "fmt": "2", "longFmt": "2" }, "previousClose": { "raw": 155.38, "fmt": "155.38" }, "open": { "raw": 144.02, "fmt": "144.02" }, "dayLow": { "raw": 141.17, "fmt": "141.17" }, "dayHigh": { "raw": 150.37, "fmt": "150.37" }, "regularMarketPreviousClose": { "raw": 155.38, "fmt": "155.38" }, "regularMarketOpen": { "raw": 144.02, "fmt": "144.02" }, "regularMarketDayLow": { "raw": 141.17, "fmt": "141.17" }, "regularMarketDayHigh": { "raw": 150.37, "fmt": "150.37" }, "…": "54 more fields" }, "defaultKeyStatistics": { "maxAge": 1, "priceHint": { "raw": 2, "fmt": "2", "longFmt": "2" }, "enterpriseValue": { "raw": 3539442860032, "fmt": "3.54T", "longFmt": "3,539,442,860,032" }, "forwardPE": { "raw": 8.991117, "fmt": "8.99" }, "profitMargins": { "raw": 0.62535, "fmt": "62.53%" }, "floatShares": { "raw": 23138626220, "fmt": "23.14B", "longFmt": "23,138,626,220" }, "sharesOutstanding": { "raw": 24147000000, "fmt": "24.15B", "longFmt": "24,147,000,000" }, "sharesShort": { "raw": 305326286, "fmt": "305.33M", "longFmt": "305,326,286" }, "sharesShortPriorMonth": { "raw": 301622687, "fmt": "301.62M", "longFmt": "301,622,687" }, "sharesShortPreviousMonthDate": { "raw": 1792022400, "fmt": "2026-10-15" }, "…": "51 more fields" }, "financialData": { "maxAge": 86400, "currentPrice": { "raw": 149.3, "fmt": "149.30" }, "targetHighPrice": { "raw": 425, "fmt": "425.00" }, "targetLowPrice": { "raw": 130, "fmt": "130.00" }, "targetMeanPrice": { "raw": 242.4278, "fmt": "242.43" }, "targetMedianPrice": { "raw": 240, "fmt": "240.00" }, "recommendationMean": { "raw": 1.66667, "fmt": "1.67" }, "recommendationKey": "buy", "numberOfAnalystOpinions": { "raw": 59, "fmt": "59", "longFmt": "59" }, "totalCash": { "raw": 97731002368, "fmt": "97.73B", "longFmt": "97,731,002,368" }, "…": "20 more fields" }, "earnings": [ { "date": "4Q2025", "fiscalQuarter": "4Q2026", "revenue": { "raw": 68127000000, "fmt": "68.13B", "longFmt": "68,127,000,000" }, "earnings": { "raw": 42960000000, "fmt": "42.96B", "longFmt": "42,960,000,000" }, "profitMargin": { "raw": 0.630587, "fmt": "63.06%" } }, "… 3 more" ], "earningsHistory": [ { "maxAge": 1, "epsActual": { "raw": 1.62, "fmt": "1.62" }, "epsEstimate": { "raw": 1.53812, "fmt": "1.54" }, "epsDifference": { "raw": 0.08, "fmt": "0.08" }, "surprisePercent": { "raw": 0.053200003, "fmt": "5.32%" }, "quarter": { "raw": 1769817600, "fmt": "2026-01-31" }, "currency": "USD", "period": "-4q" }, "… 3 more" ]}Parameters
| Name | Type | Description |
|---|---|---|
keywordquery · required | string | A ticker (AAPL, ^GSPC, EURUSD=X, BTC-USD) or a company name. Example: AAPL. |
periodquery | "quarterly" | "annual" | One of quarterly, annual. |
limitquery | integer | Periods per page, 1 to 20. Defaults to 4. |
Response fields
200 with a FinanceFundamentals, in Finance’s own JSON.
| Field | Type | Description |
|---|---|---|
symbol | string | |
summaryDetail | object | |
defaultKeyStatistics | object | |
financialData | object | |
earnings | object[] | Revenue and earnings per period, newest last. |
earningsHistory | object[] | EPS actual against estimate, last quarters. |
Status codes
| Status | Meaning |
|---|---|
200 | The fundamentals. |
400 | Invalid input. Nothing was charged. |
401 | Missing or invalid API key. |
402 | Not enough credits, a spend cap was reached, or payment is required. |
403 | The target is private, or the account is suspended. |
404 | No ticker or data matches. |
429 | Too many requests. Wait for Retry-After seconds. |
503 | Finance is temporarily unavailable. Retryable; nothing was charged. |
Every error has code, message, hint and retryable. All error codes
Questions
Quarterly or annual?
Both: pass period.
Finance is a trademark of Yahoo Inc. We are not affiliated with or endorsed by Yahoo Inc.