Loading the API reference…

Browse the API reference

Summarize news for a symbol

get https://quant-ws.prod.thinkalpha.io/symbols/{symbol}/news-summary

Returns a short text summary of recent news stories about one symbol, generated by a language model from the headlines and article text of the stories in the window you choose.

You choose the window by supplying exactly two of start, end and count. start and end together select the newest stories published in that inclusive time range, up to 500. end and count select the newest count stories published at or before end. start and count select the oldest count stories published at or after start. At most 500 stories are used, and larger count values are treated as 500. Only stories that mention at most three symbols are included. If any other combination is supplied the response is 400. If no story matches, the response is 200 with a summary stating that no news was found and storyCount 0; an unknown ticker is treated the same way. If the stories are very long, the oldest ones can be left out of the summary while still counted in storyCount.

The summary is generated afresh on every call, is not stored, and can take noticeable time. The language-model request has a configurable timeout, defaulting to 60 seconds; a timeout fails the call with 500. Generated text can contain errors; verify important facts against the underlying stories (POST /news/page, GET /news/story/{articleId}). Any authenticated caller can use this operation, and results do not depend on who is calling.

Authentication
Bearer token or Client credentials (HTTP Basic)

Path parameters

  • symbol string required

    Ticker symbol, for example `AAPL`. Case-insensitive; leading and trailing spaces are ignored. A ticker that contains a slash, such as the share class `BRK/B`, must be URL-encoded: `/symbols/BRK%2FB`. The spellings `BRK.B` and `BRK-B` are not accepted.

Query parameters

  • start string<date-time>

    Start of the news window, inclusive, as an ISO 8601 date-time with a UTC offset, for example `2026-11-05T14:30:00Z`. Supply exactly two of `start`, `end` and `count`.

  • end string<date-time>

    End of the news window, inclusive, as an ISO 8601 date-time with a UTC offset, for example `2026-11-06T13:05:12Z`. Supply exactly two of `start`, `end` and `count`.

  • count integer

    Number of stories to summarize, a positive integer. With `end` the newest `count` stories at or before `end` are used; with `start` the oldest `count` stories at or after `start`. At most 500 stories are used, so larger values behave as 500. Supply exactly two of `start`, `end` and `count`.

    > 0<= 9007199254740991

Responses

The generated summary of the stories in the requested window.

  • symbol string required

    Upper-case ticker symbol that was summarized.

  • summary string required

    Text summary of the stories, generated by a language model. When no story matched the window, a sentence saying that no news was found.

  • storyCount number required

    Number of stories selected for the window (at most 500). `0` when none matched. Very long stories can cause the oldest of them to be left out of the summary text while still being counted here.

  • start string<date-time>

    The `start` of the window as requested, as a UTC date-time. Present only when `start` was supplied.

  • end string<date-time>

    The `end` of the window as requested, as a UTC date-time. Present only when `end` was supplied.

  • count number

    The `count` as requested. Present only when `count` was supplied; values above 500 are echoed unchanged although at most 500 stories are used.

  • generatedAt string<date-time> required

    When the summary was generated, as a UTC date-time.