News Signals API

View as Markdown

Daily counts of what our models read in news headlines: our events model sorts headlines into 13 event types grouped in seven categories, and our decision models score them for expressed uncertainty, promotional framing and resolution stage. Per stock or entity, and market-wide.

PRO (free preview available)4 endpoints

Overview

The News Signals API serves daily counts of what our models read in news headlines: our events model sorts headlines into 13 event types grouped in seven categories, and our decision models score them for expressed uncertainty, promotional framing and resolution stage. Both come per stock or entity, and market-wide.

Sentiment says how positive or negative the coverage is; event counts say what happened, and headline scores say how hedged, promotional or settled it was. Sentiment is served by the sentiment and sentisense metric types in the Metrics API, the single-stock GET /api/v1/stocks/{ticker}/sentiment and the market-wide rollups in the Market Mood API.

Versioning: the routes live under /api/v2/metrics, beside the generic metric routes. Event counts and headline scores are not metric types: /entity/{entityId}/metric/{metricType} does not serve them.


Event counts and headline scores

Two daily families count what our models read in news headlines. Event counts say what the day's headlines were about: our events model gives each headline one event type, and seven categories group those types. Headline scores count the headlines our decision models scored strongly for expressed uncertainty, promotional framing and resolution stage. Both are counts per day: the event type or score of a single headline is not served, and a headline score is not the SentiSense Score.

  • Entity and market routes. /entity/{entityId}/... counts the news headlines tagged to one stock or entity; {entityId} takes a ticker or urlSlug, resolved as in the Metrics API. /market/... is the market-wide form: it takes no {entityId} and counts every news headline of the day once, whatever it names.
  • Days. Closed US Eastern calendar days, oldest first; today is never served. Every counted day in the window is listed, zero counts included. A day not counted yet is absent, and asOf names the newest day served. The last three closed days are recounted during the day, so their counts can still rise as late headlines are classified.
  • History. No day before 2026-10-07 is served. An entity's counts start on its coverage start: the first day our events model classified at least half of its headlines (and at least 10), or, for an entity with no such day by 2026-10-20, the market's coverage start, and 2026-10-20 at the latest. When a window reaches back before it, days starts on it and coverageStart names it.
  • Access. PRO and the API plans read any window up to 366 days. A Free key receives the last 7 closed days, whatever window it asks for, in the preview envelope: isPreview: true, previewReason: "PRO_REQUIRED" and an upgrade hint around the same data shape. Every call counts against your monthly quota and per-minute rate limit. Full responses carry Cache-Control: max-age=3600, private, previews no-store.

Categories (the eventTypes are the story event type values):

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

Scores. Our decision models score each headline from 0 to 100 on each of three questions. A headline is strong on a score when it scores strongFrom or more, and the levels marked strong add up to the score's daily strong count. A headline scored below the lowest level counts in rated only.

Key Name What it measures Strong from Levels
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)
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)
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)

Every response carries these definitions, in categories or scores.

What each count means, what the grey counts are and how to chart both families: How do I read and plot news event counts and headline scores?


GET /entity/{entityId}/event-counts

Returns, for each closed day, how many news headlines tagged to a stock or entity our events model classified, how many reported no event, and how many fell in each category.

Parameters:

Parameter Type Required Default Description
entityId path Yes - Stock ticker (e.g. AAPL) or entity urlSlug (e.g. Jensen-Huang)
days int No 30 Closed days to return, 1 to 90, ending with the last closed day (yesterday, New York time). Not combined with from and to
from string No - First day, YYYY-MM-DD (US Eastern): 2026-10-07 or later, and no later than the last closed day. Requires to
to string No - Last day, YYYY-MM-DD, on or after from. A day after the last closed day is served as the last closed day, and the window then holds at most 366 days, both ends included. Requires from

Example Request:

curl -H "X-SentiSense-API-Key: ss_live_YOUR_KEY" \
  "https://app.sentisense.ai/api/v2/metrics/entity/AAPL/event-counts?days=7"

Example Response (illustrative values, trimmed: categories lists all seven and days every counted day):

{
  "isPreview": false,
  "previewReason": null,
  "data": {
    "entity": "AAPL",
    "from": "2026-11-16",
    "to": "2026-11-22",
    "asOf": "2026-11-22",
    "timezone": "America/New_York",
    "coverageStart": null,
    "categories": [
      {"key": "RESULTS", "name": "Results and outlook", "eventTypes": ["EARNINGS", "GUIDANCE"]},
      {"key": "PRODUCT", "name": "Product news", "eventTypes": ["PRODUCT", "PRODUCT_TALK"]}
    ],
    "days": [
      {
        "date": "2026-11-22",
        "headlines": 120,
        "classified": 104,
        "noEvent": 61,
        "withEvent": 43,
        "categories": {"RESULTS": 5, "PRODUCT": 14, "ANALYST": 6, "DEALS": 4, "LEGAL": 7, "PEOPLE": 3, "MACRO": 4}
      }
    ]
  }
}

Response shape:

Field Type Description
data.entity string The {entityId} as sent, or market on the market route
data.from string First day of the window, YYYY-MM-DD: the one asked for, or on a Free preview the first of the last 7 closed days
data.to string Last day of the window, YYYY-MM-DD: the last closed day when a later day was asked for
data.asOf string | null Newest day in days, YYYY-MM-DD; null when no day is served
data.timezone string America/New_York, the calendar the days are counted in
data.coverageStart string | null The day coverage starts for this entity, YYYY-MM-DD: the first day our events model classified at least half of its headlines (and at least 10). An entity with no such day by 2026-10-20 uses the market's coverage start, and 2026-10-20 at the latest. Present when the window begins before it: days then starts on it, and is empty if the whole window falls before it. null when the window starts on or after it
data.categories array The categories, in display order
data.days array One entry per counted day, oldest first

categories[] fields:

Field Type Description
key string Category key, as used in each day's categories
name string Display name
eventTypes array The story event types this category groups

days[] fields:

Field Type Description
date string The day, YYYY-MM-DD (US Eastern)
headlines integer News headlines tagged to the entity that day; on the market route, every news headline of the day
classified integer Headlines our events model placed in a category or in no event; the rest of headlines were not classified, or have an event type no category groups
noEvent integer Classified headlines that report no event
withEvent integer classified minus noEvent, which is also the sum of categories
categories object Headlines per category key, every key present, zero included

Returns 400 invalid_parameter for a window it cannot serve (see Errors) and 404 entity_not_found for an unknown {entityId}.


GET /market/event-counts

The market-wide form of GET /entity/{entityId}/event-counts: every news headline of the day, each counted once. Takes the same days, from and to parameters and returns the same response shape, with entity set to market.

Example Request:

curl -H "X-SentiSense-API-Key: ss_live_YOUR_KEY" \
  "https://app.sentisense.ai/api/v2/metrics/market/event-counts?from=2026-11-01&to=2026-11-22"

GET /entity/{entityId}/headline-scores

Returns, for each closed day, how many of a stock or entity's news headlines our decision models rated, how many scored strongly on each score, and the count at each level.

Parameters: entityId, days, from and to, as for GET /entity/{entityId}/event-counts.

Example Request:

curl -H "X-SentiSense-API-Key: ss_live_YOUR_KEY" \
  "https://app.sentisense.ai/api/v2/metrics/entity/AAPL/headline-scores?days=7"

Example Response (illustrative values, trimmed: scores lists all three definitions and days every counted day):

{
  "isPreview": false,
  "previewReason": null,
  "data": {
    "entity": "AAPL",
    "from": "2026-11-16",
    "to": "2026-11-22",
    "asOf": "2026-11-22",
    "timezone": "America/New_York",
    "coverageStart": null,
    "scores": [
      {
        "key": "RESOLUTION",
        "name": "Resolution stage",
        "strongFrom": 70.0,
        "strongLabel": "agreed with conditions or final",
        "levels": [
          {"name": "Partly resolved", "from": 40.0, "to": 70.0, "strong": false},
          {"name": "Agreed with conditions", "from": 70.0, "to": 90.0, "strong": true},
          {"name": "Final", "from": 90.0, "to": null, "strong": true}
        ]
      }
    ],
    "days": [
      {
        "date": "2026-11-22",
        "headlines": 120,
        "rated": 104,
        "strongHeadlines": 31,
        "scores": {
          "UNCERTAINTY": {"rated": 98, "strong": 22, "levels": [14, 6, 2]},
          "PROMOTION": {"rated": 95, "strong": 9, "levels": [7, 2, 0]},
          "RESOLUTION": {"rated": 40, "strong": 5, "levels": [6, 3, 2]}
        }
      }
    ]
  }
}

Response shape:

Field Type Description
data.entity string The {entityId} as sent, or market on the market route
data.from string First day of the window, YYYY-MM-DD: the one asked for, or on a Free preview the first of the last 7 closed days
data.to string Last day of the window, YYYY-MM-DD: the last closed day when a later day was asked for
data.asOf string | null Newest day in days, YYYY-MM-DD; null when no day is served
data.timezone string America/New_York, the calendar the days are counted in
data.coverageStart string | null The day coverage starts for this entity, YYYY-MM-DD: the first day our events model classified at least half of its headlines (and at least 10). An entity with no such day by 2026-10-20 uses the market's coverage start, and 2026-10-20 at the latest. Present when the window begins before it: days then starts on it, and is empty if the whole window falls before it. null when the window starts on or after it
data.scores array The score definitions, in display order
data.days array One entry per counted day, oldest first

scores[] fields:

Field Type Description
key string Score key, as used in each day's scores
name string Display name
strongFrom number The score, on the 0 to 100 scale, from which a headline counts as strong
strongLabel string What strong means for this score, in words
levels array The score's levels, lowest first

levels[] fields:

Field Type Description
name string Display name
from number Lowest score in the level, inclusive
to number | null Score where the next level starts, exclusive; null for the top level
strong boolean Whether the level counts toward strong

days[] fields:

Field Type Description
date string The day, YYYY-MM-DD (US Eastern)
headlines integer News headlines tagged to the entity that day; on the market route, every news headline of the day
rated integer Headlines our decision models scored, at most headlines
strongHeadlines integer Headlines strong on at least one score, each counted once, so it can be less than the sum of the scores' strong
scores object Per score key, that day's rated, strong and levels counts

days[].scores.<key> fields (one object per score key):

Field Type Description
rated integer Headlines that received this score, at most the day's rated
strong integer Headlines that scored strongFrom or more, the sum of the strong levels
levels array Headlines per level, integers in the order of the score's levels

Returns 400 invalid_parameter for a window it cannot serve (see Errors) and 404 entity_not_found for an unknown {entityId}.


GET /market/headline-scores

The market-wide form of GET /entity/{entityId}/headline-scores: every news headline of the day, each counted once. Takes the same days, from and to parameters and returns the same response shape, with entity set to market.

Example Request:

curl -H "X-SentiSense-API-Key: ss_live_YOUR_KEY" \
  "https://app.sentisense.ai/api/v2/metrics/market/headline-scores?days=30"

Errors

Status Code Description
400 invalid_parameter days outside 1 to 90, days together with from or to, from or to alone, a date not written YYYY-MM-DD, from before 2026-10-07 or after the last closed day, to before from, or more than 366 days. The message names the problem
404 entity_not_found The {entityId} matches no known entity. Carries up to three suggestions (name, urlSlug, ticker)
401 api_key_required No API key on the call
429 rate_limit_exceeded Per-minute rate limit exceeded (Free: 30/min, PRO: 300/min)
429 quota_exceeded Monthly request quota exhausted (Free: 1,000/month; PRO has no monthly cap)
503 temporarily_unavailable Event counts and headline scores could not be read; retry shortly