API · US Congress trades
GET /uscongresstrades/politicians/{handle}/trades
A member of Congress’s disclosed trades.
| |
|---|
| Request | GET /v1/uscongresstrades/politicians/{handle}/trades |
| Operation id | uscongresstrades.politician.trades |
| Cost | 1 credit, refunded if the call fails |
| Auth | API key: Authorization: Bearer <key> or x-api-key. |
A member of Congress’s disclosed trades.
| Name | Type | Required | Description |
|---|
handle | string | yes | Name or bioguide id. Example: P000197. |
| Name | Type | Required | Description |
|---|
sort | "pub_date" | "tx_date" | "value" | "reporting_gap" | no | pub_date (disclosure, default), tx_date, value (disclosed range) or reporting_gap. One of pub_date, tx_date, value, reporting_gap. |
order | "asc" | "desc" | no | desc (default) or asc. One of asc, desc. |
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.