4

Congress.gov API

 1 year ago
source link: https://api.congress.gov/
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.

Congress.gov API

[ Base URL: /v3 ]

Congress.gov shares its application programming interface (API) with the public to ingest the Congressional data. Sign up for an API key from api.data.gov that you can use to access web services provided by Congress.gov. To learn more, view our GitHub page.

bill

Return bill data from the API

GET/bill
Returns a list of bills sorted by date of latest action.
GET/bill/{congress}
Returns a list of bills filtered by the specified congress, sorted by date of latest action.
GET/bill/{congress}/{billType}
Returns a list of bills filtered by the specified congress and bill type, sorted by date of latest action.
GET/bill/{congress}/{billType}/{billNumber}
Returns detailed information for a specified bill.
GET/bill/{congress}/{billType}/{billNumber}/actions
Returns the list of actions on a specified bill.
GET/bill/{congress}/{billType}/{billNumber}/amendments
Returns the list of amendments to a specified bill.
GET/bill/{congress}/{billType}/{billNumber}/committees
Returns the list of committees associated with a specified bill.
GET/bill/{congress}/{billType}/{billNumber}/cosponsors
Returns the list of cosponsors on a specified bill.
GET/bill/{congress}/{billType}/{billNumber}/relatedbills
Returns the list of related bills to a specified bill.
GET/bill/{congress}/{billType}/{billNumber}/subjects
Returns the list of legislative subjects on a specified bill.
GET/bill/{congress}/{billType}/{billNumber}/summaries
Returns the list of summaries for a specified bill.
GET/bill/{congress}/{billType}/{billNumber}/text
Returns the list of text versions for a specified bill.
GET/bill/{congress}/{billType}/{billNumber}/titles
Returns the list of titles for a specified bill.

amendments

Return amendment data from the API

GET/amendment
Returns a list of amendments sorted by date of latest action.
GET/amendment/{congress}
Returns a list of amendments filtered by the specified congress, sorted by date of latest action.
GET/amendment/{congress}/{amendmentType}
Returns a list of amendments filtered by the specified congress and amendment type, sorted by date of latest action.
GET/amendment/{congress}/{amendmentType}/{amendmentNumber}
Returns detailed information for a specified amendment.
GET/amendment/{congress}/{amendmentType}/{amendmentNumber}/actions
Returns the list of actions on a specified amendment.
GET/amendment/{congress}/{amendmentType}/{amendmentNumber}/cosponsors
Returns the list of cosponsors on a specified amendment.
GET/amendment/{congress}/{amendmentType}/{amendmentNumber}/amendments
Returns the list of amendments to the specified amendment.

summaries

Return summaries data from the API

GET/summaries
Returns a list of summaries sorted by date of last update.
GET/summaries/{congress}
Returns a list of summaries filtered by congress, sorted by date of last update.
GET/summaries/{congress}/{billType}
Returns a list of summaries filtered by congress and by bill type, sorted by date of last update.

congress

Return congress and congressional sessions data from the API

GET/congress
Returns a list of congresses and congressional sessions.
GET/congress/{congress}
Returns detailed information for a specified congress.

member

Return member data from the API

GET/member
Returns a list of congressional members.
GET/member/{bioguideId}
Returns detailed information for a specified congressional member.
GET/member/{bioguideId}/sponsored-legislation
Returns the list of legislation sponsored by the specified congressional member.
GET/member/{bioguideId}/cosponsored-legislation
Returns the list of legislation cosponsored by the specified congressional member.

committee

Return committee data from the API

GET/committee
Returns a list of congressional committees.
GET/committee/{chamber}
Returns a list of congressional committees filtered by the specified chamber.
GET/committee/{congress}
Returns a list of congressional committees filtered by the specified congress.
GET/committee/{congress}/{chamber}
Returns a list of committees filtered by the specified congress and chamber.
GET/committee/{chamber}/{committeeCode}
Returns detailed information for a specified congressional committee.
GET/committee/{chamber}/{committeeCode}/bills
Returns the list of bills associated with the specified congressional committee.
GET/committee/{chamber}/{committeeCode}/reports
Returns the list of committee reports associated with the specified congressional committee.
GET/committee/{chamber}/{committeeCode}/nominations
Returns the list of nominations associated with the specified congressional committee.

committeeReport

Return committee report data from the API

GET/committeeReport
Returns a list of committee reports.
GET/committeeReport/{congress}
Returns a list of committee reports filtered by the specified congress.
GET/committeeReport/{congress}/{reportType}
Returns a list of committee reports filtered by the specified congress and report type.
GET/committeeReport/{congress}/{reportType}/{reportNumber}
Returns detailed information for a specified committee report.
GET/committeeReport/{congress}/{reportType}/{reportNumber}/text
Returns the list of texts for the specified committee report.

congressional-record

Return Congressional Record data from the API

GET/congressional-record
Return a list of congressional record issues sorted by most recent.

house-communication

Return House communication data from the API

GET/house-communication
Returns a list of House communications.
GET/house-communication/{congress}
Returns a list of House communications filtered by the specified congress.
GET/house-communication/{congress}/{communicationType}
Returns a list of House communications filtered by the specified congress and communication type.
GET/house-communication/{congress}/{communicationType}/{communicationNumber}
Returns detailed information for a specified House communication.

nomination

Return nomination data from the API

GET/nomination
Returns a list of nominations sorted by date received from the President.
GET/nomination/{congress}
Returns a list of nominations filtered by the specified congress and sorted by date received from the President.
GET/nomination/{congress}/{nominationNumber}
Returns detailed information for a specified nomination.
GET/nomination/{congress}/{nominationNumber}/{ordinal}
Returns the list nominees for a position within a nomination.
GET/nomination/{congress}/{nominationNumber}/actions
Returns the list of actions on a specified nomination.
GET/nomination/{congress}/{nominationNumber}/committees
Returns the list of committees associated with a specified nomination.
GET/nomination/{congress}/{nominationNumber}/hearings
Returns the list of printed hearings associated with a specified nomination.

treaty

Return treaty data from the API

GET/treaty
Returns a list of treaties sorted by date of last update.
GET/treaty/{congress}
Returns a list of treaties for the specified congress, sorted by date of last update.
GET/treaty/{congress}/{treatyNumber}
Returns detailed information for a specified treaty.
GET/treaty/{congress}/{treatyNumber}/{treatySuffix}
Returns detailed information for a specified partitioned treaty.
GET/treaty/{congress}/{treatyNumber}/actions
Returns the list of actions on a specified treaty.
GET/treaty/{congress}/{treatyNumber}/{treatySuffix}/actions
Returns the list of actions on a specified partitioned treaty.
GET/treaty/{congress}/{treatyNumber}/committees
Returns the list of committees associated with a specified treaty.

About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK