GroundsocialDocs

API · US Congress trades

GET /uscongresstrades/stats/volume

Trade counts and value over time, per day, week or month.

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

Trade counts and value over time, per day, week or month.

Query parameters

NameTypeRequiredDescription
daysintegernoWindow in days, 1 to 120. Defaults to 30.
period"day" | "week" | "month"noOne of day, week, month.

Responses

StatusMeaningSchema
200Buckets, oldest first.CongressVolume
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

CongressVolume fields

FieldTypeDescription
daysinteger
periodstring
bucketsobject[]

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