tickerstringआवश्यक
The ticker symbol (e.g. `AAPL`).
https://api.sandbase.ai/v1/api/financial-datasets/earningsGet the most recent earnings snapshot for a ticker. Optional change fields are returned only when available.
आपका आउटपुट यहाँ दिखाई देगा
इनपुट पूरा करें, फिर Run पर क्लिक करें।
Returns earnings filings for a US-listed ticker, newest report period first. Each entry holds quarterly and annual figures, EPS surprise versus estimate, and a list of signals taken from the filing. The call needs a ticker, such as AAPL.
curl -X POST "https://api.sandbase.ai/v1/api/financial-datasets/earnings" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{"ticker": "AAPL", "limit": 2}'
The result is returned in outputs[0].data.
| Name | Type | Required | Description |
|---|---|---|---|
ticker | string | Yes | The ticker symbol (e.g. AAPL). |
cursor | string | No | Opaque pagination cursor from a previous response's next_page_url. When provided, all other query parameters are ignored: the cursor carries the original request's filters. Treat it as opaque; do not construct or modify |
limit | integer | No | Number of most-recent report periods worth of filings to return, sorted by (report_period DESC, filing_date ASC). The number of entries returned may exceed limit when a recent period has both an 8-K and a 10-Q / 10-K |
Real response for the request above, trimmed: lists keep their first item and long strings are cut.
{
"earnings": [
{
"accession_number": "0000320193-26-000024",
"annual": {
"capital_expenditure": -9041000000.0,
"cash_and_equivalents": 36305000000.0,
"change_in_cash_and_equivalents": 371000000.0,
"earnings_per_share": 8.98,
"eps_surprise": "BEAT",
"eps_surprise_pct": 0.0565,
"estimated_earnings_per_share": 8.5,
"estimated_revenue": 468204283862
},
"currency": "USD",
"filing_date": "2026-11-02",
"filing_datetime": "2026-11-02T16:30:23-05:00",
"filing_url": "https://www.sec.gov/Archives/edgar/data/320193/000032019326000024/0000320193-26-…",
"filing_window": "AFTER_HOURS",
"fiscal_period": "2026-Q4",
"quarterly": {
"capital_expenditure": null,
"cash_and_equivalents": 36305000000.0,
"change_in_cash_and_equivalents": null,
"earnings_per_share": 2.1,
"earnings_per_share_chg": 0.0396,
"earnings_per_share_yoy_chg": 0.1328,
"eps_surprise": "BEAT",
"eps_surprise_pct": 0.05
},
"report_period": "2026-09-26",
"signals": [
{
"details": {
"actual": 2.1,
"estimate": 2.0,
"surprise_pct": 0.05
},
"headline": "EPS of $2.10 beat estimate of $2.00 by 5.00%",
"metric": "earnings_per_share",
"period": "2026-Q4",
"type": "EPS_BEAT"
}
],
"source_type": "8-K"
}
]
}
| Field | Meaning |
|---|---|
earnings[].ticker | Ticker symbol the entry belongs to. |
earnings[].fiscal_period / earnings[].report_period | fiscal_period is the fiscal quarter label, such as 2026-Q4. report_period is the date the period ended. |
earnings[].filing_date / earnings[].filing_datetime / earnings[].filing_window | When the filing was made. filing_datetime includes the time zone offset. filing_window shows the timing, such as AFTER_HOURS or PRE_MARKET. |
earnings[].source_type | Type of SEC filing behind the entry, such as 8-K or 10-Q. |
earnings[].accession_number / earnings[].filing_url | SEC accession number and the link to the filing index page. |
earnings[].quarterly.earnings_per_share | Reported EPS for the quarter. |
earnings[].quarterly.eps_surprise / earnings[].quarterly.eps_surprise_pct | Whether EPS beat the estimate (for example BEAT) and the size of the surprise as a fraction. 0.1543 means 15.43%. |
earnings[].quarterly.earnings_per_share_yoy_chg / earnings[].quarterly.capital_expenditure_yoy_chg | Year-over-year change as a fraction. Present only when available. |
earnings[].annual.estimated_earnings_per_share / earnings[].annual.estimated_revenue | Estimates for the full year. The annual object appears only on some entries, such as the fiscal Q4 filing. |
earnings[].signals[] | Highlights from the filing. Each has a type (for example EPS_BEAT, REVENUE_BEAT, GUIDANCE_INITIATED), a metric, a period, a readable headline, and a details object whose keys vary by type. |
limit counts report periods, not entries. One period can return two entries, such as an 8-K and a 10-Q, so the list may be longer than limit. Values above 40 are clamped to 40.report_period descending, then filing_date ascending.next_page_url as cursor. The cursor replaces all other parameters.$0.02 per successful call. Failed calls are not charged.
बिल्डिंग शुरू करें
एकीकृत authentication और usage tracking के साथ Platform API endpoint.
curl -X POST "https://api.sandbase.ai/v1/api/financial-datasets/earnings" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"limit": 2,
"ticker": "AAPL"
}'अपने SandBase API key को अपने सर्वर environment में सेट करें। Requests Bearer authentication का उपयोग करती हैं।
export SANDBASE_API_KEY="YOUR_API_KEY"अपना key सर्वर पर रखें। इसे browser code में expose न करें।
tickerstringआवश्यकThe ticker symbol (e.g. `AAPL`).
cursorstringOpaque pagination cursor from a previous response's next_page_url. When provided, all other query parameters are ignored: the cursor carries the original request's filters. Treat it as opaque; do not construct or modify it.
limitintegerNumber of most-recent report periods worth of filings to return, sorted by `(report_period DESC, filing_date ASC)`. The number of entries returned may exceed `limit` when a recent period has both an 8-K and a 10-Q / 10-K. Values above 40 are clamped to 40. Non-positive or non-integer values return 4
डिफ़ॉल्ट: 1
इस API के लिए सेव किया गया example response; इसे देखते समय कोई live request नहीं की जाती।
कोई सेव response प्रकाशित नहीं किया गया है। इसका response देखने के लिए Playground में API चलाएँ।
और जानें
| API | कीमत | प्रतिक्रिया |
|---|---|---|
Financial Datasets | $0.02 प्रति कॉल | JSON |
Financial Datasets | $0.02 प्रति कॉल | JSON |
Financial Datasets | $0.02 प्रति कॉल | JSON |
Financial Datasets | $0.02 प्रति कॉल | JSON |
Financial Datasets | $0.02 प्रति कॉल | JSON |
Financial Datasets | $0.02 प्रति कॉल | JSON |
प्रश्न
https://api.sandbase.ai/v1/api/financial-datasets/earnings पर Authorization header (Bearer) में अपनी SandBase API key और parameters को JSON body के रूप में भेजें। आप इस पेज के Playground में बिना code लिखे भी इसे आज़मा सकते हैं।
$0.02 प्रति call, आपकी SandBase balance से बिल किया जाएगा। आपसे केवल आपके किए गए calls के लिए शुल्क लिया जाता है; कोई subscription नहीं है।
आवश्यक: ticker (string)। वैकल्पिक: cursor (string) और limit (integer)। Parameters table और इस पेज का Playground हर field सूचीबद्ध करते हैं।
एक JSON response जो उसी HTTP request में लौटाया जाता है (synchronous)। इस पेज का README एक sample response शामिल करता है।
नहीं। Financial Datasets Get Earnings Data SandBase के माध्यम से चलता है, इसलिए एक SandBase API key इस endpoint और catalog के हर अन्य API और model को कवर करती है। आपको अलग से Financial Datasets API access के लिए आवेदन करने की आवश्यकता नहीं है।