US Treasury Exchange Rates Scraper avatar

US Treasury Exchange Rates Scraper

Pricing

from $7.50 / 1,000 results

Go to Apify Store
US Treasury Exchange Rates Scraper

US Treasury Exchange Rates Scraper

Scrapes US Treasury exchange rates by country and date range. Returns each rate as a flat row with currency, effective date, and value. Export to CSV, JSON, Excel, or XML.

Pricing

from $7.50 / 1,000 results

Rating

0.0

(0)

Developer

ParseForge

ParseForge

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

11 days ago

Last modified

Share

ParseForge

US Treasury Exchange Rates Scraper

Scrape US Treasury exchange rates for any country and date range, up to a million records per run. Each rate comes with its currency, effective date, and the exact value published by the Treasury. No login or API key. Export to CSV, JSON, Excel, or XML.

The Treasury's official reporting site only shows one country at a time and makes bulk export a manual chore. This Actor reads the public exchange rate tables directly, filtered by country and date, and returns each published rate in one fixed schema. It is the fastest way to get historical and current US Treasury exchange rates into your spreadsheet or database.

Who uses itWhat they scrape US Treasury for
Financial analystsBuilding historical currency conversion tables for valuation models
AccountantsGetting the official Treasury rate for a specific transaction date
Data engineersLoading daily Treasury rates into a data warehouse for reporting
Compliance officersDocumenting the exact Treasury rate used in cross-border filings
ResearchersStudying long-term exchange rate movements published by the Treasury

What it does

This Actor collects US Treasury exchange rates by country and date range, and returns each rate as a flat row with its currency, effective date, and value.

  • ๐ŸŒ Country filter: enter a country name to get only its rates, or leave empty for all countries.
  • ๐Ÿ“… Date range: set a start date to pull rates from that day forward, or leave empty for the full history.
  • ๐Ÿ“Š Flat output: every rate is one row with currency, effective date, and value, ready for CSV or JSON.
  • โšก Bulk export: paid users can pull up to 1,000,000 rates in a single run; free users get a 10-rate preview.

Results export to CSV, JSON, Excel, or XML, or straight from the API.

What you can do with US Treasury data

๐Ÿ“ˆ Build a historical exchange rate database.

A financial analyst runs the Actor with no country filter and a start date of 2020-01-01, then loads the CSV into a database to power multi-year currency conversion models.

๐Ÿงพ Reconcile a specific transaction.

An accountant enters the country and the transaction date, gets the exact Treasury rate for that day, and attaches the record to the journal entry for audit support.

๐Ÿ“Š Feed a daily reporting pipeline.

A data engineer schedules the Actor to run each morning with the previous day's date, then appends the new rates to a warehouse table used by the finance team.

๐Ÿ›ก๏ธ Document compliance rates.

A compliance officer pulls the Treasury rate for a cross-border payment date and saves the JSON output as evidence of the official rate used in the filing.

๐Ÿ” Study long-term currency trends.

A researcher runs the Actor for a single country over ten years, then charts the Treasury's published rates to analyze policy-driven movements.

Why choose this scraper

What you get
Official Treasury dataRates come straight from the U.S. Treasury's published tables, not third-party feeds.
No API keyThe Actor reads the public site directly, so you skip registration and rate limits.
One row per rateEvery result is a flat record with currency, effective date, and value, no nested JSON.
Bulk friendlyPaid users can export up to a million rates per run for large-scale analysis.

How it compares

This Actor focuses on Treasury exchange rates, while the OFAC Sanctions Screener is built for sanctions list screening, so the comparison below highlights the different data each one returns.

FeatureParseForgeOFAC Sanctions Screener - Compliance Check
US Treasury exchange ratesYesNot listed
Country filterYesNot listed
Date range filterYesNot listed
OFAC SDN sanctions screeningNot listedYes
Fuzzy name matching with confidence scoresNot listedYes
Batch screening for KYC/AMLNot listedYes

Configure the run

Drive the Actor with a country name and a start date, alone or together, and filters run as each rate is read so only matches reach your dataset. The Input tab lists every parameter.

A first run with the defaults:

{
"startDate": "2026-01-01",
"maxItems": 10
}

A larger pull:

{
"startDate": "2026-01-01",
"maxItems": 200
}

Pricing

Pay-per-result: $0.0085 per result collected. You pay only for the results written to your dataset.

Results collectedApproximate cost
100 results$0.85
1,000 results$8.50
10,000 results$85.00

New Apify accounts start with $5 in free credit.

Free users

Free-plan runs return up to 10 results as a preview. Upgrade your Apify plan to collect up to 1,000,000 results per run.

Run it

  1. Create a free Apify account with $5 in credit.
  2. Open the US Treasury Exchange Rates Scraper.
  3. Set your inputs and any filters, then click Start.
  4. Export the results as CSV, Excel, JSON, or XML from the Dataset tab.

Run it programmatically through the Apify API (run-sync-get-dataset-items) or the ApifyClient for JavaScript and Python.

Use with AI agents (MCP)

Give an AI agent live access to US Treasury through the Model Context Protocol. Add the Actor to Claude, Cursor, or any MCP client:

$claude mcp add --transport http apify "https://mcp.apify.com?tools=parseforge/treasury-exchange-rates-scraper"

Then prompt it in plain language to run the scraper and read back the results.

Troubleshooting

Why am I getting no results?

Check the country filter. It must be an exact match, for example 'China' not 'china' or 'People's Republic of China'. Also confirm your startDate is not after the latest published rate.

Why did I only get 10 rates?

Free users are limited to a 10-rate preview. Upgrade to a paid plan and set maxItems higher to get the full dataset.

The country filter is not working.

The filter is case-sensitive and requires the exact country name as it appears on the Treasury site. Try the name without extra words like 'Republic of' or 'People's'.

Can I get rates before my startDate?

No. The startDate is inclusive and returns rates from that date forward. To get earlier rates, set an earlier startDate.

The output has duplicate rows.

The Treasury sometimes publishes the same rate on consecutive days. Use the effective_date field to deduplicate in your own pipeline if needed.

FAQ

QuestionAnswer
What is the US Treasury exchange rate?It is the official foreign currency exchange rate published by the U.S. Department of the Treasury for a given currency and effective date. These rates are used for accounting, customs valuation, and tax reporting.
Which countries and currencies are covered?The Actor returns every rate the Treasury publishes, which includes dozens of currencies. Use the country filter to narrow to one country, or leave it empty to get all of them.
How far back does the data go?The Treasury publishes rates going back many years. Set the start date to the earliest date you need, and the Actor will return every rate from that date forward.
Do I need an API key or login?No. The Actor reads the public Treasury reporting site directly, so there is no registration, OAuth, or API key to manage.
What does the output look like?Each rate is one flat row with the currency, effective date, and value. You can export the results as CSV, JSON, Excel, or XML.
Can I get rates for a single country only?Yes. Enter the exact country name in the country field, and the Actor will return only that country's rates.
Is there a limit on how many rates I can scrape?Free users get a 10-rate preview. Paid users can set maxItems up to 1,000,000 rates per run.
How do I filter by date?Set the startDate field to the earliest effective date you want, in YYYY-MM-DD format. The Actor returns all rates from that date forward.
Can I schedule this Actor to run daily?Yes. Use Apify's scheduler to run it every day with a startDate of the previous day, and you will collect each new rate as it is published.
Is this the same data as the Treasury's own website?Yes. The Actor scrapes the public Treasury reporting pages directly, so the values match what you would see on the official site.

Browse the full ParseForge collection for more scrapers.

๐Ÿ†˜ Need help? Email parseforge@protonmail.com with your run ID, your input, and what you expected.

โš ๏ธ Disclaimer. This Actor is unofficial and is not affiliated with, endorsed by, or sponsored by U.S. Department of the Treasury. It collects only publicly available data. You are responsible for using the collected data in compliance with the source's terms of service and applicable data-protection laws, including GDPR, CCPA, and PIPL. Do not use it to collect personal data unlawfully.