logoalt Hacker News

jodacolayesterday at 11:47 PM0 repliesview on HN

Random fun fact (?): I had a little project I let run all of last year which pulled down bills from Congress.gov's APIs and ran them through an LLM to summarize the bills and attempt to provide different political viewpoints, along with some image generation, ultimately resulting in something resembling X or Threads, but fully simulated - as though the House or Senate was "posting" bills they put forth and "people" from different political camps were responding with their thoughts.

I found that for 2025, on average, it took about 20 days for a bill to be posted before its text was made available via Congress' APIs. Sometimes more, sometimes less, sometimes almost immediate... but 20 days on average last year.

I learned a lot about congressional processes and such through the project, like this[0] really cool flow chart about the legislative steps (recommend viewing the tiff and really zooming in on the details), with the action codes[1], which is data that can come from the APIs[2].

[0] https://www.loc.gov/pictures/resource/ppmsca.33996/

[1] https://www.congress.gov/help/field-values/action-codes

[2] https://api.congress.gov/

edit: formatting