zapi.
APIsPricingDocsMCP
APIsPricingDocsMCP
Sign in
zapi.
APIsPricingDocsMCP
APIsPricingDocsMCP
Sign in
Finance/US Treasury
Logo US Treasury

US Treasury

Kurva imbal hasil Treasury Amerika, harian, seluruh tenor dari 1 bulan sampai 30 tahun.

5 endpoints5 endpoints on this scraper322 calls322 calls so farupdated 2 months agoLast updated 8/8/2026, 10:10:24 AMBusy: 10+ calls so farllms.txt
Endpoints5

5/5 passing
checked 20 hours ago · daily 01:00 WIB

Yield Curve

Imbal hasil per tenor per hari bursa, terbaru dulu. Kolom dibaca lewat nama header, bukan posisi.

GET/v1/finance:us-treasury/yield-curve6h cache2 paramschecking key…
Parameters
yearnumber

Calendar year. Defaults to the current year.

lengthnumber

Trading days to return, newest first (default 10)

·
Response
EXAMPLE
{
  "unit": "percent",
  "year": 2026,
  "count": 8,
  "items": [
    {
      "date": "2026-08-07",
      "rates": {
        "1 Mo": 3.79,
        "1 Yr": 4.01,
        "2 Mo": 3.83,
        "2 Yr": 4.19,
        "3 Mo": 3.87,
        "3 Yr": 4.25,
        "4 Mo": 3.89,
        "5 Yr": 4.35,
        "6 Mo": 3.96,
        "7 Yr": 4.49,
        "10 Yr": 4.65,
        "20 Yr": 5.2,
        "30 Yr": 5.19,
        "1.5 Month": 3.79
      }
    },
    {
      "date": "2026-08-06",
      "rates": {
        "1 Mo": 3.8,
        "1 Yr": 4.06,
        "2 Mo": 3.84,
        "2 Yr": 4.25,
        "3 Mo": 3.9,
        "3 Yr": 4.31,
        "4 Mo": 3.92,
        "5 Yr": 4.4,
        "6 Mo": 3.99,
        "7 Yr": 4.53,
        "10 Yr": 4.69,
        "20 Yr": 5.22,
        "30 Yr": 5.22,
        "1.5 Month": 3.8
      }
    },
    {
      "date": "2026-08-05",
      "rates": {
        "1 Mo": 3.77,
        "1 Yr": 4.03,
        "2 Mo": 3.84,
        "2 Yr": 4.18,
        "3 Mo": 3.89,
        "3 Yr": 4.24,
        "4 Mo": 3.91,
        "5 Yr": 4.33,
        "6 Mo": 3.98,
        "7 Yr": 4.47,
        "10 Yr": 4.63,
        "20 Yr": 5.18,
        "30 Yr": 5.17,
        "1.5 Month": 3.79
      }
    },
    {
      "date": "2026-08-04",
      "rates": {
        "1 Mo": 3.78,
        "1 Yr": 4.04,
        "2 Mo": 3.85,
        "2 Yr": 4.2,
        "3 Mo": 3.89,
        "3 Yr": 4.25,
        "4 Mo": 3.91,
        "5 Yr": 4.33,
        "6 Mo": 4,
        "7 Yr": 4.47,
        "10 Yr": 4.63,
        "20 Yr": 5.18,
        "30 Yr": 5.18,
        "1.5 Month": 3.8
      }
    },
    {
      "date": "2026-08-03",
      "rates": {
        "1 Mo": 3.79,
        "1 Yr": 4.07,
        "2 Mo": 3.87,
        "2 Yr": 4.25,
        "3 Mo": 3.91,
        "3 Yr": 4.32,
        "4 Mo": 3.94,
        "5 Yr": 4.4,
        "6 Mo": 4.02,
        "7 Yr": 4.54,
        "10 Yr": 4.7,
        "20 Yr": 5.23,
        "30 Yr": 5.23,
        "1.5 Month": 3.82
      }
    },
    {
      "date": "2026-07-31",
      "rates": {
        "1 Mo": 3.78,
        "1 Yr": 4.08,
        "2 Mo": 3.85,
        "2 Yr": 4.28,
        "3 Mo": 3.83,
        "3 Yr": 4.34,
        "4 Mo": 3.92,
        "5 Yr": 4.45,
        "6 Mo": 3.98,
        "7 Yr": 4.59,
        "10 Yr": 4.75,
        "20 Yr": 5.28,
        "30 Yr": 5.27,
        "1.5 Month": 3.8
      }
    },
    {
      "date": "2026-07-30",
      "rates": {
        "1 Mo": 3.79,
        "1 Yr": 4.04,
        "2 Mo": 3.84,
        "2 Yr": 4.23,
        "3 Mo": 3.82,
        "3 Yr": 4.3,
        "4 Mo": 3.92,
        "5 Yr": 4.38,
        "6 Mo": 3.98,
        "7 Yr": 4.52,
        "10 Yr": 4.68,
        "20 Yr": 5.22,
        "30 Yr": 5.21,
        "1.5 Month": 3.8
      }
    },
    {
      "date": "2026-07-29",
      "rates": {
        "1 Mo": 3.73,
        "1 Yr": 4.04,
        "2 Mo": 3.83,
        "2 Yr": 4.22,
        "3 Mo": 3.83,
        "3 Yr": 4.29,
        "4 Mo": 3.91,
        "5 Yr": 4.37,
        "6 Mo": 3.97,
        "7 Yr": 4.51,
        "10 Yr": 4.67,
        "20 Yr": 5.21,
        "30 Yr": 5.2,
        "1.5 Month": 3.8
      }
    }
  ],
  "total": 151,
  "source": "us-treasury",
  "tenors": [
    "1 Mo",
    "1.5 Month",
    "2 Mo",
    "3 Mo",
    "4 Mo",
    "6 Mo",
    "1 Yr",
    "2 Yr"
  ]
}

Code

Yield Curve
index.ts
// npm i zpi-sdk
import { ZpiClient } from "zpi-sdk";

const client = new ZpiClient({ apiKey: "zpi_xxxxxxxxxxxxxxxxxxxxxxxx" });

const data = await client.run("finance:us-treasury", "yield-curve", {
  "year": 2026,
  "length": 10
});
console.log(data);
Recommended · typed errors, safe retries and bulk jobsSDK reference

Full reference

5 endpoints · plain text
GET
Yield Curve/v1/finance:us-treasury/yield-curve
2 params

Imbal hasil per tenor per hari bursa, terbaru dulu. Kolom dibaca lewat nama header, bukan posisi.

Parameters

yearnumberoptional
Calendar year. Defaults to the current year.
lengthnumberoptional
Trading days to return, newest first (default 10)

Request

curl -X GET "https://api.zapi.ink/v1/finance:us-treasury/yield-curve?year=2026&length=10" \
  -H "x-api-key: zpi_xxxxxxxxxxxxxxxxxxxxxxxx"

Example response

{
  "unit": "percent",
  "year": 2026,
  "count": 8,
  "items": [
    {
      "date": "2026-08-07",
      "rates": {
        "1 Mo": 3.79,
        "1 Yr": 4.01,
        "2 Mo": 3.83,
        "2 Yr": 4.19,
        "3 Mo": 3.87,
        "3 Yr": 4.25,
        "4 Mo": 3.89,
        "5 Yr": 4.35,
        "6 Mo": 3.96,
        "7 Yr": 4.49,
        "10 Yr": 4.65,
        "20 Yr": 5.2,
        "30 Yr": 5.19,
        "1.5 Month": 3.79
      }
    },
    {
      "date": "2026-08-06",
      "rates": {
        "1 Mo": 3.8,
        "1 Yr": 4.06,
        "2 Mo": 3.84,
        "2 Yr": 4.25,
        "3 Mo": 3.9,
        "3 Yr": 4.31,
        "4 Mo": 3.92,
        "5 Yr": 4.4,
        "6 Mo": 3.99,
        "7 Yr": 4.53,
        "10 Yr": 4.69,
        "20 Yr": 5.22,
        "30 Yr": 5.22,
        "1.5 Month": 3.8
      }
    },
    {
      "date": "2026-08-05",
      "rates": {
        "1 Mo": 3.77,
        "1 Yr": 4.03,
        "2 Mo": 3.84,
        "2 Yr": 4.18,
        "3 Mo": 3.89,
        "3 Yr": 4.24,
        "4 Mo": 3.91,
        "5 Yr": 4.33,
        "6 Mo": 3.98,
        "7 Yr": 4.47,
        "10 Yr": 4.63,
        "20 Yr": 5.18,
        "30 Yr": 5.17,
        "1.5 Month": 3.79
      }
    },
    {
      "date": "2026-08-04",
      "rates": {
        "1 Mo": 3.78,
        "1 Yr": 4.04,
        "2 Mo": 3.85,
        "2 Yr": 4.2,
        "3 Mo": 3.89,
        "3 Yr": 4.25,
        "4 Mo": 3.91,
        "5 Yr": 4.33,
        "6 Mo": 4,
        "7 Yr": 4.47,
        "10 Yr": 4.63,
        "20 Yr": 5.18,
        "30 Yr": 5.18,
        "1.5 Month": 3.8
      }
    },
    {
      "date": "2026-08-03",
      "rates": {
        "1 Mo": 3.79,
        "1 Yr": 4.07,
        "2 Mo": 3.87,
        "2 Yr": 4.25,
        "3 Mo": 3.91,
        "3 Yr": 4.32,
        "4 Mo": 3.94,
        "5 Yr": 4.4,
        "6 Mo": 4.02,
        "7 Yr": 4.54,
        "10 Yr": 4.7,
        "20 Yr": 5.23,
        "30 Yr": 5.23,
        "1.5 Month": 3.82
      }
    },
    {
      "date": "2026-07-31",
      "rates": {
        "1 Mo": 3.78,
        "1 Yr": 4.08,
        "2 Mo": 3.85,
        "2 Yr": 4.28,
        "3 Mo": 3.83,
        "3 Yr": 4.34,
        "4 Mo": 3.92,
        "5 Yr": 4.45,
        "6 Mo": 3.98,
        "7 Yr": 4.59,
        "10 Yr": 4.75,
        "20 Yr": 5.28,
        "30 Yr": 5.27,
        "1.5 Month": 3.8
      }
    },
    {
      "date": "2026-07-30",
      "rates": {
        "1 Mo": 3.79,
        "1 Yr": 4.04,
        "2 Mo": 3.84,
        "2 Yr": 4.23,
        "3 Mo": 3.82,
        "3 Yr": 4.3,
        "4 Mo": 3.92,
        "5 Yr": 4.38,
        "6 Mo": 3.98,
        "7 Yr": 4.52,
        "10 Yr": 4.68,
        "20 Yr": 5.22,
        "30 Yr": 5.21,
        "1.5 Month": 3.8
      }
    },
    {
      "date": "2026-07-29",
      "rates": {
        "1 Mo": 3.73,
        "1 Yr": 4.04,
        "2 Mo": 3.83,
        "2 Yr": 4.22,
        "3 Mo": 3.83,
        "3 Yr": 4.29,
        "4 Mo": 3.91,
        "5 Yr": 4.37,
        "6 Mo": 3.97,
        "7 Yr": 4.51,
        "10 Yr": 4.67,
        "20 Yr": 5.21,
        "30 Yr": 5.2,
        "1.5 Month": 3.8
      }
    }
  ],
  "total": 151,
  "source": "us-treasury",
  "tenors": [
    "1 Mo",
    "1.5 Month",
    "2 Mo",
    "3 Mo",
    "4 Mo",
    "6 Mo",
    "1 Yr",
    "2 Yr"
  ]
}
GET
Auctions/v1/finance:us-treasury/auctions
7 params

Treasury auction results — one row per auction, 114 fields deep, since 1979.

Parameters

securityTypeenumoptional
Security type: Bill, Note or Bond. Default all. Values: Bill, Note, Bond.
securityTermstringoptional
Exact security term, e.g. 13-Week, 2-Year, 10-Year, 29-Year 6-Month. Default all.
cusipstringoptional
Exact CUSIP of a single issue.
fromstringoptional
Earliest auction date, YYYY-MM-DD.
tostringoptional
Latest auction date, YYYY-MM-DD.
pagenumberoptional
Page number, 1-based (default 1)
lengthnumberoptional
Auctions per page (default 20, max 500)

Request

curl -X GET "https://api.zapi.ink/v1/finance:us-treasury/auctions?securityType=Bond&securityTerm=10-Year&cusip=912810US5&from=2026-01-01&to=2026-08-20&page=1&length=20" \
  -H "x-api-key: zpi_xxxxxxxxxxxxxxxxxxxxxxxx"

Example response

{
  "to": "2026-08-20",
  "from": "2026-01-01",
  "page": 1,
  "count": 0,
  "cusip": "912810US5",
  "items": [],
  "total": 0,
  "fields": [
    {
      "name": "recordDate",
      "type": "DATE",
      "label": "Record Date",
      "format": "YYYY-MM-DD"
    },
    {
      "name": "cusip",
      "type": "STRING",
      "label": "CUSIP",
      "format": "String"
    },
    {
      "name": "securityType",
      "type": "STRING",
      "label": "Security Type",
      "format": "String"
    },
    {
      "name": "securityTerm",
      "type": "STRING",
      "label": "Security Term",
      "format": "String"
    },
    {
      "name": "auctionDate",
      "type": "DATE",
      "label": "Auction Date",
      "format": "YYYY-MM-DD"
    },
    {
      "name": "issueDate",
      "type": "DATE",
      "label": "Issue Date",
      "format": "YYYY-MM-DD"
    }
  ],
  "dataset": "auctions",
  "hasMore": false,
  "nextPage": null,
  "provider": "us-treasury",
  "securityTerm": "10-Year",
  "securityType": "Bond"
}
GET
Avg Interest Rates/v1/finance:us-treasury/avg-interest-rates
6 params

Average interest rate the Treasury pays, by security type, monthly since 2001.

Parameters

securityTypeenumoptional
Security class: Marketable, Non-marketable or Interest-bearing Debt. Default all. Values: Marketable, Non-marketable, Interest-bearing Debt.
securitystringoptional
Exact security description, e.g. Treasury Bills, Treasury Notes, Treasury Bonds, Treasury Inflation-Protected Securities (TIPS). Default all.
fromstringoptional
Earliest record date, YYYY-MM-DD.
tostringoptional
Latest record date, YYYY-MM-DD.
pagenumberoptional
Page number, 1-based (default 1)
lengthnumberoptional
Rows per page (default 100, max 10000)

Request

curl -X GET "https://api.zapi.ink/v1/finance:us-treasury/avg-interest-rates?securityType=Marketable&security=Treasury+Notes&from=2026-01-01&to=2026-07-31&page=1&length=100" \
  -H "x-api-key: zpi_xxxxxxxxxxxxxxxxxxxxxxxx"

Example response

{
  "to": "2026-07-31",
  "from": "2026-01-01",
  "page": 1,
  "count": 100,
  "items": [
    {
      "recordDate": "2026-07-31",
      "srcLineNbr": 1,
      "securityDesc": "Treasury Bills",
      "recordFiscalYear": 2026,
      "securityTypeDesc": "Marketable",
      "recordCalendarDay": 31,
      "avgInterestRateAmt": 3.758,
      "recordCalendarYear": 2026,
      "recordCalendarMonth": 7,
      "recordFiscalQuarter": 4,
      "recordCalendarQuarter": 3
    },
    {
      "recordDate": "2026-07-31",
      "srcLineNbr": 2,
      "securityDesc": "Treasury Notes",
      "recordFiscalYear": 2026,
      "securityTypeDesc": "Marketable",
      "recordCalendarDay": 31,
      "avgInterestRateAmt": 3.309,
      "recordCalendarYear": 2026,
      "recordCalendarMonth": 7,
      "recordFiscalQuarter": 4,
      "recordCalendarQuarter": 3
    },
    {
      "recordDate": "2026-07-31",
      "srcLineNbr": 3,
      "securityDesc": "Treasury Bonds",
      "recordFiscalYear": 2026,
      "securityTypeDesc": "Marketable",
      "recordCalendarDay": 31,
      "avgInterestRateAmt": 3.442,
      "recordCalendarYear": 2026,
      "recordCalendarMonth": 7,
      "recordFiscalQuarter": 4,
      "recordCalendarQuarter": 3
    },
    {
      "recordDate": "2026-07-31",
      "srcLineNbr": 4,
      "securityDesc": "Treasury Inflation-Protected Securities (TIPS)",
      "recordFiscalYear": 2026,
      "securityTypeDesc": "Marketable",
      "recordCalendarDay": 31,
      "avgInterestRateAmt": 1.127,
      "recordCalendarYear": 2026,
      "recordCalendarMonth": 7,
      "recordFiscalQuarter": 4,
      "recordCalendarQuarter": 3
    },
    {
      "recordDate": "2026-07-31",
      "srcLineNbr": 5,
      "securityDesc": "Treasury Floating Rate Notes (FRN)",
      "recordFiscalYear": 2026,
      "securityTypeDesc": "Marketable",
      "recordCalendarDay": 31,
      "avgInterestRateAmt": 3.948,
      "recordCalendarYear": 2026,
      "recordCalendarMonth": 7,
      "recordFiscalQuarter": 4,
      "recordCalendarQuarter": 3
    },
    {
      "recordDate": "2026-07-31",
      "srcLineNbr": 6,
      "securityDesc": "Federal Financing Bank",
      "recordFiscalYear": 2026,
      "securityTypeDesc": "Marketable",
      "recordCalendarDay": 31,
      "avgInterestRateAmt": 2.383,
      "recordCalendarYear": 2026,
      "recordCalendarMonth": 7,
      "recordFiscalQuarter": 4,
      "recordCalendarQuarter": 3
    }
  ],
  "total": 115,
  "fields": [
    {
      "name": "recordDate",
      "type": "DATE",
      "label": "Record Date",
      "format": "YYYY-MM-DD"
    },
    {
      "name": "securityTypeDesc",
      "type": "STRING",
      "label": "Security Type Description",
      "format": "String"
    },
    {
      "name": "securityDesc",
      "type": "STRING",
      "label": "Security Description",
      "format": "String"
    },
    {
      "name": "avgInterestRateAmt",
      "type": "PERCENTAGE",
      "label": "Average Interest Rate Amount",
      "format": "10.2%"
    },
    {
      "name": "srcLineNbr",
      "type": "INTEGER",
      "label": "Source Line Number",
      "format": "10"
    },
    {
      "name": "recordFiscalYear",
      "type": "YEAR",
      "label": "Fiscal Year",
      "format": "YYYY"
    }
  ],
  "dataset": "avg-interest-rates",
  "hasMore": true,
  "nextPage": 2,
  "provider": "us-treasury",
  "security": null,
  "securityType": null
}
GET
Daily Treasury Statement/v1/finance:us-treasury/daily-treasury-statement
5 params

Daily Treasury Statement — the operating cash balance, by account, since 2005.

Parameters

accountstringoptional
Exact account type, e.g. Treasury General Account (TGA) Opening Balance, Total TGA Deposits (Table II). Default all.
fromstringoptional
Earliest record date, YYYY-MM-DD.
tostringoptional
Latest record date, YYYY-MM-DD.
pagenumberoptional
Page number, 1-based (default 1)
lengthnumberoptional
Rows per page (default 100, max 10000)

Request

curl -X GET "https://api.zapi.ink/v1/finance:us-treasury/daily-treasury-statement?account=Treasury+General+Account+%28TGA%29+Closing+Balance&from=2026-08-01&to=2026-08-18&page=1&length=100" \
  -H "x-api-key: zpi_xxxxxxxxxxxxxxxxxxxxxxxx"

Example response

{
  "to": "2026-08-18",
  "from": "2026-08-01",
  "page": 1,
  "count": 48,
  "items": [
    {
      "tableNm": "Operating Cash Balance",
      "tableNbr": "I",
      "recordDate": "2026-08-18",
      "srcLineNbr": 1,
      "accountType": "Treasury General Account (TGA) Opening Balance",
      "openMonthBal": 876566,
      "openTodayBal": 932785,
      "subTableName": "Cash Balance Details",
      "closeTodayBal": null,
      "recordFiscalYear": 2026,
      "openFiscalYearBal": 890825,
      "recordCalendarDay": 18,
      "recordCalendarYear": 2026,
      "recordCalendarMonth": 8,
      "recordFiscalQuarter": 4,
      "recordCalendarQuarter": 3
    },
    {
      "tableNm": "Operating Cash Balance",
      "tableNbr": "I",
      "recordDate": "2026-08-18",
      "srcLineNbr": 2,
      "accountType": "Total TGA Deposits (Table II)",
      "openMonthBal": 1941572,
      "openTodayBal": 315449,
      "subTableName": "Cash Balance Details",
      "closeTodayBal": null,
      "recordFiscalYear": 2026,
      "openFiscalYearBal": 35045593,
      "recordCalendarDay": 18,
      "recordCalendarYear": 2026,
      "recordCalendarMonth": 8,
      "recordFiscalQuarter": 4,
      "recordCalendarQuarter": 3
    },
    {
      "tableNm": "Operating Cash Balance",
      "tableNbr": "I",
      "recordDate": "2026-08-18",
      "srcLineNbr": 3,
      "accountType": "Total TGA Withdrawals (Table II) (-)",
      "openMonthBal": 1856186,
      "openTodayBal": 286282,
      "subTableName": "Cash Balance Details",
      "closeTodayBal": null,
      "recordFiscalYear": 2026,
      "openFiscalYearBal": 34974466,
      "recordCalendarDay": 18,
      "recordCalendarYear": 2026,
      "recordCalendarMonth": 8,
      "recordFiscalQuarter": 4,
      "recordCalendarQuarter": 3
    },
    {
      "tableNm": "Operating Cash Balance",
      "tableNbr": "I",
      "recordDate": "2026-08-18",
      "srcLineNbr": 4,
      "accountType": "Treasury General Account (TGA) Closing Balance",
      "openMonthBal": 961952,
      "openTodayBal": 961952,
      "subTableName": "Cash Balance Details",
      "closeTodayBal": null,
      "recordFiscalYear": 2026,
      "openFiscalYearBal": 961952,
      "recordCalendarDay": 18,
      "recordCalendarYear": 2026,
      "recordCalendarMonth": 8,
      "recordFiscalQuarter": 4,
      "recordCalendarQuarter": 3
    },
    {
      "tableNm": "Operating Cash Balance",
      "tableNbr": "I",
      "recordDate": "2026-08-17",
      "srcLineNbr": 1,
      "accountType": "Treasury General Account (TGA) Opening Balance",
      "openMonthBal": 876566,
      "openTodayBal": 959184,
      "subTableName": "Cash Balance Details",
      "closeTodayBal": null,
      "recordFiscalYear": 2026,
      "openFiscalYearBal": 890825,
      "recordCalendarDay": 17,
      "recordCalendarYear": 2026,
      "recordCalendarMonth": 8,
      "recordFiscalQuarter": 4,
      "recordCalendarQuarter": 3
    },
    {
      "tableNm": "Operating Cash Balance",
      "tableNbr": "I",
      "recordDate": "2026-08-17",
      "srcLineNbr": 2,
      "accountType": "Total TGA Deposits (Table II)",
      "openMonthBal": 1626124,
      "openTodayBal": 205240,
      "subTableName": "Cash Balance Details",
      "closeTodayBal": null,
      "recordFiscalYear": 2026,
      "openFiscalYearBal": 34730144,
      "recordCalendarDay": 17,
      "recordCalendarYear": 2026,
      "recordCalendarMonth": 8,
      "recordFiscalQuarter": 4,
      "recordCalendarQuarter": 3
    }
  ],
  "total": 48,
  "fields": [
    {
      "name": "recordDate",
      "type": "DATE",
      "label": "Record Date",
      "format": "YYYY-MM-DD"
    },
    {
      "name": "accountType",
      "type": "STRING",
      "label": "Type of Account",
      "format": "String"
    },
    {
      "name": "closeTodayBal",
      "type": "CURRENCY0",
      "label": "Closing Balance Today",
      "format": "$1,000,000"
    },
    {
      "name": "openTodayBal",
      "type": "CURRENCY0",
      "label": "Opening Balance Today",
      "format": "$1,000,000"
    },
    {
      "name": "openMonthBal",
      "type": "CURRENCY0",
      "label": "Opening Balance This Month",
      "format": "$1,000,000"
    },
    {
      "name": "openFiscalYearBal",
      "type": "CURRENCY0",
      "label": "Opening Balance This Fiscal Year",
      "format": "$1,000,000"
    }
  ],
  "account": null,
  "dataset": "daily-treasury-statement",
  "hasMore": false,
  "nextPage": null,
  "provider": "us-treasury"
}
GET
Debt To Penny/v1/finance:us-treasury/debt-to-penny
4 params

Total public debt outstanding, to the penny, every business day since 1993.

Parameters

fromstringoptional
Earliest record date, YYYY-MM-DD.
tostringoptional
Latest record date, YYYY-MM-DD.
pagenumberoptional
Page number, 1-based (default 1)
lengthnumberoptional
Rows per page (default 100, max 10000)

Request

curl -X GET "https://api.zapi.ink/v1/finance:us-treasury/debt-to-penny?from=2026-01-01&to=2026-08-18&page=1&length=100" \
  -H "x-api-key: zpi_xxxxxxxxxxxxxxxxxxxxxxxx"

Example response

{
  "to": "2026-08-18",
  "from": "2026-01-01",
  "page": 1,
  "count": 100,
  "items": [
    {
      "recordDate": "2026-08-18",
      "srcLineNbr": 1,
      "intragovHoldAmt": 7781627225522.14,
      "recordFiscalYear": 2026,
      "totPubDebtOutAmt": 40047425768420.22,
      "debtHeldPublicAmt": 32265798542898.08,
      "recordCalendarDay": 18,
      "recordCalendarYear": 2026,
      "recordCalendarMonth": 8,
      "recordFiscalQuarter": 4,
      "recordCalendarQuarter": 3
    },
    {
      "recordDate": "2026-08-17",
      "srcLineNbr": 1,
      "intragovHoldAmt": 7759458876384.62,
      "recordFiscalYear": 2026,
      "totPubDebtOutAmt": 39986657878071.92,
      "debtHeldPublicAmt": 32227199001687.3,
      "recordCalendarDay": 17,
      "recordCalendarYear": 2026,
      "recordCalendarMonth": 8,
      "recordFiscalQuarter": 4,
      "recordCalendarQuarter": 3
    },
    {
      "recordDate": "2026-08-14",
      "srcLineNbr": 1,
      "intragovHoldAmt": 7733240968527.27,
      "recordFiscalYear": 2026,
      "totPubDebtOutAmt": 39933634466112.78,
      "debtHeldPublicAmt": 32200393497585.51,
      "recordCalendarDay": 14,
      "recordCalendarYear": 2026,
      "recordCalendarMonth": 8,
      "recordFiscalQuarter": 4,
      "recordCalendarQuarter": 3
    },
    {
      "recordDate": "2026-08-13",
      "srcLineNbr": 1,
      "intragovHoldAmt": 7733844720538.23,
      "recordFiscalYear": 2026,
      "totPubDebtOutAmt": 39934816207844.37,
      "debtHeldPublicAmt": 32200971487306.14,
      "recordCalendarDay": 13,
      "recordCalendarYear": 2026,
      "recordCalendarMonth": 8,
      "recordFiscalQuarter": 4,
      "recordCalendarQuarter": 3
    },
    {
      "recordDate": "2026-08-12",
      "srcLineNbr": 1,
      "intragovHoldAmt": 7733417085160.39,
      "recordFiscalYear": 2026,
      "totPubDebtOutAmt": 39913529319464.71,
      "debtHeldPublicAmt": 32180112234304.32,
      "recordCalendarDay": 12,
      "recordCalendarYear": 2026,
      "recordCalendarMonth": 8,
      "recordFiscalQuarter": 4,
      "recordCalendarQuarter": 3
    },
    {
      "recordDate": "2026-08-11",
      "srcLineNbr": 1,
      "intragovHoldAmt": 7759469075959.4,
      "recordFiscalYear": 2026,
      "totPubDebtOutAmt": 39941929832070.77,
      "debtHeldPublicAmt": 32182460756111.37,
      "recordCalendarDay": 11,
      "recordCalendarYear": 2026,
      "recordCalendarMonth": 8,
      "recordFiscalQuarter": 4,
      "recordCalendarQuarter": 3
    }
  ],
  "total": 159,
  "fields": [
    {
      "name": "recordDate",
      "type": "DATE",
      "label": "Record Date",
      "format": "YYYY-MM-DD"
    },
    {
      "name": "debtHeldPublicAmt",
      "type": "CURRENCY",
      "label": "Debt Held by the Public",
      "format": "$10.20"
    },
    {
      "name": "intragovHoldAmt",
      "type": "CURRENCY",
      "label": "Intragovernmental Holdings",
      "format": "$10.20"
    },
    {
      "name": "totPubDebtOutAmt",
      "type": "CURRENCY",
      "label": "Total Public Debt Outstanding",
      "format": "$10.20"
    },
    {
      "name": "srcLineNbr",
      "type": "INTEGER",
      "label": "Source Line Number",
      "format": "10"
    },
    {
      "name": "recordFiscalYear",
      "type": "YEAR",
      "label": "Fiscal Year",
      "format": "YYYY"
    }
  ],
  "dataset": "debt-to-penny",
  "hasMore": true,
  "nextPage": 2,
  "provider": "us-treasury"
}

Related APIs

More in finance

Pluang

financepluang

Data pasar Pluang lintas aset: order book, running trade, tradebook dan ringkasan broker per saham IDX, plus saham Amerika, emas, kripto, sinyal analis dan berita.

1.7M1.7M calls so far1dResponses cached for 1d
Busy: 10+ calls so far

IDX (Bursa Efek Indonesia)

financeidx

Data Bursa Efek Indonesia: ringkasan saham & indeks, top movers, broker, emiten, laporan keuangan, berita, dan passthrough ke ratusan endpoint /primary/.

756.1K756.1K calls so far1dResponses cached for 1d
Busy: 10+ calls so far

TradingView

financetradingview

Screener, charts, technical indicators, fundamentals, news and the macro calendar across 16 markets — Indonesian equities, US equities, crypto, forex and futures.

341.4K341.4K calls so far1dResponses cached for 1d
Busy: 10+ calls so far

Stockbit

financestockbit

Data saham IDX dari Stockbit: harga, chart intraday, profil emiten, diskusi komunitas, dan kamus investasi.

115.5K115.5K calls so far1dResponses cached for 1d
Busy: 10+ calls so far

Investing

financeinvesting

Data pasar finansial lengkap — quote saham/forex/crypto/komoditas, teknikal, OHLCV historis, berita, analisis, dan kalender ekonomi.

69.6K69.6K calls so far1hResponses cached for 1h
Busy: 10+ calls so far

Binance Futures

financebinance-futures

USD-M perpetual futures market data: funding, premium index, open interest, long/short ratios, candles and depth.

40.3K40.3K calls so far10mResponses cached for 10m
Busy: 10+ calls so far
zapi.

One key, one response shape. We keep the scrapers working.

Get an API key
ProductBrowse APIsPricingDocsMCP server
DevelopersSDK on npmGitHubOpenAPI specllms.txt
SupportReport an issueDiscord
LegalTermsPrivacyCookiesAUPRefunds
© 2026 ZapiPublic web data, one API.
zapi.