Congressional trades. Smart money signals. Earnings forensics. AI analysis. Plug it into any app in minutes.
yn_live_YOUR_KEY with your actual key.?limit=20 (max 100) ?days=30 (max 365)
{
"trades": [{
"representative": "Nancy Pelosi",
"party": "D", "state": "CA",
"ticker": "NVDA",
"type": "purchase",
"amount": "$250,001 - $500,000",
"transaction_date": "2026-05-20",
"current_price": 878.20,
"price_change_pct": 2.4,
"suspicion_score": 97 // 0-100
}],
"stats": {
"total_this_year": 847,
"most_active_rep": "Adam Schiff",
"biggest_trade": "$500,001+",
"total_reps": 73
}
}const res = await fetch(
'https://ynfinance.org/api/v1/congress/trades?limit=10&days=30',
{ headers: { Authorization: 'Bearer yn_live_YOUR_KEY' } }
)
const { trades, stats } = await res.json()
// trades[0].representative, .ticker, .suspicion_scoreAuthorization: Bearer yn_live_xxxx
x-api-key: yn_live_xxxx
source, version, and timestamp fields. On error, check the error field and HTTP status code.401 Unauthorized. Resets on the 1st of each month. Upgrade anytime from your dashboard above.