---
title: "Compare stocks"
method: GET
path: "/news/stocks/v1/compare"
tags: ["News Stocks"]
---

# Compare stocks

`GET /news/stocks/v1/compare`

Compare multiple stock tickers side by side using the news sentiment dataset and buzz model.

Use it when you already know the tickers and want a compact ranked table instead of full detail reports.
Results are sorted by `buzz_score` descending and include `trend`, `trend_history`, `source_count`, `sentiment_score`, `bullish_pct` and `bearish_pct`.
`trend` is activity momentum over the current 3 UTC days vs previous 3 UTC days using mentions/articles and source breadth; not price movement. For `from`/`to`, anchors at `to` (or now when `to` is today).

## Query parameters

- `from` string, date, nullable — Start date in YYYY-MM-DD. Inclusive UTC date.
- `to` string, date, nullable — End date in YYYY-MM-DD. Inclusive UTC date. Omit to use the current UTC date.
- `days` integer — Deprecated v1 compatibility shorthand. Prefer `from` and `to` for reproducible UTC date windows.
- `tickers` string, required — Comma-separated list of ticker symbols (e.g., TSLA,NVDA,AMD)

## Response `200`

Successful Response

- NewsCompareResponse — Comparison of multiple stocks in news.
  - `period_days` integer, required — Analysis period in days
  - `stocks` NewsCompareStockItem[], required — Stocks sorted by buzz_score descending
    - `ticker` string, required — Stock ticker symbol
    - `company_name` string, nullable — Company name from ticker_reference
    - `buzz_score` number, nullable, required — Buzz Score (0-100). Asymptotic scaling above 50.
    - `trend` 'rising' | 'falling' | 'stable', nullable — Activity momentum over the current 3 UTC days vs previous 3 UTC days using mentions/articles and source breadth; not price movement. For `from`/`to`, anchors at `to` (or now when `to` is today). Null when no qualifying news data exists.
    - `mentions` integer, required — Total mentions in period
    - `source_count` integer, required — Number of distinct news sources with mentions in period
    - `sentiment_score` number, nullable — Average sentiment (-1 to +1, null if no mentions)
    - `bullish_pct` integer, nullable — Percentage of bullish mentions
    - `bearish_pct` integer, nullable — Percentage of bearish mentions
    - `trend_history` number[] — Daily buzz scores (oldest→newest). Length follows the resolved period, with a minimum of 7 values when data exists. Empty when no qualifying data exists.

## Other responses

- `400` — Invalid compare item list
- `401` — Authentication failed
- `403` — Historical data limit exceeded
- `422` — Invalid period or query parameters
- `429` — Rate limit exceeded
- `503` — Database temporarily unavailable
- `504` — Analytics request deadline exceeded

---

[API](https://skmtc.net/adanos/apis/adanos-market-sentiment-api.md) · [All operations](https://skmtc.net/adanos/apis/adanos-market-sentiment-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/adanos/adanos-market-sentiment-api/revisions/351caf64ba81/schema)
