Sand AISand AI MAGI-2MAGI-2 ist jetzt auf SandBase: 1080p-Video mit nativem AudioJetzt testen

MarketBeat Marketrank

API-Dokumentation
https://api.sandbase.ai/v1/api/marketbeat/marketrank

Get 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.

Preis
$0.01USD / Aufruf
Methode
POST
Antwort
Asynchrones JSON
Parameter
1 erforderlich · 1 optional

Playground

Eingabe
Stock ticker symbol (e.g. 'AAPL').
Stock exchange (e.g. 'NYSE', '').
AusgabeBereit

Ihre Ausgabe wird hier angezeigt

Vervollständigen Sie die Eingaben und klicken Sie dann auf Ausführen.

API-README

MarketBeat Marketrank

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.

Use cases

  • Screen a watchlist by sorting tickers on their overall MarketRank percentile.
  • Find which category pulls a stock's rank down, such as a low earnings and valuation score.
  • Show a MarketRank badge with category scores on a stock page in a portfolio app.
  • Compare the dividend and short interest scores of two stocks before adding a position.

Request

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.

Parameters

NameTypeRequiredDescription
tickerstringYesStock ticker symbol (e.g. 'AAPL').
exchangestringNoStock exchange (e.g. 'NYSE', '').

Example response

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"
}

Response fields

FieldMeaning
data.percentileThe stock's overall percentile as a string, for example 76th Percentile.
data.overall_scoreThe same percentile as a longer label, for example 76th Percentile Overall Score.
data.componentsAn 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.
scoreInside each category entry. Score out of 5, returned as text like 2.3 / 5.
detailInside each category entry. A short label joined to its value, for example Dividend StrengthStrong or Proj. Earnings Growth9.37%.
statusShows success when the call worked.

Notes

  • Scores and percentiles are strings, not numbers. Parse the value before the / to sort or filter.
  • The detail strings join the label and the value with no separator, such as Dividend StrengthStrong. Split on the known label to get the value.
  • Category keys contain spaces, and one contains an apostrophe. Read them with bracket notation.
  • For the data behind each category, call MarketBeat Analyst Ratings, MarketBeat Short Interest or MarketBeat Insider Trades.

Pricing

$0.01 per successful call. Failed calls are not charged. It is included in the daily free quota of each organization.

Mehr entdecken

Verwandte APIs

Alle APIs
APIPreisAntwort
MarketBeat$0.01 pro AufrufAsynchrones JSON
MarketBeat$0.02 pro AufrufAsynchrones JSON
MarketBeat$0.01 pro AufrufAsynchrones JSON
MarketBeat$0.01 pro AufrufAsynchrones JSON
MarketBeat$0.02 pro AufrufAsynchrones JSON
MarketBeat$0.01 pro AufrufAsynchrones JSON

Fragen

FAQ

Wie verwende ich die MarketBeat Marketrank API?

Senden Sie eine POST-Anfrage an https://api.sandbase.ai/v1/api/marketbeat/marketrank mit Ihrem SandBase API-Schlüssel im Authorization-Header (Bearer) und den Parametern als JSON-Body. Sie können das auch ohne Code direkt auf dieser Seite im Playground testen.

Was kostet die MarketBeat Marketrank API?

$0.01 pro Aufruf, abgerechnet von Ihrem SandBase-Guthaben. Es werden nur die von Ihnen getätigten Aufrufe berechnet; es gibt kein Abo.

Welche Parameter akzeptiert die MarketBeat Marketrank API?

Erforderlich: ticker (string). Optional: exchange (string). Die Parametertabelle und der Playground auf dieser Seite listen jedes Feld auf.

Was gibt die MarketBeat Marketrank API zurück?

Ein JSON-Ergebnis. Dieser Endpunkt läuft asynchron, daher zeigt die Antwort, wie Sie das fertige Ergebnis abrufen. Die README auf dieser Seite enthält eine Beispielantwort.

Benötige ich ein MarketBeat-Entwicklerkonto oder einen API-Schlüssel?

Nein. MarketBeat Marketrank läuft über SandBase, daher deckt ein SandBase API-Schlüssel diesen Endpunkt und jede andere API sowie jedes Modell im Katalog ab. Sie müssen keinen separaten Zugang für MarketBeat API beantragen.