Page news stories by position
https://quant-ws.prod.thinkalpha.io/news/pageReturns a page of news stories that mention any of the requested symbols, newest first, using position-based paging.
A news story is an article or press release tagged with ticker symbols. Stories tagged with more than three symbols are never returned. Stories are ordered by publishedAt, newest first; stories with the same publishedAt are ordered by id, descending.
Each request returns at most limit stories (maximum 150; larger values are treated as 150), in one of these modes selected by kind:
initial: the newest stories. The response carrieshasNewer(alwaysfalse, because the page starts at the newest story) andhasOlder.down: stories strictly older than aposition, newest first. Use it to scroll back in time.up: stories strictly newer than aposition, oldest first, nearest to the position first. Use it to pick up stories published after the newest one you hold; reverse the rows if you display newest first.backfill: every story betweenoldestandnewest, both included, newest first, one page at a time. Start withpage: { "kind": "first" }, then continue withpage: { "kind": "after", "position": ... }using the position of the last story you received. Use it to fill a gap between two pages you already hold.leadis not supported for news and is rejected with 400.
A position is { "publishedAt", "id" }, copied from a story you already hold. It stays valid even if that story is later removed. Non-initial responses carry hasMore, which is true when more stories exist beyond the page in the direction you were reading; an empty page never reports more.
Symbols are trimmed and converted to upper case. An empty symbols array returns an empty page. Any authenticated caller can use this operation; results do not depend on who the caller is.
Use POST /news/page to build a scrolling feed or to read every story without gaps. To fetch the stories of a time window in one call, to choose the sort order, or to poll cheaply with an ETag, use POST /news/queries. To read the full text of a story, use GET /news/story/{articleId}.
- Authentication
- Bearer token or Client credentials (HTTP Basic)
Request body application/json required
A news paging request. The `kind` field selects one of five request shapes; all of them carry `symbols`, `query` and `limit`.
A news paging request. The `kind` field selects one of five request shapes; all of them carry `symbols`, `query` and `limit`.
- object
Loads the newest rows, as of now or (when the query supports an anchor) as of a past time.
- object
Loads the rows strictly newer than `position`, nearest first (oldest to newest). Use it to pick up rows that arrived after the newest row you hold.
- object
Loads the rows strictly older than `position`, newest first. Use it to scroll back in time.
- object
Loads every row between `oldest` and `newest`, both included, newest first, one page at a time. Use it to fill a gap between two pages you already hold.
- object
Loads upcoming rows. Only the corporate actions page supports it; news and filings requests with this kind are rejected with 400.
Responses
A page of news stories. `kind` echoes the request kind; the other fields depend on it.
- object
The newest rows, newest first.
- object
Rows strictly newer than the requested position, oldest first.
- object
Rows strictly older than the requested position, newest first.
- object
Rows of the requested range, newest first.
- object
Upcoming rows, in the order of the corporate actions page.