{ "opencollection": "1.0.0", "info": { "name": "Treasury Fiscal Data Exchange Rates National Debt API", "version": "1.0" }, "items": [ { "info": { "name": "National Debt", "type": "folder" }, "items": [ { "info": { "name": "Treasury Fiscal Data Get Debt to the Penny", "type": "http" }, "http": { "method": "GET", "url": "https://api.fiscaldata.treasury.gov/services/api/fiscal_service/v2/accounting/od/debt_to_penny", "params": [ { "name": "fields", "value": "", "type": "query", "description": "Comma-separated list of field names to include in the response. Use to limit output to specific columns (e.g., fields=record_date,tot_pub_debt_out_amt)." }, { "name": "filter", "value": "", "type": "query", "description": "Filter criteria using format field:operator:value. Multiple filters separated by commas. Operators: eq (equals), lt (less than), lte (less than or equal), gt (greater than), gte (greater than or equal), in (in list). Example: filter=record_date:gte:2025-01-01,record_date:lte:2025-12-31" }, { "name": "sort", "value": "", "type": "query", "description": "Comma-separated list of field names to sort by. Prefix with minus (-) for descending order. Example: sort=-record_date,security_desc" }, { "name": "page[number]", "value": "", "type": "query", "description": "Page number for pagination (1-based)." }, { "name": "page[size]", "value": "", "type": "query", "description": "Number of records per page (max 10000)." }, { "name": "format", "value": "", "type": "query", "description": "Response format. Options: json (default), csv, xml." } ] }, "docs": "Retrieve daily public debt outstanding data including total public debt, debt held by the public, and intragovernmental holdings. Data is updated daily when federal markets are open. The dataset begins January 1993 with approximately 8,000 records." }, { "info": { "name": "Treasury Fiscal Data Get Average Interest Rates on U.S. Treasury Securities", "type": "http" }, "http": { "method": "GET", "url": "https://api.fiscaldata.treasury.gov/services/api/fiscal_service/v2/accounting/od/avg_interest_rates", "params": [ { "name": "fields", "value": "", "type": "query", "description": "Comma-separated list of field names to include in the response. Use to limit output to specific columns (e.g., fields=record_date,tot_pub_debt_out_amt)." }, { "name": "filter", "value": "", "type": "query", "description": "Filter criteria using format field:operator:value. Multiple filters separated by commas. Operators: eq (equals), lt (less than), lte (less than or equal), gt (greater than), gte (greater than or equal), in (in list). Example: filter=record_date:gte:2025-01-01,record_date:lte:2025-12-31" }, { "name": "sort", "value": "", "type": "query", "description": "Comma-separated list of field names to sort by. Prefix with minus (-) for descending order. Example: sort=-record_date,security_desc" }, { "name": "page[number]", "value": "", "type": "query", "description": "Page number for pagination (1-based)." }, { "name": "page[size]", "value": "", "type": "query", "description": "Number of records per page (max 10000)." }, { "name": "format", "value": "", "type": "query", "description": "Response format. Options: json (default), csv, xml." } ] }, "docs": "Retrieve average interest rates on various U.S. Treasury securities including Treasury bills, notes, bonds, TIPS, and total marketable and non-marketable securities. Data is published monthly." }, { "info": { "name": "Treasury Fiscal Data Get Interest Expense on the Debt Outstanding", "type": "http" }, "http": { "method": "GET", "url": "https://api.fiscaldata.treasury.gov/services/api/fiscal_service/v2/accounting/od/interest_expense", "params": [ { "name": "fields", "value": "", "type": "query", "description": "Comma-separated list of field names to include in the response. Use to limit output to specific columns (e.g., fields=record_date,tot_pub_debt_out_amt)." }, { "name": "filter", "value": "", "type": "query", "description": "Filter criteria using format field:operator:value. Multiple filters separated by commas. Operators: eq (equals), lt (less than), lte (less than or equal), gt (greater than), gte (greater than or equal), in (in list). Example: filter=record_date:gte:2025-01-01,record_date:lte:2025-12-31" }, { "name": "sort", "value": "", "type": "query", "description": "Comma-separated list of field names to sort by. Prefix with minus (-) for descending order. Example: sort=-record_date,security_desc" }, { "name": "page[number]", "value": "", "type": "query", "description": "Page number for pagination (1-based)." }, { "name": "page[size]", "value": "", "type": "query", "description": "Number of records per page (max 10000)." }, { "name": "format", "value": "", "type": "query", "description": "Response format. Options: json (default), csv, xml." } ] }, "docs": "Retrieve monthly interest expense incurred on the federal debt, broken down by debt category (debt held by public, intragovernmental debt)." }, { "info": { "name": "Treasury Fiscal Data Get Gift Contributions to Reduce the Public Debt", "type": "http" }, "http": { "method": "GET", "url": "https://api.fiscaldata.treasury.gov/services/api/fiscal_service/v1/accounting/od/gift_contributions", "params": [ { "name": "fields", "value": "", "type": "query", "description": "Comma-separated list of field names to include in the response. Use to limit output to specific columns (e.g., fields=record_date,tot_pub_debt_out_amt)." }, { "name": "filter", "value": "", "type": "query", "description": "Filter criteria using format field:operator:value. Multiple filters separated by commas. Operators: eq (equals), lt (less than), lte (less than or equal), gt (greater than), gte (greater than or equal), in (in list). Example: filter=record_date:gte:2025-01-01,record_date:lte:2025-12-31" }, { "name": "sort", "value": "", "type": "query", "description": "Comma-separated list of field names to sort by. Prefix with minus (-) for descending order. Example: sort=-record_date,security_desc" }, { "name": "page[number]", "value": "", "type": "query", "description": "Page number for pagination (1-based)." }, { "name": "page[size]", "value": "", "type": "query", "description": "Number of records per page (max 10000)." }, { "name": "format", "value": "", "type": "query", "description": "Response format. Options: json (default), csv, xml." } ] }, "docs": "Retrieve data on voluntary contributions made to the U.S. Treasury to help reduce the public debt. Records individual and organizational gifts received since 1996." } ] } ], "bundled": true }