Fed Treasury
Detailed instructions for data scientists on how to access Fiscal Data’s datasets using APIs, including information on endpoints, filters, and more. Endpoints…
Fork copies the collection into your workspace, without the publisher's secrets, so you can add your own key and send requests. Star saves it to your starred APIs (Account › Marketplace) and helps others find it.
Overview
Detailed instructions for data scientists on how to access Fiscal Data’s datasets using APIs, including information on endpoints, filters, and more.
Endpoints taken from the examples in the documentation and checked on 2026-11-18 by calling each one without a key.
Endpoints 1
- GETGet od rates of exchange
/services/api/fiscal_service/v1/accounting/od/rates_of_exchange
API details
- Base URL
https://api.fiscaldata.treasury.gov- Authentication
- None declared in the description
- Operations
- 1 operation on 1 pathGET 1
- Response formats
application/json- Description format
- OpenAPI 3.0.3, API version
2026-11-18 - Links
- Documentation · OpenAPI document
How to test the Fed Treasury in Swastik Codes
- Open the APISelect “Fork & run in Swastik Codes” on this page. Sign in or create a free account if asked.
- Fork it into your workspaceChoose a workspace. You get your own copy of the Fed Treasury collection, without the publisher's secrets.
- Add your credentialsOpen the collection's variables or an environment and enter your API key or token, if the API needs one.
- Send a requestPick an endpoint, for example “Get od rates of exchange” (GET /services/api/fiscal_service/v1/accounting/od/rates_of_exchange), and press Send. Check the response, add tests and run the whole collection with the runner.
Frequently asked questions
What is the Fed Treasury?
Detailed instructions for data scientists on how to access Fiscal Data’s datasets using APIs, including information on endpoints, filters, and more. Endpoints… It is listed under Finance & banking and has 1 endpoint.
Who publishes the Fed Treasury?
It is listed from U.S. Treasury Fiscal Data's public API description (an OpenAPI document), not published by U.S. Treasury Fiscal Data on Swastik Codes. Anyone who controls fiscaldata.treasury.gov can claim the profile by adding a DNS TXT record.
What is the base URL of the Fed Treasury?
Requests go to https://api.fiscaldata.treasury.gov. Endpoint paths are added to this base URL.
How do I authenticate with the Fed Treasury?
Its OpenAPI description does not declare an authentication scheme. Some endpoints may be open; check the provider's documentation before relying on that.
How many endpoints does the Fed Treasury have?
1 operation on 1 path (1 GET).
Is forking the Fed Treasury free?
Yes. Forking copies the collection into your workspace for free. It has been starred 0 times and forked 0 times.