Aller au contenu
GET /v1/interest-expense

Interest paid to service the national debt (month + fiscal-YTD)

Essayez-le en direct

10 appels gratuits par jour — sans inscription, sans clé API. Passe par la passerelle oanor.

En-têtes personnalisés (facultatif)
api.oanor.com/usfiscal-api

Ça marche. Récupérez une clé API et utilisez-la dans votre projet.

Obtenez une clé API

Extraits de code

curl "https://api.oanor.com/usfiscal-api/v1/interest-expense" \
  -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/usfiscal-api/v1/interest-expense", {
  headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/usfiscal-api/v1/interest-expense");
curl_setopt($ch, CURLOPT_HTTPHEADER, ["x-oanor-key: oanor_test_..."]);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
$out = curl_exec($ch);
import requests
requests.get(
    "https://api.oanor.com/usfiscal-api/v1/interest-expense",
    headers={"x-oanor-key": "oanor_test_..."}
)

Exemple de réponse

Une réponse réelle de ce endpoint, capturée lors du dernier contrôle de santé.

{
    "data": {
        "note": "Gross interest expense on the US public debt, in USD. FYTD = fiscal year (starts October) to date.",
        "source": "US Treasury interest_expense (FiscalData)",
        "line_items": [
            {
                "type": "Treasury Notes",
                "category": "INTEREST EXPENSE ON PUBLIC ISSUES",
                "month_expense": 42938102497.28,
                "fiscal_ytd_expense": 324683956226.14
            },
            {
                "type": "Treasury Bills",
                "category": "INTEREST EXPENSE ON PUBLIC ISSUES",
                "month_expense": 20572050653.66,
                "fiscal_ytd_expense": 167841438866.5
            },
            {
                "type": "Interest Payments",
                "category": "INTEREST EXPENSE ON GOVT ACCOUNT SERIES",
                "month_expense": 7198101594.94,
                "fiscal_ytd_expense": 120083596237.4
            },
            {
                "type": "Treasury Bonds",
                "category": "INTEREST EXPENSE ON PUBLIC ISSUES",
                "month_expense": 15411038428.23,
                "fiscal_ytd_expense": 116421831928.4
            },
            {
                "type": "Int. Expense Inflation Compensation (TIPS)",
                "category": "INTEREST EXPENSE ON PUBLIC ISSUES",
                "month_expense": 20035565707,
                "fiscal_ytd_expense": 43684557734.14
            },
            {
                "type": "Inflation Compensation",
                "category": "INTEREST EXPENSE ON GOVT ACCOUNT SERIES",
                "month_expense": 17896312392.62,
                "fiscal_ytd_expense": 38908799606.8
            },
            {
                "type": "Treasury Floating Rate Notes (FRN)",
                "category": "INTEREST EXPENSE ON PUBLIC ISSUES",
                "month_expense": 2130296553.83,
                "fiscal_ytd_expense": 17548982350.23
            },
            {
                "type": "Inflation Protected Securities (TIPS)",
                "category": "INTEREST EXPENSE ON PUBLIC ISSUES",
                "month_expense": 3843582801.03,
                "fiscal_ytd_expense": 17445842219.2
            },
            {
                "type": "Discount Deferred on Redemptions",
                "category": "INTEREST EXPENSE ON GOVT ACCOUNT SERIES",
                "month_expense": 774049077.67,
                "fiscal_ytd_expense": 8323054181.45
            },
            {
                "type": "Treasury Notes",
                "category": "INTEREST EXPENSE ON PUBLIC ISSUES",
                "month_expense": 946762996.01,
                "fiscal_ytd_expense": 7289686903.85
            },
            {
                "type": "Zero Coupon Bonds Amortized Discount",
                "category": "INTEREST EXPENSE ON GOVT ACCOUNT SERIES",
                "month_expense": 398167275.65,
                "fiscal_ytd_expense": 2917119081.12
            },
            {
                "
…