100 free credits. No credit card required. Get a key

Congress trading volume over time API

Congressional trades and their value per day, week or month over a window.

GET /v1/uscongresstrades/stats/volume2 credits per callRefunded on failure
import os, requests

res = requests.get(
    "https://api.groundsocial.dev/v1/uscongresstrades/stats/volume?days=90&period=month",
    headers={"Authorization": f"Bearer {os.environ['GROUNDSOCIAL_API_KEY']}"},
)
res.raise_for_status()
data = res.json()
Response
200 · 2 credits
{
"days": 90,
"period": "month",
"buckets": [
{
"start": "2026-08-01",
"trades": 36,
"buys": 8,
"sells": 28,
"value": 2133500
},
{
"start": "2026-09-01",
"trades": 830,
"buys": 408,
"sells": 420,
"value": 23373711
},
"… 2 more"
]
}

Parameters

NameTypeDescription
daysqueryintegerWindow in days, 1 to 120. Defaults to 30.
periodquery"day" | "week" | "month"One of day, week, month.
Response fields

200 with a CongressVolume, in US Congress trades’s own JSON.

FieldTypeDescription
daysinteger
periodstring
bucketsobject[]
Status codes
StatusMeaning
200Buckets, oldest first.
400Invalid input. Nothing was charged.
401Missing or invalid API key.
402Not enough credits, a spend cap was reached, or payment is required.
403The target is private, or the account is suspended.
404No member, ticker or trade matches.
429Too many requests. Wait for Retry-After seconds.
503US Congress trades is temporarily unavailable. Retryable; nothing was charged.

Every error has code, message, hint and retryable. All error codes

Questions

How far back?

Up to 120 days per call.

US Congress trades is a trademark of 2iQ Research (Capitol Trades). We are not affiliated with or endorsed by 2iQ Research (Capitol Trades).