US Treasury Fiscal Data Scraper avatar

US Treasury Fiscal Data Scraper

Pricing

from $6.00 / 1,000 results

Go to Apify Store
US Treasury Fiscal Data Scraper

US Treasury Fiscal Data Scraper

Scrape US Treasury fiscal data including national debt totals, daily cash balances, interest rates, savings bond rates, and federal spending breakdowns. Filter by date range across 80+ datasets covering decades of financial history.

Pricing

from $6.00 / 1,000 results

Rating

0.0

(0)

Developer

ParseForge

ParseForge

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

2

Monthly active users

9 days ago

Last modified

Share

ParseForge Banner

🏦 US Treasury Fiscal Data Scraper

πŸš€ Collect US Treasury fiscal data including national debt totals, daily cash balances, interest rates, savings bond rates, and federal spending breakdowns. Filter by date range across 7 datasets covering decades of financial history.

πŸ•’ Last updated: 2026-04-23

Federal fiscal data powers investment research, economic modeling, and policy analysis. The US Treasury publishes this data across multiple endpoints, but downloading and structuring it manually is time-consuming and requires navigating different interfaces.

The US Treasury Fiscal Data Scraper automates this process, pulling structured records from 7 different Treasury datasets with optional date filtering. Whether you are tracking national debt, monitoring interest rates, or analyzing federal revenue, this tool delivers clean data in seconds.

Target AudienceFinancial analysts, economists, banks, policy researchers, academic researchers
Primary Use CasesDebt tracking, interest rate monitoring, exchange rate analysis, revenue research

πŸ“‹ What Does It Do

This tool collects federal fiscal records from the US Department of the Treasury, covering 7 major datasets. It delivers:

  • πŸ’° National debt tracking - daily "Debt to the Penny" figures showing total public debt
  • πŸ“ˆ Interest rate data - average interest rates on Treasury securities by maturity
  • πŸ’± Exchange rates - Treasury exchange rates for international currencies
  • πŸ›οΈ Debt outstanding - breakdowns of outstanding federal debt by security type
  • πŸ“Š Revenue collections - federal tax revenue and collections data
  • πŸ”¨ Treasury auctions - auction results for government securities

🎬 How to Use the US Treasury Fiscal Data Scraper - Full Demo

🚧 Demo video coming soon. Follow the step-by-step instructions below to get started in under 2 minutes.


βš™οΈ Input

Select a dataset and optionally filter by date range.

FieldTypeDescription
DatasetSelectChoose from: Debt to the Penny, Average Interest Rates, Rates of Exchange, Debt Outstanding, Top State Debt, Revenue Collections, Treasury Auctions
Max ItemsIntegerFree users: Limited to 10 items. Paid users: up to 1,000,000
Date FromStringStart date filter (YYYY-MM-DD)
Date ToStringEnd date filter (YYYY-MM-DD)

Example 1 - National debt for 2024:

{
"dataset": "v2/accounting/od/debt_to_penny",
"maxItems": 50,
"dateFrom": "2024-01-01",
"dateTo": "2024-12-31"
}

Example 2 - Average interest rates:

{
"dataset": "v2/accounting/od/avg_interest_rates",
"maxItems": 100,
"dateFrom": "2023-01-01"
}

⚠️ Free users are limited to 10 items per run. Sign up for a paid plan to unlock up to 1,000,000 records.


πŸ“Š Output

🧾 Output Schema

FieldTypeDescription
record_datestringDate of the fiscal record
security_type_descstringType of Treasury security
avg_interest_rate_amtnumberAverage interest rate
tot_pub_debt_out_amtnumberTotal public debt outstanding
debt_held_public_amtnumberDebt held by the public
exchange_ratenumberCurrency exchange rate
net_collections_amtnumberNet revenue collections
record_fiscal_yearintegerFiscal year
record_calendar_monthintegerCalendar month
scrapedAtstringTimestamp of data collection

πŸ“¦ Sample Output

Sample 1 - Treasury Bill interest rate:

{
"record_date": "2024-12-31",
"security_type_desc": "Treasury Bills",
"avg_interest_rate_amt": 5.157,
"src_line_nbr": 1,
"record_fiscal_year": 2025,
"record_fiscal_quarter": 1,
"record_calendar_year": 2024,
"record_calendar_month": 12,
"scrapedAt": "2026-04-09T12:00:00.000Z"
}

Sample 2 - National debt:

{
"record_date": "2024-12-31",
"tot_pub_debt_out_amt": 36218000000000,
"debt_held_public_amt": 28908000000000,
"intragov_hold_amt": 7310000000000,
"record_fiscal_year": 2025,
"record_calendar_year": 2024,
"scrapedAt": "2026-04-09T12:00:00.000Z"
}

Sample 3 - Exchange rate:

{
"record_date": "2024-12-31",
"country_currency_desc": "Euro Zone-Euro",
"exchange_rate": 0.955,
"effective_date": "2024-12-31",
"record_fiscal_year": 2025,
"scrapedAt": "2026-04-09T12:00:00.000Z"
}

✨ Why Choose the US Treasury Fiscal Data Scraper?

AdvantageDetails
πŸ’° 7 datasetsDebt, interest rates, exchange rates, auctions, revenue, and more
πŸ“… Date filteringCustom date ranges across decades of history
πŸ“Š Numeric parsingValues auto-converted to numbers for analysis
πŸ›οΈ Official sourceData from the US Department of the Treasury
⏰ Scheduled monitoringDaily or weekly updates for tracking
πŸ“ Multiple formatsJSON, CSV, or Excel export
⚑ Fast collectionResults in seconds

πŸ“ˆ How Does It Compare?

FeatureOur ToolManual Treasury Website
Batch collectionUp to 1M recordsOne page at a time
Date filteringCustom rangesLimited options
Multiple datasets7 in one toolNavigate separately
Structured outputJSON, CSV, ExcelPDF reports only
Automated schedulingDaily/weeklyManual visits
Numeric parsingAuto-convertedRaw text strings

πŸš€ How to Use

  1. Sign Up - Create a free account w/ $5 credit (takes 2 minutes)
  2. Find the Tool - Search for "US Treasury Fiscal Data Scraper" in the Apify Store
  3. Set Input - Select the dataset and set optional date filters
  4. Run It - Click "Start" and get structured fiscal data in seconds
  5. Download Data - Export results as CSV, Excel, or JSON from the Dataset tab

πŸ’Ό Business Use Cases

Financial Analysts:

  • Track national debt levels and interest rate trends
  • Feed Treasury data into investment models

Banks and Lenders:

  • Monitor Treasury interest rates for lending decisions
  • Track yield curve data across maturities

Import/Export Businesses:

  • Collect historical exchange rates for trade calculations
  • Monitor currency trends over time

Academic Researchers:

  • Gather long-term fiscal data for economic studies
  • Analyze government finance and monetary policy


✨ Why choose this Actor

Capability
🎯Built for the job. Scoped specifically to this data source so you skip the parser engineering entirely.
πŸ”–Structured output. Clean, typed fields ready for analysis, dashboards, or downstream pipelines.
⚑Fast. Optimized request patterns return results in seconds, not minutes.
πŸ”Always fresh. Every run pulls live data, so the dataset reflects the source as of run time.
🌐No infra to manage. Apify handles proxies, retries, scaling, scheduling, and storage.
πŸ›‘οΈReliable. Battle-tested across many runs and edge cases, with graceful error handling.
🚫No code required. Configure in the UI, run from CLI, schedule via cron, or call from any language with the Apify SDK.

πŸ“Š Production-grade structured data without the engineering overhead of building and maintaining your own scraper.


πŸ“ˆ How it compares to alternatives

ApproachCostCoverageRefreshFiltersSetup
⭐ US Treasury Fiscal Data Scraper (this Actor)$5 free credit, then pay-per-useFull source coverageLive per runSource-native filters supported⚑ 2 min
Build your own scraperEngineering hoursFull once builtWhenever you maintain itCustom code🐒 Days to weeks
Paid managed APIs$$$ monthlyVendor-definedLiveVendor-defined⏳ Hours
Third-party data dumpsVariesSubset, often stalePeriodicNoneπŸ•’ Variable

Pick this Actor when you want broad coverage, server-side filtering, and no pipeline maintenance.


πŸš€ How to use

  1. πŸ“ Sign up. Create a free account with $5 credit (takes 2 minutes).
  2. 🌐 Open the Actor. Go to the US Treasury Fiscal Data Scraper page on the Apify Store.
  3. 🎯 Set input. Configure the input fields in the form (or paste a JSON), then set maxItems.
  4. πŸš€ Run it. Click Start and let the Actor collect your data.
  5. πŸ“₯ Download. Grab your results in the Dataset tab as CSV, Excel, JSON, or XML.

⏱️ Total time from signup to downloaded dataset: 3-5 minutes. No coding required.


πŸ’Ό Business use cases

πŸ“Š Data & Analytics

  • Build trend reports and dashboards from live source data
  • Feed BI tools, warehouses, and ML pipelines with structured records
  • Run periodic snapshots to track changes over time
  • Compare segments, regions, or categories with consistent fields

🏒 Operations & Strategy

  • Monitor competitor moves, pricing, and inventory shifts
  • Build internal directories and lookup tools backed by current data
  • Power workflows that depend on fresh source records
  • Cut manual data-gathering time from hours to minutes

🎯 Marketing & Growth

  • Identify market opportunities and trending topics
  • Research target audiences and customer personas at scale
  • Power lead-generation pipelines with verified records
  • Track sentiment, reviews, or social signals over time

πŸ› οΈ Engineering & Product

  • Prototype features that need real-world data without owning a crawler
  • Replace fragile in-house scrapers with a managed Actor
  • Wire datasets into your apps via the Apify API or webhooks
  • Skip the proxy, retry, and parsing maintenance entirely

🌟 Beyond business use cases

Data like this powers more than commercial workflows. The same structured records support research, education, civic projects, and personal initiatives.

πŸŽ“ Research and academia

  • Empirical datasets for papers, thesis work, and coursework
  • Longitudinal studies tracking changes across snapshots
  • Reproducible research with cited, versioned data pulls
  • Classroom exercises on data analysis and ethical scraping

🎨 Personal and creative

  • Side projects, portfolio demos, and indie app launches
  • Data visualizations, dashboards, and infographics
  • Content research for bloggers, YouTubers, and podcasters
  • Hobbyist collections and personal trackers

🀝 Non-profit and civic

  • Transparency reporting and accountability projects
  • Advocacy campaigns backed by public-interest data
  • Community-run databases for local issues
  • Investigative journalism on public records

πŸ§ͺ Experimentation

  • Prototype AI and machine-learning pipelines with real data
  • Validate product-market hypotheses before engineering spend
  • Train small domain-specific models on niche corpora
  • Test dashboard concepts with live input

πŸ€– Ask an AI assistant about this scraper

Open a ready-to-send prompt about this ParseForge actor in the AI of your choice:

πŸ’° How much does it cost?

Apify gives you $5 in free monthly credits on the Apify Free plan, enough to test US Treasury Fiscal Data Scraper and pull a real sample dataset. For ongoing usage:

  • Starter plan ($49/month) β€” Recommended for individuals running US Treasury Fiscal Data Scraper regularly. Includes higher concurrency and larger datasets.
  • Scale plan ($499/month) β€” Recommended for teams running US Treasury Fiscal Data Scraper at production scale.

Pay-Per-Event pricing means you only pay for what you actually use. Failed runs are never charged. See the Pricing tab on this Actor's page for exact event prices.

πŸ’‘ Tips for using US Treasury Fiscal Data Scraper

  • Start with a small maxItems (3-10) to validate output format before running larger jobs.
  • Use Apify Schedules to run US Treasury Fiscal Data Scraper on a recurring basis and keep your dataset fresh.
  • Export via Integrations: Apify connects to Google Sheets, Airbyte, Make, Zapier, and direct webhooks β€” pipe your data anywhere.
  • Monitor with webhooks: trigger downstream workflows the moment a run finishes.
  • Re-run failed items: if any individual records error out, re-run with their inputs only. Failed events are not charged.

Yes. US Treasury Fiscal Data Scraper only collects publicly available data. Web scraping public data has been confirmed as legal by US courts (see hiQ Labs v. LinkedIn) and is widely used for research, market analysis, and business intelligence.

However, you are responsible for:

  • Respecting the source website's Terms of Service.
  • Complying with GDPR, CCPA, and other applicable data-protection laws when personal data is involved.
  • Not republishing copyrighted content without permission.

If you have specific compliance concerns, consult your legal team. See the Apify legal docs for more.

❓ Frequently Asked Questions

πŸ”Œ Automating Your Treasury Data Collection

Schedule daily runs for interest rate monitoring or weekly runs for debt tracking. Use the Apify scheduler and push data to your financial models, dashboards, or analytics tools.

πŸ”Œ Integrate US Treasury Fiscal Data Scraper with Any App

Connect your fiscal data to thousands of apps using these integrations:

  • Make - Automate fiscal monitoring workflows
  • Zapier - Get alerts on new data
  • Slack - Get notified in your channel
  • Google Drive - Export to spreadsheets
  • Airbyte - Sync to your data warehouse
  • Webhooks - Trigger actions when runs complete

πŸ”Œ Integrate with any app

US Treasury Fiscal Data Scraper connects to any cloud service via Apify integrations:

  • Make - Automate multi-step workflows
  • Zapier - Connect with 5,000+ apps
  • Slack - Get run notifications in your channels
  • Airbyte - Pipe results into your warehouse
  • GitHub - Trigger runs from commits and releases
  • Google Drive - Export datasets straight to Sheets

You can also use webhooks to trigger downstream actions when a run finishes. Push fresh data into your product backend, or alert your team in Slack.


Looking for more financial and government data tools? Check out these related actors:

ActorDescriptionLink
GSA eLibrary ScraperGovernment contract dataLink
FINRA BrokerCheck ScraperBroker registration dataLink
FAA Aircraft Registry ScraperAircraft registration recordsLink
Pitchbook Funds ScraperPrivate fund profilesLink
Smart Apify Actor ScraperApify marketplace analyticsLink

Pro Tip: πŸ’‘ Browse the full ParseForge catalog to find more data tools.


πŸ†˜ Need Help?


⚠️ Disclaimer: This Actor is an independent tool and is not affiliated with, endorsed by, or connected to the U.S. Department of the Treasury, the U.S. government, or any federal agency. It accesses only publicly available data.