Politician Trades Summary
Totals of congressional trades for charts and analytics, grouped by party, member, symbol, month, year, chamber, trade type, asset class, who holds the asset, state, amount range or filing delay. Two groupings at once make a cross table, for example month and party.
Required: group_by. Every filter of /politician-trades also works here (member_id, member_name, asset_class, held_by, state, trade_from, trade_to, filed_from, filed_to, amount_min, amount_max, late_filing, has_symbol, include_other_filers). The answer is {group_by, date_basis, sort, order, total_groups, limit, offset, groups, totals, about}.
Request
- Base URL: https://api.dataporium.io
- URL: https://api.dataporium.io/politician-trades/summary
- Auth: API key in query parameter apikey
Query parameters
One or two of: party, member, symbol, month, year, chamber, trade_type, asset_class, held_by, state, amount_bucket, delay_bucket
For month and year: trade (trade date, default) or filed (filing date)
Ticker(s), comma-separated
D, R or I (party on the trade date)
house or senate
buy, sell or a detailed type
Only trades from the last N days
trades, buys, sells, buy_value, sell_value, net_value, members, symbols, last_trade_date, first_trade_date, avg_filing_delay_days, median_filing_delay_days, late_filings or key (default: key for month, year and buckets, otherwise trades)
asc or desc
Groups per page, 1 to 1000 (default 100)
Groups to skip, for paging
Response
Successful response (JSON).
Changes
No recorded changes to this operation across all 1 revision of this API.