tickerstringआवश्यक
Stock ticker symbol (e.g. 'AAPL').
https://api.sandbase.ai/v1/api/marketbeat/marketrankGet MarketRank scores and component details for a stock. Includes overall percentile score and individual category scores for Analyst Opinion, Earnings and Valuation, Short Interest, Dividend, News/Social Media, and.
आपका आउटपुट यहाँ दिखाई देगा
इनपुट पूरा करें, फिर Run पर क्लिक करें।
Returns the MarketBeat MarketRank for one stock. It gives an overall percentile and a score out of 5 for each of six categories, with a short detail line for each. The only required input is a ticker.
curl -X POST "https://api.sandbase.ai/v1/api/marketbeat/marketrank" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{"ticker": "AAPL"}'
The result is returned in outputs[0].data.
| Name | Type | Required | Description |
|---|---|---|---|
ticker | string | Yes | Stock ticker symbol (e.g. 'AAPL'). |
exchange | string | No | Stock exchange (e.g. 'NYSE', ''). |
Real response for the request above, trimmed: lists keep their first item and long strings are cut.
{
"data": {
"components": {
"Analyst's Opinion": {
"detail": "Analyst RatingModerate Buy",
"score": "2.3 / 5"
},
"Company Ownership": {
"detail": "Insider TradingSelling Shares",
"score": "1.4 / 5"
},
"Dividend": {
"detail": "Dividend StrengthStrong",
"score": "3.3 / 5"
},
"Earnings and Valuation": {
"detail": "Proj. Earnings Growth9.37%",
"score": "1.9 / 5"
},
"News and Social Media": {
"detail": "News Sentiment0.64",
"score": "3.5 / 5"
},
"Short Interest": {
"detail": "Short Interest LevelHealthy",
"score": "3.0 / 5"
}
},
"overall_score": "76th Percentile Overall Score",
"percentile": "76th Percentile"
},
"status": "success"
}
| Field | Meaning |
|---|---|
data.percentile | The stock's overall percentile as a string, for example 76th Percentile. |
data.overall_score | The same percentile as a longer label, for example 76th Percentile Overall Score. |
data.components | An object with one entry per category: Analyst's Opinion, Company Ownership, Dividend, Earnings and Valuation, News and Social Media, and Short Interest. Each entry holds a score and a detail. |
score | Inside each category entry. Score out of 5, returned as text like 2.3 / 5. |
detail | Inside each category entry. A short label joined to its value, for example Dividend StrengthStrong or Proj. Earnings Growth9.37%. |
status | Shows success when the call worked. |
/ to sort or filter.detail strings join the label and the value with no separator, such as Dividend StrengthStrong. Split on the known label to get the value.$0.01 per successful call. Failed calls are not charged. It is included in the daily free quota of each organization.
बिल्डिंग शुरू करें
एकीकृत authentication और usage tracking के साथ Platform API endpoint.
curl -X POST "https://api.sandbase.ai/v1/api/marketbeat/marketrank" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"ticker": "AAPL"
}'अपने SandBase API key को अपने सर्वर environment में सेट करें। Requests Bearer authentication का उपयोग करती हैं।
export SANDBASE_API_KEY="YOUR_API_KEY"अपना key सर्वर पर रखें। इसे browser code में expose न करें।
tickerstringआवश्यकStock ticker symbol (e.g. 'AAPL').
exchangestringStock exchange (e.g. 'NYSE', '').
इस API के लिए सेव किया गया example response; इसे देखते समय कोई live request नहीं की जाती।
कोई सेव response प्रकाशित नहीं किया गया है। इसका response देखने के लिए Playground में API चलाएँ।
और जानें
| API | कीमत | प्रतिक्रिया |
|---|---|---|
MarketBeat Marketrankयह API MarketBeat | $0.01 प्रति कॉल | असिंक्रोनस JSON |
MarketBeat | $0.02 प्रति कॉल | असिंक्रोनस JSON |
MarketBeat | $0.01 प्रति कॉल | असिंक्रोनस JSON |
MarketBeat | $0.01 प्रति कॉल | असिंक्रोनस JSON |
MarketBeat | $0.02 प्रति कॉल | असिंक्रोनस JSON |
MarketBeat | $0.01 प्रति कॉल | असिंक्रोनस JSON |
प्रश्न
https://api.sandbase.ai/v1/api/marketbeat/marketrank पर Authorization header (Bearer) में अपनी SandBase API key और parameters को JSON body के रूप में भेजें। आप इस पेज के Playground में बिना code लिखे भी इसे आज़मा सकते हैं।
$0.01 प्रति call, आपकी SandBase balance से बिल किया जाएगा। आपसे केवल आपके किए गए calls के लिए शुल्क लिया जाता है; कोई subscription नहीं है।
आवश्यक: ticker (string)। वैकल्पिक: exchange (string)। Parameters table और इस पेज का Playground हर field सूचीबद्ध करते हैं।
एक JSON result। यह endpoint asynchronously चलता है, इसलिए response आपको बताता है कि तैयार result कैसे प्राप्त करना है। इस पेज का README एक sample response शामिल करता है।
नहीं। MarketBeat Marketrank SandBase के माध्यम से चलता है, इसलिए एक SandBase API key इस endpoint और catalog के हर अन्य API और model को कवर करती है। आपको अलग से MarketBeat API access के लिए आवेदन करने की आवश्यकता नहीं है।