Congress stock trades API
Every stock trade members of Congress disclosed, filtered by ticker, member, party, chamber, sector, type and trade date, sorted by disclosure, trade date, value or reporting gap.
GET /v1/uscongresstrades/trades1 credit per callRefunded on failureimport os, requests
res = requests.get(
"https://api.groundsocial.dev/v1/uscongresstrades/trades?ticker=NVDA&tx_type=buy",
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": 179, "has_more": true }}Parameters
| Name | Type | Description |
|---|---|---|
tickerquery | string | A ticker (NVDA) or company name. |
politicianquery | string | A member’s name or bioguide id. |
partyquery | "democrat" | "republican" | "other" | democrat, republican or other. One of democrat, republican, other. |
chamberquery | "house" | "senate" | house or senate. One of house, senate. |
sectorquery | "communication-services" | "consumer-discretionary" | "consumer-staples" | "energy" | "financials" | "health-care" | "industrials" | "information-technology" | "materials" | "real-estate" | "utilities" | One of communication-services, consumer-discretionary, consumer-staples, energy, financials, health-care, industrials, information-technology, materials, real-estate, utilities. |
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). |
sortquery | "pub_date" | "tx_date" | "value" | "reporting_gap" | pub_date (disclosure, default), tx_date, value (disclosed range) or reporting_gap. One of pub_date, tx_date, value, reporting_gap. |
orderquery | "asc" | "desc" | desc (default) or asc. One of asc, desc. |
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
US Congress trades is a trademark of 2iQ Research (Capitol Trades). We are not affiliated with or endorsed by 2iQ Research (Capitol Trades).