GroundsocialDocs

API · US Congress trades

GET /uscongresstrades/stats/party

Trading by party: trades, buys, sells, members, volume.

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

Trading by party: trades, buys, sells, members, volume.

Responses

StatusMeaningSchema
200One row per party.CongressPartyStats
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

CongressPartyStats fields

FieldTypeDescription
partiesobject[]

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