limitstring
limit
https://api.sandbase.ai/v1/api/financial-datasets/analyst-estimatesGet Analyst Estimates from Financial Datasets. Returns the official Financial Datasets API response unchanged.
आपका आउटपुट यहाँ दिखाई देगा
इनपुट पूरा करें, फिर Run पर क्लिक करें।
Returns analyst consensus estimates for a public company. Each row has an estimated earnings per share and revenue for one future fiscal period. You pass a stock ticker, and you can set period and limit.
earnings_per_share for the next two fiscal years of a stock such as AAPL.revenue values across fiscal periods.curl -X POST "https://api.sandbase.ai/v1/api/financial-datasets/analyst-estimates" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{"limit": "2", "period": "annual", "ticker": "AAPL"}'
The result is returned in outputs[0].data.
| Name | Type | Required | Description |
|---|---|---|---|
limit | string | No | limit |
period | string | No | period |
ticker | string | No | ticker |
Real response for the request above, trimmed: lists keep their first item and long strings are cut.
{
"analyst_estimates": [
{
"earnings_per_share": 9.3,
"fiscal_period": "2027-09-30",
"period": "annual",
"revenue": 499734519018
}
]
}
| Field | Meaning |
|---|---|
analyst_estimates[] | List of estimate rows, one per fiscal period. The request used limit set to 2, and the response holds two rows. |
analyst_estimates[].fiscal_period | End date of the fiscal period the estimate covers, in YYYY-MM-DD format, for example 2027-09-30. |
analyst_estimates[].period | Length of the period. The value is annual in this response, which matches the period request value. |
analyst_estimates[].earnings_per_share | Estimated earnings per share for that fiscal period, for example 9.3. |
analyst_estimates[].revenue | Estimated revenue for that fiscal period, given as a plain number, for example 499734519018. |
ticker, for example AAPL.period set to annual. Rows are ordered by fiscal_period, earliest first.limit to cap the number of rows returned. It is sent as a string, such as "2".$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/analyst-estimates" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"limit": "2",
"period": "annual",
"ticker": "AAPL"
}'अपने SandBase API key को अपने सर्वर environment में सेट करें। Requests Bearer authentication का उपयोग करती हैं।
export SANDBASE_API_KEY="YOUR_API_KEY"अपना key सर्वर पर रखें। इसे browser code में expose न करें।
limitstringlimit
periodstringperiod
tickerstringticker
इस 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/analyst-estimates पर Authorization header (Bearer) में अपनी SandBase API key और parameters को JSON body के रूप में भेजें। आप इस पेज के Playground में बिना code लिखे भी इसे आज़मा सकते हैं।
$0.02 प्रति call, आपकी SandBase balance से बिल किया जाएगा। आपसे केवल आपके किए गए calls के लिए शुल्क लिया जाता है; कोई subscription नहीं है।
कोई parameters आवश्यक नहीं हैं। वैकल्पिक: limit (string), period (string) और ticker (string)। Parameters table और इस पेज का Playground हर field सूचीबद्ध करते हैं।
एक JSON response जो उसी HTTP request में लौटाया जाता है (synchronous)। इस पेज का README एक sample response शामिल करता है।
नहीं। Financial Datasets Get Analyst Estimates SandBase के माध्यम से चलता है, इसलिए एक SandBase API key इस endpoint और catalog के हर अन्य API और model को कवर करती है। आपको अलग से Financial Datasets API access के लिए आवेदन करने की आवश्यकता नहीं है।