v1

latestOpenAPI 3.1.02026-07-1315414.2 KB
Trades

Get Trade Summary

AI trend analysis for a ticker based on congressional trade disclosures.

Returns the same trade payload as /trades/{ticker} plus an ai_analysis key:

  • sentiment – "bullish", "bearish", or "mixed" (derived from buy/sell ratio)
  • summary – 2–3 sentence narrative of the trading trend
  • notable_patterns – any notable clustering, divergence, or concentration in the data
  • stats – objective counts computed server-side (total, buys, sells, unique members, date range)

Analysis is grounded strictly in the disclosed filing data — no speculation about the company. Returns HTTP 503 if the ANTHROPIC_API_KEY environment variable is not set. Requires a valid Pro API key — returns HTTP 401 for unauthenticated requests.

get/trades/{ticker}/summary

Path parameters

tickerstring required

Query parameters

chamberstring nullable

Filter by chamber: Senate or House

Filter by chamber: Senate or House

limitinteger

Headers

x-api-keystring

Response

Successful Response

{"stackTrail":"paths:/trades/{ticker}/summary:get:responses:200:content:application/json:schema","oasType":"schema","type":"unknown"}