Default

Recommendation Trends

Get latest analyst recommendation trends for a company.

get/stock/recommendation

Query parameters

symbolstring required

Symbol of the company: AAPL.

Response

successful operation

symbolstring

Company symbol.

buyinteger

Number of recommendations that fall into the Buy category

holdinteger

Number of recommendations that fall into the Hold category

periodstring

Updated period

sellinteger

Number of recommendations that fall into the Sell category

strongBuyinteger

Number of recommendations that fall into the Strong Buy category

strongSellinteger

Number of recommendations that fall into the Strong Sell category

Example response

[
  {
    "symbol": "symbol",
    "period": "period",
    "buy": 0,
    "sell": 1,
    "strongSell": 5,
    "strongBuy": 5,
    "hold": 6
  }
]

Changes

Changed in 3 of the 35 revisions of this API.279

    • api tag Default added

      api-tag-added

    This revision also has 3 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog

  • 26499f908d7817See the full diff
    • the response's body type/format changed from object/ to array/ for status 200

      response-body-type-changed

    • removed the optional property buy from the response with the 200 status

      response-optional-property-removed

    • removed the optional property hold from the response with the 200 status

      response-optional-property-removed

    • removed the optional property period from the response with the 200 status

      response-optional-property-removed

    • removed the optional property sell from the response with the 200 status

      response-optional-property-removed

    • removed the optional property strongBuy from the response with the 200 status

      response-optional-property-removed

    • removed the optional property strongSell from the response with the 200 status

      response-optional-property-removed

    • removed the optional property symbol from the response with the 200 status

      response-optional-property-removed

    This revision also has 3 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog

  • c5b8e420b78c18See the full diff
    • the response's body type/format changed from array/ to object/ for status 200

      response-body-type-changed

    • api tag Default removed

      api-tag-removed

    • added the optional property buy to the response with the 200 status

      response-optional-property-added

    • added the optional property hold to the response with the 200 status

      response-optional-property-added

    • added the optional property period to the response with the 200 status

      response-optional-property-added

    • added the optional property sell to the response with the 200 status

      response-optional-property-added

    • added the optional property strongBuy to the response with the 200 status

      response-optional-property-added

    • added the optional property strongSell to the response with the 200 status

      response-optional-property-added

    • added the optional property symbol to the response with the 200 status

      response-optional-property-added

    This revision also has 146 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog