US Treasury API
treasury.gov
Yield curves, TIPS real yields, bill rates, national debt, auction results, average interest rates, and exchange rates.
- Actions
- 7
- Category
- Finance
- Login
- Not required
- Output
- JSON
US Treasury has 7 actions. The live parameter list is temporarily unavailable — fetch it from GET https://api.anakin.io/v1/wire/catalog/us_treasury.
US Treasury API questions
- Is there an API for US Treasury?
- US Treasury does not offer a public data API for this, but Anakin Wire provides 7 maintained endpoints for treasury.gov. You call Anakin's REST API with an action ID and parameters and get structured JSON back; Anakin handles the browser, proxies, anti-bot, and parsing.
- How do I scrape US Treasury data?
- POST to https://api.anakin.io/v1/wire/task with your API key, the action ID, and its parameters, then poll GET /v1/wire/jobs/{id} until the job settles. There is nothing to install and no scraper to maintain — when treasury.gov changes its markup, Anakin updates the action.
- Do I need a US Treasury account?
- No. Every US Treasury action listed here runs anonymously — no account and no credentials required.
- What does the US Treasury API cost?
- Usage-based credits, charged per call and refunded automatically when a job fails. New accounts start with 300 free credits and no card. See anakin.io/pricing for the current rates.
More Finance APIs
BIS (Bank for International Settlements)
BIS — central bank policy rates, credit-to-GDP gaps, debt service ratios, property prices, effective exchange rates, and CPI for 60+ countries.
BLS (Bureau of Labor Statistics)
BLS — official US labor market and price data: unemployment, CPI, payrolls, JOLTS, PPI, productivity, employment costs, and earnings.
BSE India
Bombay Stock Exchange market data, quotes, and corporate filings.
CBOE
VIX volatility indices (VIX, VIX9D, VIX3M, VIX6M, VVIX), SKEW tail risk index, oil/gold volatility, and VIX term structure.
CoinGecko
Live crypto prices, market data, charts, trending coins, exchange rankings, DeFi stats, and global market overview.
DolarApp
Latin American stablecoin wallet (USDC <-> local fiat: COP, MXN, ARS, BRL).