Skip to main content
GET
Government data

Authorizations

X-API-KEY
string
header
default:pk_live_YOUR_KEY
required

Astreus API key (pk_live_...), created on the Developers page in the terminal. Also accepted as Authorization: Bearer pk_live_....

Path Parameters

iso
string
required

ISO 3166-1 alpha-2 country code (e.g. US).

view
enum<string>
required
Available options:
congress,
legislation,
executive,
regulation,
spending,
feed

Query Parameters

chamber
enum<string>
default:all

congress only: house, senate, joint or all (default all). Passing it with any other view is a 400.

Available options:
house,
senate,
joint,
all
section
string

Row arrays of the view to page, comma-separated (congress: members, committees, meetings, hearings, votes; legislation: bills; executive: presidential, packages; regulation: rules, dockets; spending: awards, recipients, byAgency; feed: events); the others are left out. Paging without section is a 400.

limit
integer
default:50

Rows per section, 1–200, default 50.

Required range: 1 <= x <= 200
offset
integer
default:0

Rows to skip per section.

Required range: x >= 0
q
string

Words that filter each section's rows.

full
boolean
default:false

true = every row of every section, uncompacted (the terminal's panels). Does not combine with section, limit, offset or q.

Response

OK

Inferred from captured responses: every field shown was returned by a real call; a field may be absent or null on other calls.

iso2
string
available
boolean
load
object
loads
object
presidential
object[]
pages
object