Default

Stock Upgrade/Downgrade

Get latest stock upgrade and downgrade.

get/stock/upgrade-downgrade

Query parameters

symbolstring

Symbol of the company: AAPL. If left blank, the API will return latest stock upgrades/downgrades.

fromstring date

From date: 2000-03-15.

tostring date

To date: 2020-03-16.

Response

successful operation

symbolstring

Company symbol.

gradeTimeinteger

Upgrade/downgrade time in UNIX timestamp.

fromGradestring

From grade.

toGradestring

To grade.

companystring

Company/analyst who did the upgrade/downgrade.

actionstring

Action can take any of the following values: <code>up(upgrade), down(downgrade), main(maintains), init(initiate), reit(reiterate)</code>.

Example response

[
  {
    "symbol": "symbol",
    "gradeTime": 0,
    "fromGrade": "fromGrade",
    "toGrade": "toGrade",
    "action": "action",
    "company": "company"
  }
]

Changes

Changed in 4 of the 35 revisions of this API.46

    • 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

  • fea47f48a0f611See the full diff
    • removed the optional property / from the response with the status

      response-optional-property-removed

    • added the optional property / to the response with the status

      response-optional-property-added

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

    • added the new optional query request parameter from

      new-optional-request-parameter

    • added the new optional query request parameter to

      new-optional-request-parameter

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

  • c5b8e420b78c32See the full diff
    • deleted the query request parameter from

      request-parameter-removed

    • deleted the query request parameter to

      request-parameter-removed

    • removed the optional property / from the response with the status

      response-optional-property-removed

    • api tag Default removed

      api-tag-removed

    • added the optional property / to the response with the 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