API · US Congress trades
GET /uscongresstrades/tickers/{keyword}/trades
Congressional trades in one ticker.
| |
|---|
| Request | GET /v1/uscongresstrades/tickers/{keyword}/trades |
| Operation id | uscongresstrades.ticker.trades |
| Cost | 1 credit, refunded if the call fails |
| Auth | API key: Authorization: Bearer <key> or x-api-key. |
Congressional trades in one ticker.
| Name | Type | Required | Description |
|---|
keyword | string | yes | Ticker or company name. Example: NVDA. |
| Name | Type | Required | Description |
|---|
chamber | "house" | "senate" | no | house or senate. One of house, senate. |
party | "democrat" | "republican" | "other" | no | democrat, republican or other. One of democrat, republican, other. |
tx_type | "buy" | "sell" | "exchange" | no | buy, sell or exchange. One of buy, sell, exchange. |
start_date | string | no | Trades made on or after (YYYY-MM-DD). |
end_date | string | no | Trades made on or before (YYYY-MM-DD). |
limit | integer | no | Rows per page, 1 to 100. Defaults to 20. |
offset | integer | null | no | Rows to skip, for paging. Defaults to 0. |
| Status | Meaning | Schema |
|---|
200 | A page of trades. | CongressTrades |
400 | Invalid input. Nothing was charged. | Error |
401 | Missing or invalid API key. | Error |
402 | Not enough credits, a spend cap was reached, or payment is required. | Error |
403 | The target is private, or the account is suspended. | Error |
404 | No member, ticker or trade matches. | Error |
429 | Too many requests. Wait for Retry-After seconds. | Error |
503 | US Congress trades is temporarily unavailable. Retryable; nothing was charged. | Error |
| Field | Type | Description |
|---|
data | CongressTrade[] | |
paging | object | |
Errors use one shape everywhere; see Errors for every code and what to do.