GroundsocialDocs

API · US Congress trades

GET /uscongresstrades/politicians/{handle}/trades

A member of Congress’s disclosed trades.

RequestGET /v1/uscongresstrades/politicians/{handle}/trades
Operation iduscongresstrades.politician.trades
Cost1 credit, refunded if the call fails
AuthAPI key: Authorization: Bearer <key> or x-api-key.

A member of Congress’s disclosed trades.

Path parameters

NameTypeRequiredDescription
handlestringyesName or bioguide id. Example: P000197.

Query parameters

NameTypeRequiredDescription
sort"pub_date" | "tx_date" | "value" | "reporting_gap"nopub_date (disclosure, default), tx_date, value (disclosed range) or reporting_gap. One of pub_date, tx_date, value, reporting_gap.
order"asc" | "desc"nodesc (default) or asc. One of asc, desc.
limitintegernoRows per page, 1 to 100. Defaults to 20.
offsetinteger | nullnoRows to skip, for paging. Defaults to 0.

Responses

StatusMeaningSchema
200A page of trades.CongressTrades
400Invalid input. Nothing was charged.Error
401Missing or invalid API key.Error
402Not enough credits, a spend cap was reached, or payment is required.Error
403The target is private, or the account is suspended.Error
404No member, ticker or trade matches.Error
429Too many requests. Wait for Retry-After seconds.Error
503US Congress trades is temporarily unavailable. Retryable; nothing was charged.Error

CongressTrades fields

FieldTypeDescription
dataCongressTrade[]
pagingobject

Errors use one shape everywhere; see Errors for every code and what to do.