How do I read and plot news event counts and headline scores?

View as Markdown

What each field means, what the grey counts are, how to chart both daily news families without misreading them, and the common mistakes.

The event counts and headline scores routes of the News Signals API count what our models read in news headlines, per closed US Eastern day, for one stock or entity or for the whole market. This guide is for agents and developers who read or chart them. The reference has the parameters, access rules and full response shapes.

Family Routes What it answers
Event counts GET /api/v2/metrics/entity/{entityId}/event-counts and GET /api/v2/metrics/market/event-counts What the day's headlines were about
Headline scores GET /api/v2/metrics/entity/{entityId}/headline-scores and GET /api/v2/metrics/market/headline-scores How the day's headlines were worded: how many our decision models scored strongly for expressed uncertainty, promotional framing and resolution stage

The SentiSense app draws the same data on a stock's Metrics tab, in the cards "What the news was about" and "How the news was worded".

What the event counts fields mean

Each entry in days is one closed day.

Field Meaning
headlines News headlines tagged to the entity that day. On the market route, every news headline of the day, each counted once
classified Headlines our events model placed in a category or in no event
noEvent Classified headlines that report no event
withEvent Classified headlines that report an event
categories withEvent split into seven categories, every key present, zeros included

Each category groups story event types:

Key Name Event types
RESULTS Results and outlook EARNINGS, GUIDANCE
PRODUCT Product news PRODUCT, PRODUCT_TALK
ANALYST Analyst actions ANALYST
DEALS Deals and capital MA, DEAL, FINANCING
LEGAL Legal and regulatory LEGAL_REG
PEOPLE People and ownership MGMT, HOLDINGS
MACRO Macro and sector MACRO, SECTOR

On every day:

  • withEvent equals classified minus noEvent, and equals the sum of categories.
  • classified is at most headlines.

What the headline scores fields mean

Our decision models score a headline from 0 to 100 on each of three questions. A headline is strong on a score when it scores strongFrom or more.

Key Name What it measures Strong from Levels, lowest first
UNCERTAINTY Expressed uncertainty How much doubt the headline expresses about what it reports 20 Hedged forecast (20 to 40), Only a possibility (40 to 60), Open doubt or worse (60 and up), all strong
PROMOTION Promotional framing How much the headline promotes a company or its stock 20 Mild praise (20 to 40), Strong hype (40 to 60), Urges buying or promises returns (60 and up), all strong
RESOLUTION Resolution stage How settled the matter it reports is 70 Partly resolved (40 to 70, not strong), Agreed with conditions (70 to 90), Final (90 and up)

A level runs from its from, inclusive, to its to, exclusive; to is null for the top level. Every response carries these definitions in scores: read them from there rather than hard-coding them.

Field Meaning
headlines As in event counts
rated Headlines our decision models scored that day
strongHeadlines Headlines strong on at least one score, each counted once
scores.<key>.rated Headlines that received this score, at most the day's rated
scores.<key>.strong Headlines that scored strongFrom or more on this score: the sum of its strong levels
scores.<key>.levels Headlines per level, in the order of the score's levels

On every day:

  • strongHeadlines is at most rated, and rated is at most headlines.
  • For each score, strong is the sum of the levels marked strong, and the sum of all its levels is at most its rated.
  • strongHeadlines is at least the largest of the three strong counts and at most their sum.

Fields both families carry

Field Meaning
asOf The newest day served. A day not counted yet is absent from days, not zero
coverageStart Set when the window reaches back before the day our events model began covering the entity: days then starts on it. null when the window starts on or after it

What the grey counts mean

Five counts sit outside what a chart of these families is about. They mean different things, and the app keeps all of them out of its coloured bars.

Count Computed as Meaning
Not classified headlines - classified Our events model did not place the headline, or gave it an event type no category groups
No event noEvent The events model read the headline and found no event in it
Not rated at all headlines - rated No decision model scored the headline
Not rated on this signal headlines - scores.<key>.rated The decision model for this score did not score the headline. Each score has its own count
Scored below the strong line scores.<key>.rated - scores.<key>.strong Rated on this score, but under strongFrom: the headlines under the first level plus any level not marked strong, such as Partly resolved

The headlines under a score's first level are scores.<key>.rated minus the sum of its levels. The app's tooltip calls them "Scored under 20" for the first two scores and "Scored under 40" for Resolution stage.

How to read it

  • Counts say what, not which way. A day with many Legal and regulatory headlines can be a settlement or a new lawsuit, and a high Expressed uncertainty count says the headlines hedged, not that the stock fell. Settle direction from the subject's own number: its price for a move, its sentiment or the bull and bear counts on /metric/sentisense for how coverage leaned.
  • Prefer shares to raw counts. Headline volume swings with earnings, product events and the weekday, so on a busy day every raw count rises. Read a category as a share of withEvent, a score as its strong over its own rated, and the strong union as strongHeadlines / rated.
  • Compare with the market. The market routes return the same shape for every news headline. An entity share well above the market's share on the same days is about the entity; a rise the market shares is the news cycle.
  • Thin days are noisy. With few headlines under a share, one headline moves it by tens of points. The app fades a category day that rests on fewer than 10 event headlines; apply the same floor to any share, a score's strong share included.
  • Coverage starts at coverageStart. Days before it are absent, not quiet. Do not compare a stretch before it with one after it as if both were covered.
  • The newest days can still rise. The last three closed days are recounted as late headlines are classified, so a dip on the newest day is not yet a dip.
  • A Free key sees the last 7 closed days, in the preview envelope, which is too short for a trend. PRO and the API plans read up to 366 days.

How to plot it

Event categories

  • One bar per day. Stack the seven categories, so the bar's height is withEvent. Keep the order of categories and one fixed colour per key on every chart.
  • When headline volume moves a lot over the window, draw the 100% form instead: each category's share of withEvent.
  • Keep noEvent and the not-classified count out of the coloured stack. Show volume in a small separate panel with its own axis (event headlines under no-event headlines, in grey), or as a faint cap above the bar.
  • Fade days with fewer than 10 event headlines.
  • To follow one category, draw its share of withEvent as a line, with the market's share on the same axis.

A stacked segment compares across days only when it sits on the baseline, so put the category that matters at the bottom or give it its own line. Grey stacked on the colour takes over the chart: in the worked example below, 77 headlines are grey and 43 carry a category.

Headline scores, one signal at a time

  • One bar per day for the chosen score. Stack only its strong levels, strongest at the baseline: the bar's height is scores.<key>.strong, and the strongest level compares across days.
  • Give each level a step of one hue, deeper for stronger. Use a different hue for each score, and not the category colours.
  • Put the rest in the tooltip: the day's headlines, how many this score rated, how many were strong, any level not marked strong, the count scored under the first level and the count not rated on this score.
  • Show one score per chart, or one small chart per score on a shared axis. Do not stack the three scores into one bar.

This is how the app's By signal view draws it. The greys dwarf the strong levels: in the worked example, Expressed uncertainty has 22 strong headlines against 76 scored under the strong line and 22 not rated, so colour would fill under a fifth of a bar that stacked them all.

Strong share over time

  • One line per score: its strong over its own rated. For any score, strongHeadlines / rated.
  • Leave a gap on a day with no rated headline instead of drawing zero, and fade days with fewer than 10 rated.
  • Draw the market's line for the same score on the same axis, never on a second axis.

A chart of all three scores' strong counts together can stack them as bands if it draws strongHeadlines as a line over the bands and says that a headline strong on two scores sits in two bands. Label the line as headlines, never the top of the stack. The app's Strong headlines chart works this way.

Worked example

These are the illustrative AAPL samples on the reference page: synthetic values for one day.

Event counts: headlines 120, classified 104, noEvent 61, withEvent 43.

Quantity Computed as Value
Not classified 120 - 104 16
With an event 104 - 61, and the sum of the categories, 5 + 14 + 6 + 4 + 7 + 3 + 4 43
Product news share 14 / 43 32.6%
Legal and regulatory share 7 / 43 16.3%

The coloured bar is 43 tall. The 61 no-event and 16 not-classified headlines go in the volume panel or the tooltip.

Headline scores: headlines 120, rated 104, strongHeadlines 31.

Score Bar, from the baseline up Height Tooltip only Strong share
Expressed uncertainty Open doubt or worse 2, Only a possibility 6, Hedged forecast 14 22 98 rated, 76 scored under 20, 22 not rated 22 / 98 = 22.4%
Promotional framing Urges buying or promises returns 0, Strong hype 2, Mild praise 7 9 95 rated, 86 scored under 20, 25 not rated 9 / 95 = 9.5%
Resolution stage Final 2, Agreed with conditions 3 5 40 rated, 6 Partly resolved, 29 scored under 40, 80 not rated 5 / 40 = 12.5%

The three strong counts add up to 36, but strongHeadlines is 31, so some headlines were strong on more than one score. The day's strong share is 31 / 104 = 29.8%, not 36 / 104.

Common mistakes

  • Summing strong across scores. A headline can be strong on two or three scores. For the number of strong headlines, use strongHeadlines.
  • Reading headline scores as sentiment or as the SentiSense Score. They measure how a headline is worded (doubt, promotion, how settled the matter is), not whether it is bullish or bearish. For tone, use the sentiment and sentisense metrics; see the Score, sentiment and the Rating.
  • Reading direction from counts. A spike in a category or a score says nothing about which way the stock moved. Check the price, or the entity's own sentiment, before saying a stock rose or fell.
  • Ignoring coverageStart. Filling the days before it with zeros invents a quiet stretch and a jump on the start day.
  • Dividing by the wrong total. A score's strong share divides by that score's rated, not by headlines or the day's rated. A category share divides by withEvent.
  • Filling missing days with zero. A day not counted yet is absent; every counted day is listed, zero counts included.
  • Hard-coding names and thresholds. Read categories and scores from each response.
  • Treating a daily count as a headline label. The event type or score of a single headline is not served. A story's eventTypes in the Documents API is the per-story view.

Educational content, not investment advice.

More in What our data means

Plans and billing: see the FAQ. Still stuck? Contact us.