LibraryOfCongress / api.congress.gov

congress.gov API
666 stars 42 forks source link

Members of Congress and the Committees they belong to #165

Closed mirandar9936 closed 1 year ago

mirandar9936 commented 1 year ago

Hello, I am trying to compile a spreadsheet containing the current members of congress and the committees they belong too. While the member endpoint has lots of information for each member of congress, it does not provide the committees that each member belongs to. Where can I get this information? I need to associate each member of congress with all the committees they belong to.

rbram commented 1 year ago

Hello. Thanks for your question. Please consult the following pages for current members and their committee assignments:

Senate: https://www.senate.gov/general/committee_assignments/assignments.htm House: https://clerk.house.gov/members/#MemberProfiles

mirandar9936 commented 1 year ago

Thanks. How can I automate getting the above information through the API using code? I would rather not have to go one by one for each congress person. Is there an endpoint that will give this info back in JSON?

rbram commented 1 year ago

Hello. No there is not a method for this from the Congress.gov API currently. You might find what you are looking for here. More information regarding Congressional bulk data from the House and Senate: • Legislative Documents in XML at the United States House of RepresentativesXML Sources Available on Senate.gov

Gmanicus commented 1 year ago

https://github.com/unitedstates/congress-legislators Might have what you're looking for

mirandar9936 commented 1 year ago

Thanks!

asebold commented 2 weeks ago

@mirandar9936 Not sure if you still need this, but after some digging, I found automated sources for this data in XML:

House: https://clerk.house.gov/xml/lists/MemberData.xml Documentation for House XML: https://clerk.house.gov/member_info/MemberData_UserGuide.pdf

Senate: https://www.senate.gov/general/committee_membership/committee_memberships_SSAP.xml