Home / Market & alternative data
treasurydirect
Typed client for US Treasury auctions and debt
What it is
A zero-dependency TypeScript client for the US Treasury's public auction and debt endpoints, with no API key. It lists recent, upcoming, and announced auctions, fetches one security by CUSIP and issue date, searches reopenings, and reads Debt to the Penny as the latest total or over a date range, turning text fields into numbers. Fixed-income developers building a bond ladder, a rates view, or a debt dashboard can call it with their own fetch in tests. Only the commonly used security fields are typed in full, the public-versus-intragovernmental split is missing on the earliest rows, and a broad search with no page size can return a very large payload.
At a glance
Research onlyOur rating, based on popularity, maintenance and how ready it is for real use.
| Best for | Developers |
|---|---|
| Used for | Data source, Data analysis |
| Markets | US equities, Other markets |
| Stack | TypeScript |
| Learning curve | Easy to start |
| Practical value | Medium practical value |
| Cost | Free and open source |
| Hardware | No GPU needed |
| Maintenance | Last commit 17 days ago |
GitHub stars, last 30 days
Daily snapshots since 2026-09-28 (up to 30 days): 0 over the period, now 0. Gaps mean no snapshot was taken that day.
Zero-dependency client for the US TreasuryDirect API: auction results, upcoming auctions, CUSIP lookups, and Debt to the Penny; no API key required.
Similar tools
Keyless client for SOFR and other reference rates
Pythonic downloader for Yahoo! Finance market data
Posted buy and sell rates at Uruguayan exchange houses
Typed access to US Treasury debt, rates, and FX
Third-party Python client for FRED, ALFRED, and FRASER
Python client for FRED, GeoFRED, ALFRED, and FRASER