Hacker Newsnew | past | comments | ask | show | jobs | submitlogin
Show HN: TreasuryViewer – Scraping TreasuryDirect.gov (treasuryviewer.com)
4 points by marcelluscat on July 13, 2022 | hide | past | favorite | 1 comment


TreasuryDirect.gov (the place to buy securities from the Treasury) is famously horrible to use. For example, it doesn't allow you to use browser nav (like no back or refresh buttons) or type in your password with a keyboard, and logs you out constantly. Reddit complaining about it yesterday: https://www.reddit.com/r/Bogleheads/comments/vxcmrt

Out of frustration, my friend and I made an app that aims to unofficially replace TreasuryDirect by scraping it and lets you see all the bonds and assets you own. (We also plan on adding buying and selling I-Bonds from your phone). The app mitigates most of the problems with TreasuryDirect and also calculates stats about the securities for you.

Scraping TreasuryDirect was kind of insane, not because they tried to make it difficult, but because it is one of the most awfully architectured websites I have seen. It took a lot of trial and error to get it to work.

The login is done on your device, so we don't have access to your credentials.




Consider applying for YC's Winter 2026 batch! Applications are open till Nov 10

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: