Loading the API reference…

Browse the API reference

Query analyst ratings

post https://quant-ws.prod.thinkalpha.io/analyst-ratings/queries

Returns analyst ratings for the requested symbols and a summary across them. The inclusive publication window defaults to the 365 days ending now; results default to the newest 500 and are capped at 1,000. Sort uses publication time and ID as a tie-breaker. The summary uses all matching window ratings before the result limit; consensus also considers earlier ratings. Any authenticated caller can use this operation.

Authentication
Bearer token or Client credentials (HTTP Basic)

Request body application/json required

Symbols, publication window, result limit, and order for the ratings query.

Symbols, publication window, result limit, and order for the ratings query.

  • symbols string[] required

    One or more exact ticker symbols. Values are not trimmed or case-normalized.

    min items 1
  • start string<date-time>

    Inclusive publication start instant, ISO 8601; defaults to 365 days before end.

  • end string<date-time>

    Inclusive publication end instant, ISO 8601; defaults to now.

  • maxResults integer

    Positive item limit; defaults to 500 and values above 1,000 are capped at 1,000.

    > 0<= 9007199254740991
  • sort AnalystRatingsSortOrder

    `asc`: oldest first; `desc`: newest first (default).

Responses

Ratings and their aggregate summary.

  • AnalystRating[] required

    Ratings in the requested window, subject to the item limit.

  • AnalystRatingsHttpSummary required

    Aggregate view of the ratings in the requested window: consensus now and at earlier snapshots, price targets, average smart score and the distribution of rating texts.