Terms and Conditions for Web APIs (Application Programming Interfaces)
The Bureau of the Fiscal Service (Fiscal Service) offers some of its public data in machine readable format through an Application Programming Interface (API). This service is offered subject to your acceptance of the terms and conditions (Agreement) contained herein.
Scope
All of the content, documentation, code, and related materials made available to you through the API are subject to these terms. Access to use of the API or its content constitutes acceptance of this Agreement.
Use
You may use any of the Fiscal Service APIs to develop a service or services to search, display, analyze, retrieve, view, and otherwise “get” information from Fiscal Service data.
Attribution
You may use the Fiscal Service name in order to identify the source of the API content, subject to these rules. You shall not use the names of the Fiscal Service or the Department of the Treasury to imply endorsement, approval, sponsorship, association, or authorization of any product, service, or entity (not-for-profit, commercial, or otherwise).
Modification or False Representation of Content
You may not modify any content accessed through the API in any manner which could reasonably be interpreted or construed as conveying the false impression that Fiscal Service is the source of such content.
Right to Limit
Your use of the API may be subject to certain limitations on access, calls, or use as set forth within this Agreement or otherwise provided by Fiscal Service. If Fiscal Service reasonably believes that you have attempted to exceed or circumvent these limits, your ability to use the API may be permanently or temporarily blocked. Fiscal Service may monitor your use of the API to improve the service or to ensure compliance with this Agreement.
Service Termination
If you wish to terminate this Agreement, you may do so by refraining from further use of the API. In its sole discretion, Fiscal Service reserves the right to discontinue providing the API or data for any reason. Fiscal Service may stop providing the API to you if, in our opinion, your use violates any Fiscal Service policy. See our Privacy and Legal Notices and Website Terms and Conditions.
You agree that you are using this API “as is” and at your own risk. All provisions of this Agreement which by their nature should survive termination shall survive termination including, without limitation, warranty disclaimers, indemnity, and limitations of liability.
Changes
Fiscal Service reserves the right, at its sole discretion, to modify or replace this Agreement, in whole or in part. Your continued use of or access to the API following posting of any changes to this Agreement constitutes acceptance of those modified terms. Fiscal Service may, in the future, offer new services and/or features through the API. Such new features and/or services shall be subject to the terms and conditions of this Agreement. Fiscal Service may change any aspect of the API or the data offered at any time for any reason.
Disclaimer of Warranties
The API and all data provided through the API is provided “as is” and on an “as-available” basis. All express or implied conditions, representations, and warranties, including without limitation the warranties of merchantability, fitness for a particular purpose, and non-infringement are hereby disclaimed. Fiscal Service makes no warranty that the API data will be error-free or that access thereto will be continuous or uninterrupted.
Limitations on Liability
In no event will Fiscal Service, or its officers, employees, contractors, or agents be liable for any lost revenue, profit, or data, or for special, indirect, consequential, incidental, or punitive damages, however caused and regardless of theory of liability arising out of the use or inability to use the API or data offered through the API, even if the Fiscal Service has been advised of the possibility of such damages. The foregoing limitations shall apply even if the above stated warranty disclaimer fails to its essential purpose.
General Representations
You hereby warrant that:
(1) your use of the API will be in strict accordance with the Fiscal Service Privacy Policy, this Agreement, and all applicable laws and regulations; and
(2) your use of the API will not infringe or misappropriate the intellectual property rights of any third party.
Indemnification
You agree to indemnify and hold harmless the Fiscal Service, the Department of the Treasury, its officers, employees, contractors, agents, and the like from and against any and all liabilities, claims, and expenditures, including attorney’s fees, arising out of your use of the API, including but not limited to violation of this Agreement.
Miscellaneous
This Agreement constitutes the entire Agreement between Fiscal Service and you concerning the subject matter hereof, and may be modified only by the posting of a revised version on this page by Fiscal Service.
Disputes
Any disputes arising out of this Agreement and access to or use of the API shall be governed by Federal law.
No Waiver of Rights
Fiscal Service’s failure to exercise or enforce any right or provision of this Agreement shall not constitute waiver of such right or provision.