Sentiment API · YouTube

YouTube stock sentiment API.

SentiStream reads the new videos of 15 finance channels on YouTube and their comments, and links each text to the company it is about. For every ticker you get a buzz score, a sentiment score, the bullish share and a trend as JSON.

Attention on YouTube

Example data
↑ Buzz score
← bearishSentiment scorebullish →

Ranked by buzz score

    GET /v1/tickers/trending?platform=youtube See more: YouTube top stocks

    The problem

    Most comments under a finance video name no company.

    If every comment counted for the company of its video, that company would look louder than it is.

    15 channels, every new video

    We read the title, the description and the comments of every new video of 15 English finance channels.

    • “Apple pie for dessert tonight”not the company
    • “Apple beats on services revenue”AAPL
    Example data

    A match is not a mention

    A comment that says “Apple” may be about fruit. A second check confirms that the text is about the company before the mention counts.

    • “Great breakdown, thanks!”no company
    • “Nvidia still looks cheap to me”NVDA
    Example data

    A comment speaks for itself

    A comment counts for the companies it names or for those of the comment it answers, never for the company of the video.

    How it works

    From one comment to a buzz score.

    Every text takes the same five steps. All six sources end in the same fields.

    One comment, step by stepExample data
    Collect
    YouTubecomment

    Nvidia guidance was the real story today. Demand looks intact.

    Match
    NVDANVIDIA CorporationUS67066G1040
    Score
    +0.31positive
    Aggregate
    71.6buzz score
    Serve
    GET /v1/tickers/NVDA?platform=youtube
    { "buzzScore": 71.6, "trend": "rising" }

    API

    YouTube sentiment endpoints

    One base URL and one key in the X-API-Key header. Pick a route and change its parameters. The responses are example data in the format of the API.

      GET

      Docs, OpenAPI and MCP

      The API reference lists every route with its parameters. The MCP server gives an AI agent the same data as tools.

      Open the API reference
      • Base URLhttps://api.sentistream.dev/v1
      • Key headerX-API-Key: YOUR_KEY
      • OpenAPI spechttps://sentistream.dev/openapi.yaml
      • MCP serverhttps://mcp.sentistream.dev/mcp
      • First requestcurl "https://api.sentistream.dev/v1/tickers/TSLA?platform=youtube" -H "X-API-Key: $SENTISTREAM_API_KEY"

      Questions

      Frequently asked questions

      How the YouTube numbers come about and what the plans allow. Open the API reference

      The basics

      What is the YouTube stock sentiment API?

      It is a REST API that turns YouTube videos and comments into numbers per ticker: a buzz score from 0 to 100, a sentiment score from −1 to +1, the bullish and bearish share and a trend.

      It is the same API that serves the other sources. You pick YouTube with platform=youtube, or leave the parameter out and get all six sources combined.

      GET /v1/tickers/TSLA?platform=youtube
      Field Meaning
      buzzScore 0 to 100: how loud
      sentimentScore −1 to +1: which way
      bullishPct share of positive mentions
      trend rising, falling or stable
      Four fields of a ticker response.
      Which channels and texts do you read?

      15 English finance channels, one of them about coins. We read the title and the description of every new video and its comments, the newest 200 threads at a time, with the replies YouTube returns with them.

      /v1/sources lists every channel by its id.

      GET /v1/sources
      Text What we keep
      title all of it
      description the lines without a link
      comment the text, without the author
      The texts of one video.
      How often is the data updated?

      We look for new videos every 30 minutes. For the first 72 hours of a video we read its new comments and refresh its views and likes every hour.

      A video that YouTube no longer returns is marked deleted.

      GET /v1/stats
      Videos30 min
      Comments60 min
      now+180 min
      New videos every 30 minutes, comments every hour.
      What does a response look like?

      JSON with camelCase field names and times in UTC. A ticker response starts with the company, its exchange and its ISIN, followed by the scores.

      A YouTube mention carries a snippet and no text, because the YouTube API terms do not allow us to pass the whole text on.

      GET /v1/tickers/TSLA?platform=youtube
      {
        "entity": {
          "ticker": "TSLA",
          "isin": "US88160R1014"
        },
        "buzzScore": 71.6,
        "signal": "bullish",
        "mentions": 189,
        "sentimentScore": 0.23,
        "trend": "rising"
      }
      Example data, shortened.

      The scores

      How is sentiment calculated?

      Per company, not per text. If a comment is long one stock and short another, the two get opposite scores.

      A finance lexicon with trading slang and emoji scores the text. When a text names several companies, a language model scores each one. A score of +0.35 or more counts as positive, −0.35 or less as negative.

      GET /v1/tickers/TSLA?platform=youtube
      moon+2.5
      tendies+2.0
      calls+1.5
      puts−1.5
      bagholder−2.0
      rug−3.0
      Six entries of the finance lexicon with their weight, from −4 to +4.
      How is the buzz score calculated?

      From five parts: volume (35%), engagement (20%), sentiment strength (15%), breadth (15%) and momentum (15%). Each part is measured against the busiest tickers of the source, so a high score means loud for that source.

      One author counts for at most three mentions. If a single author holds more than 30% of the mentions of a ticker, the score drops.

      GET /v1/tickers/TSLA?platform=youtube
      • Volume35%
      • Engagement20%
      • Sentiment strength15%
      • Breadth15%
      • Momentum15%
      The weights of the buzz formula.
      How is the trend calculated?

      We compare the mentions of the last 72 hours with the 72 hours before. More than 15% growth is rising, more than 15% decline is falling, anything between is stable.

      The trend describes attention. It says nothing about the price.

      GET /v1/tickers/trending?platform=youtube&sort=trend
      72 h before+52% · risinglast 72 h
      Example data: mentions per day.
      How does the explanation work?

      /v1/tickers/{id}/explain returns one or two sentences on why a ticker is being discussed. They come from the top mentions and news titles of the last seven days and contain no advice.

      A ticker needs at least 50 YouTube mentions in seven days, and below that the answer is insufficient_data. A text is cached for six hours.

      GET /v1/tickers/TSLA/explain?platform=youtube
      {
        "explanation": "Tesla is in focus after its quarterly numbers. Most comments weigh strong demand against thinner margins.",
        "cached": true,
        "windowDays": 7
      }
      Example data, shortened.

      Plans and use

      What does the free plan include?

      250 requests a month, up to 100 a minute and 30 days of history. The free plan reads all six sources with one key and needs no credit card.

      Free, Hobby and Pro are for non-commercial use. Commercial use is part of the Pro Max plan. /v1/usage returns what you have used.

      GET /v1/usage
      Used this month37 / 250
      Example data: 37 of 250 requests used.
      Are there rate limits?

      Two limits apply: requests per minute and requests per month. The table shows both for each plan.

      Every response reports both in the X-RateLimit-* headers. Past a limit the API answers 429 with rate_limited or quota_exceeded.

      Response headers · X-RateLimit-*
      Plan A minute A month
      Free 100 250
      Hobby 1,000 250,000
      Pro 1,000 1,000,000
      Pro Max 2,000 3,000,000
      Requests by plan.
      Can I limit a request to official and open data?

      compliance=strict counts only data from official APIs, open protocols and public feeds.

      YouTube data comes from the official YouTube Data API, so a strict request keeps all of it. /v1/sources lists every source with its class.

      GET /v1/tickers/TSLA?platform=youtube&compliance=strict
      Class Strict
      official counted
      open_protocol counted
      public_feed counted
      third_party left out
      The classes a mention can have.
      Can I use it for trading decisions?

      The data is information, not advice. Buzz and trend measure attention, and attention does not predict a price.

      If you build a product on the data, you need the Pro Max plan. It includes commercial use.

      Not financial advice
      buzzScorehow loudtrendattention, not price
      Sentiment readings do not predict prices.

      Pricing

      Start free. Pay when you need more.

      One key reads all six sources on every plan. The plans differ in volume, history and commercial use.

      Free

      $0

      For a first test of every source. No credit card.

      • 250 requests a month
      • 100 requests a minute
      • 30 days of history
      • All six sources
      • Non-commercial use
      Get started free

      Hobby

      $29 a month

      For personal projects. Adds logos, webhooks and the stream.

      • 250,000 requests a month
      • 1,000 requests a minute
      • 90 days of history
      • Company logos, 1 webhook, 1 stream connection
      • Non-commercial use
      See the Hobby plan

      Pro

      $69 a month

      Adds raw mentions, sentiment for your own text and news story clusters.

      • 1,000,000 requests a month
      • 1,000 requests a minute
      • 90 days of history
      • Company logos, 1 webhook, 2 stream connections
      • Non-commercial use
      See the Pro plan
      Commercial use

      Pro Max

      $299 a month

      For products and teams. Adds commercial use and higher limits to Pro.

      • 3,000,000 requests a month
      • 2,000 requests a minute
      • 90 days of history
      • Company logos, 25 webhooks, 10 stream connections
      • Commercial use
      See the Pro Max plan

      One key, every source

      Every plan, Free included, reads all six sources with the same key. Pick one with platform.

      Compare every feature