Get politician activity metrics
GET
/api/v1/public/senate-insiders/:slug/activity3 credits / callAPI key required
Trading-activity rollup for one politician, broken down by period (last 30 days, 90 days, 365 days, and all-time) with buy/sell counts and values. Also includes the most-traded tickers and a transaction type breakdown. Useful for spotting changes in trading cadence.
Parameters
Path
Politician slug, e.g. ro-khanna (from /senate-insiders).
Code example
cURL
curl -X GET 'https://api.signal8.ai/api/v1/public/senate-insiders//activity' \
-H "X-Api-Key: $SIGNAL8_API_KEY"Request URL
fix parameters to runGET
https://api.signal8.ai/api/v1/public/senate-insiders//activityexample · 200
{
"data": {
"memberSlug": "ro-khanna",
"memberName": "Ro Khanna",
"activity": {
"last30Days": {
"tradeCount": 5,
"buys": 2,
"sells": 3,
"buyValue": 16000,
"sellValue": 24000
},
"last90Days": {
"tradeCount": 194,
"buys": 178,
"sells": 16,
"buyValue": 1914000,
"sellValue": 128000
},
"last365Days": {
"tradeCount": 845,
"buys": 556,
"sells": 289,
"buyValue": 6742000,
"sellValue": 2851000
},
"allTime": {
"tradeCount": 5127,
"buys": 2940,
"sells": 2181,
"buyValue": 52576500,
"sellValue": 38287500
}
},
"byTicker": [
{
"symbol": "MSFT",
"tradeCount": 40,
"buyValue": 285000,
"sellValue": 689500,
"netValue": -404500
},
{
"symbol": "BAX",
"tradeCount": 38,
"buyValue": 240500,
"sellValue": 112500,
"netValue": 128000
},
{
"symbol": "BAC",
"tradeCount": 37,
"buyValue": 249500,
"sellValue": 386500,
"netValue": -137000
}
],
"byTransactionType": {
"Purchase": 2940,
"Sale": 2181,
"Exchange": 6
},
"source": "congressional"
}
}