Congress trades in a stock API
Every congressional trade in one stock, filtered by chamber, party, type and date.
GET /v1/uscongresstrades/tickers/{keyword}/trades1 credit per callRefunded on failureimport os, requests
res = requests.get(
"https://api.groundsocial.dev/v1/uscongresstrades/tickers/NVDA/trades?party=republican",
headers={"Authorization": f"Bearer {os.environ['GROUNDSOCIAL_API_KEY']}"},
)
res.raise_for_status()
data = res.json()Response
200 · 1 credit{ "data": [ { "_txId": 10000067054, "_politicianId": "P000603", "_issuerId": 433770, "pubDate": "2026-11-26T02:15:27Z", "filingDate": "2026-11-25", "txDate": "2026-11-05", "txType": "buy", "owner": "self", "chamber": "senate", "price": 181.6, "size": 45, "value": 8000, "reportingGap": 20, "filingURL": "https://efdsearch.senate.gov/search/view/ptr/99dc7269-2f99-4c8b-8d0c-a3a91328af84/", "comment": null, "asset": { "assetType": "stock", "assetTicker": "NVDA:US", "instrument": null }, "issuer": { "issuerName": "NVIDIA Corporation", "issuerTicker": "NVDA:US", "sector": "information-technology", "_stateId": "ca", "c2iq": "SH9VU1F2", "country": "us" }, "politician": { "firstName": "Randal", "lastName": "Paul", "party": "republican", "chamber": "senate", "_stateId": "ky", "dob": "1963-01-07", "gender": "male", "nickname": "Rand" }, "_assetId": 100009820, "txTypeExtended": null, "hasCapitalGains": false, "sizeRangeHigh": 83, "sizeRangeLow": 6, "filingId": 100115060, "…": "2 more fields" }, { "_txId": 10000067055, "_politicianId": "P000603", "_issuerId": 433770, "pubDate": "2026-11-26T02:15:27Z", "filingDate": "2026-11-25", "txDate": "2026-11-07", "txType": "buy", "owner": "self", "chamber": "senate", "price": null, "size": null, "value": 8000, "reportingGap": 18, "filingURL": "https://efdsearch.senate.gov/search/view/ptr/99dc7269-2f99-4c8b-8d0c-a3a91328af84/", "comment": null, "asset": { "assetType": "stock", "assetTicker": "NVDA:US", "instrument": null }, "issuer": { "issuerName": "NVIDIA Corporation", "issuerTicker": "NVDA:US", "sector": "information-technology", "_stateId": "ca", "c2iq": "SH9VU1F2", "country": "us" }, "politician": { "firstName": "Randal", "lastName": "Paul", "party": "republican", "chamber": "senate", "_stateId": "ky", "dob": "1963-01-07", "gender": "male", "nickname": "Rand" }, "_assetId": 100009820, "txTypeExtended": null, "hasCapitalGains": false, "sizeRangeHigh": null, "sizeRangeLow": null, "filingId": 100115060, "…": "2 more fields" }, "… 18 more" ], "paging": { "offset": 0, "limit": 20, "total": 135, "has_more": true }}Parameters
| Name | Type | Description |
|---|---|---|
keywordpath · required | string | Ticker or company name. Example: NVDA. |
chamberquery | "house" | "senate" | house or senate. One of house, senate. |
partyquery | "democrat" | "republican" | "other" | democrat, republican or other. One of democrat, republican, other. |
tx_typequery | "buy" | "sell" | "exchange" | buy, sell or exchange. One of buy, sell, exchange. |
start_datequery | string | Trades made on or after (YYYY-MM-DD). |
end_datequery | string | Trades made on or before (YYYY-MM-DD). |
limitquery | integer | Rows per page, 1 to 100. Defaults to 20. |
offsetquery | integer | null | Rows to skip, for paging. Defaults to 0. |
Response fields
200 with a CongressTrades, in US Congress trades’s own JSON.
| Field | Type | Description |
|---|---|---|
data | CongressTrade[] | |
paging | object |
Status codes
| Status | Meaning |
|---|---|
200 | A page of trades. |
400 | Invalid input. Nothing was charged. |
401 | Missing or invalid API key. |
402 | Not enough credits, a spend cap was reached, or payment is required. |
403 | The target is private, or the account is suspended. |
404 | No member, ticker or trade matches. |
429 | Too many requests. Wait for Retry-After seconds. |
503 | US Congress trades is temporarily unavailable. Retryable; nothing was charged. |
Every error has code, message, hint and retryable. All error codes
Questions
Is it paged?
Yes, limit and offset.
US Congress trades is a trademark of 2iQ Research (Capitol Trades). We are not affiliated with or endorsed by 2iQ Research (Capitol Trades).