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

Congress member trading profile API

One member of Congress by name or bioguide id: party, state, committees, tenure and trading stats.

GET /v1/uscongresstrades/politicians/{handle}1 credit per callRefunded on failure
import os, requests

res = requests.get(
    "https://api.groundsocial.dev/v1/uscongresstrades/politicians/pelosi",
    headers={"Authorization": f"Bearer {os.environ['GROUNDSOCIAL_API_KEY']}"},
)
res.raise_for_status()
data = res.json()
Response
200 · 1 credit
{
"data": {
"_politicianId": "P000197",
"_stateId": "ca",
"party": "democrat",
"firstName": "Nancy",
"lastName": "Pelosi",
"fullName": "Pelosi, Nancy Patricia",
"chamber": "house",
"district": "11",
"committees": [],
"stats": {
"countTrades": 51,
"countIssuers": 24,
"countFilings": 13,
"dateFirstTraded": "2024-02-12",
"dateLastTraded": "2026-10-07",
"volume": 106882515
},
"partyOther": null,
"nickname": null,
"middleName": "Patricia",
"dob": "1940-03-26",
"gender": "female",
"socialFacebook": "NancyPelosi",
"socialTwitter": "@SpeakerPelosi",
"socialYoutube": "nancypelosi",
"website": "https://pelosi.house.gov",
"*q*": 1
}
}

Parameters

NameTypeDescription
handlepath · requiredstringName or bioguide id. Example: pelosi.
Response fields

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

FieldTypeDescription
dataCongressPolitician
Status codes
StatusMeaning
200The member.
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

Can I pass a name?

Yes, or a bioguide id such as P000197.

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