Skip to content
Velo

.get_news

Fetches historical news stories published after an optional millisecond timestamp.

Example

begin = client.timestamp() - 24 * 60 * 60 * 1000
stories = client.news.get_news(begin=begin)
 
for story in stories:
    print(story['time'], story['headline'])

Parameters

begin

  • Type: int
  • Optional
  • Default: 0

Only returns stories published after this millisecond timestamp.

Return type

list[dict]

Returns matching stories, or an empty list when none match. Story dictionaries can include:

KeyDescription
idStory identifier.
timePublication timestamp in milliseconds.
effectiveTimeTimestamp at which the story became market-relevant.
effectivePriceReference price associated with the story, when available.
headlineStory headline.
sourcePublisher or source, when available.
priorityStory priority.
coinsAssociated coin symbols.
summaryStory summary, when available.
linkLink to the original story, when available.