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

Congress trading statistics API

Totals of congressional trading: trades, buys, sells, members, issuers and recent activity.

GET /v1/uscongresstrades/stats1 credit per callRefunded on failure
import os, requests

res = requests.get(
    "https://api.groundsocial.dev/v1/uscongresstrades/stats",
    headers={"Authorization": f"Bearer {os.environ['GROUNDSOCIAL_API_KEY']}"},
)
res.raise_for_status()
data = res.json()
Response
200 · 1 credit
{
"trades": 36349,
"buys": 18538,
"sells": 17673,
"exchanges": 121,
"politicians": 209,
"issuers": 3069,
"trades_last_30_days": 88,
"disclosed_last_7_days": 278
}
Response fields

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

FieldTypeDescription
tradesinteger
buysinteger
sellsinteger
exchangesinteger
politiciansinteger
issuersinteger
trades_last_30_daysinteger
disclosed_last_7_daysinteger
Status codes
StatusMeaning
200The totals.
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 often does it change?

Whenever new disclosures are published.

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