REST APIFinance & Macro

U.S. Treasury Fiscal Data API

U.S. Treasury Fiscal Data API is a rest api from U.S. Department of the Treasury, Bureau of the Fiscal Service providing finance & macro data. A free, open RESTful API from the U.S. Treasury's Bureau of the Fiscal Service that centralizes federal financial data including debt, interest rates, and Treasury securities auction results. For a Polymarket bot, it provides authoritative government-source data on Treasury yields, auction outcomes, and average rates to model interest-rate, debt-ceiling, and rates-driven macro markets.

At a glance

ProviderU.S. Department of the Treasury, Bureau of the Fiscal Service
TypeREST API
CategoryFinance & Macro
Real-timeNo — request/response
AuthNone — open endpoint
PricingFree (public domain, no API key, no registration) — Free: full access, no account or API key required, No paid tiers — data is open and free for commercial and non-commercial use, Usage governed by a 'Right to Limit' clause; Treasury may throttle/block abuse

What data it provides

  • Treasury Securities Auctions Data — announced/auctioned marketable securities with issue date, security type/term, maturity date, rates and yields
  • Record-Setting Treasury Securities Auction Data — record high/low rates, yields, offering amounts, and bid-to-cover ratios
  • Average Interest Rates on U.S. Treasury Securities (monthly) across marketable and non-marketable securities
  • Debt to the Penny — daily total public debt outstanding
  • Daily/SLGS rate tables and TIPS & CPI (inflation index) data
  • Federal debt, revenue, spending, and savings-bond reference datasets

Features

  • No authentication required — open public REST API (GET requests, JSON/CSV/XML output via format param)
  • Base URL https://api.fiscaldata.treasury.gov/services/api/fiscal_service/ with v1 and v2 endpoints
  • Rich querying: pagination (page[number]/page[size]), field filtering, sorting, and date-range filters
  • Broad history depth — many datasets go back years to decades of fiscal records
  • Not real-time: data publishes on official schedules (auction results per-auction, average rates monthly, debt daily)
  • Standard HTTP response codes with metadata (total-pages, total-count) in every response

Links

Use it in a bot

Other finance & macro data sources

Listed, not endorsed. Pricing and capabilities change without notice — check the provider's own documentation before you depend on anything here. Browse the full data resources directory or the strategy database.
Join Discord