GroundsocialDocs

API · US Congress trades

GET /uscongresstrades/trades

Congressional stock trades, filtered by ticker, member, party, chamber, sector, type and dates.

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

Congressional stock trades, filtered by ticker, member, party, chamber, sector, type and dates.

Query parameters

NameTypeRequiredDescription
tickerstringnoA ticker (NVDA) or company name.
politicianstringnoA member’s name or bioguide id.
party"democrat" | "republican" | "other"nodemocrat, republican or other. One of democrat, republican, other.
chamber"house" | "senate"nohouse or senate. One of house, senate.
sector"communication-services" | "consumer-discretionary" | "consumer-staples" | "energy" | "financials" | "health-care" | "industrials" | "information-technology" | "materials" | "real-estate" | "utilities"noOne of communication-services, consumer-discretionary, consumer-staples, energy, financials, health-care, industrials, information-technology, materials, real-estate, utilities.
tx_type"buy" | "sell" | "exchange"nobuy, sell or exchange. One of buy, sell, exchange.
start_datestringnoTrades made on or after (YYYY-MM-DD).
end_datestringnoTrades made on or before (YYYY-MM-DD).
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.