API · US Congress trades
GET /uscongresstrades/stats/unusual
The largest trades of the last days.
| Request | GET /v1/uscongresstrades/stats/unusual |
| Operation id | uscongresstrades.stats.unusual |
| Cost | 2 credits, refunded if the call fails |
| Auth | API key: Authorization: Bearer <key> or x-api-key. |
The largest trades of the last days.
Query parameters
| Name | Type | Required | Description |
|---|---|---|---|
days | integer | no | Window in days, 1 to 365. Defaults to 30. |
limit | integer | no | Rows per page, 1 to 100. Defaults to 20. |
Responses
| Status | Meaning | Schema |
|---|---|---|
200 | The largest trades, largest first. | CongressUnusual |
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 |
CongressUnusual fields
| Field | Type | Description |
|---|---|---|
days | integer | |
data | CongressTrade[] |
Errors use one shape everywhere; see Errors for every code and what to do.