Skip to content

KB / api

GET /api/v1/sentiment-comparison

Last verified

Auto-generated. This article is rebuilt from FastAPI route introspection by scripts/build_api_kb.py. Edit the route docstring in app/ and re-run the script — do not edit this file directly.

GET /api/v1/sentiment-comparison

Handler: app.signals.routes.get_sentiment_comparison
Methods: GET

Description

Per-article FinRep-AI news sentiment over the most-recent rows.

Returns the most-recent limit rows from news_items with the FinRep-AI sentiment reading attached. The endpoint name and shape are retained from the D6 parallel-run era; the AlphaVantage comparison leg retired 2026-06 per DOCTRINE.md D22 (FinRep-AI is now the sole sentiment source), so aggregated_av is permanently null.

Notes:

Returns: {count, limit, items: [{idempotency_key, source, title, published_at, finrep_ai_score, finrep_ai_label, finrep_ai_run_at, finrep_ai_model}], aggregated_av: null, aggregated_av_note: str}

Parameters

InNameTypeDefaultDescription
querylimitint50How many most-recent news items to return. Capped at 200 to keep the payload tight.

Curl

curl -s https://bigclawd.com/api/v1/sentiment-comparison