Financial Datasets
Back to News

Debt Schedules API: 5.2 million debt lines from 8,700+ companies

4 min read

Debt Schedules API: 5.2 million debt lines from 8,700+ companies

Financial Datasets now serves debt schedules. The debt footnote of a company's annual and quarterly reports is available at /financials/debt-schedules, as the company reported it: the debt due in each coming year, and each bond, note, loan, and credit line with its interest rate and amount. The data covers 8,700+ US companies from 2016, with 5.2 million reported lines.

Why

Our balance sheets give one or two debt totals for a company. A total does not say when the debt comes due, what it costs, or how much the company can still borrow.

The answers are in the debt footnote of each report. Apple's latest annual report says that $9.99 billion of its term debt comes due in 2027 and $45.5 billion after 2031, at stated interest rates from 0.5% to 4.85%. None of those numbers is on the balance sheet.

An analyst reads that footnote by hand, one report at a time. An AI agent that studies a company's credit needs it as data. The data comes directly from authoritative government sources, and each footnote is read into one structured record.

How to pull a debt schedule

Pass a ticker and a period. This call returns the debt that Apple must repay in each coming year, from its latest annual report.

import requests

headers = {"X-API-KEY": "your_api_key_here"}

url = "https://api.financialdatasets.ai/financials/debt-schedules?ticker=AAPL&period=annual&limit=1"

schedule = requests.get(url, headers=headers).json()["debt_schedules"][0]
print(schedule["ticker"], schedule["fiscal_period"], schedule["report_period"])
for table in schedule["tables"]:
    for line in table["line_items"]:
        if "Maturity" in (line["standard_label"] or ""):
            print(line["label"], line["value"])
AAPL FY2026 2026-09-26
2027 9991000000
2028 9300000000
2029 5175000000
2030 4956000000
2031 3750000000
Thereafter 45506000000

A table also has rows. A row is usually one borrowing. This call lists Home Depot's notes, each with its interest rate and face amount.

url = "https://api.financialdatasets.ai/financials/debt-schedules?ticker=HD&period=annual&limit=1"

schedule = requests.get(url, headers=headers).json()["debt_schedules"][0]
for table in schedule["tables"]:
    for row in table["rows"]:
        values = {line["standard_label"]: line["value"] for line in row["line_items"]}
        rate = values.get("Debt Instrument, Interest Rate, Stated Percentage")
        face = values.get("Debt Instrument, Face Amount")
        if rate and face:
            print(row["name"], rate, face)
3.00% Senior notes due April 2026 0.03 1300000000
5.15% Senior notes due June 2026 0.0515 1500000000
2.125% Senior notes due September 2026 0.02125 1000000000
4.95% Senior notes due September 2026 0.0495 750000000
2.875% Senior notes due April 2027 0.02875 750000000
...

Home Depot's latest annual report has 43 such rows. The same report gives the size of its commercial paper program: $11 billion.

The filters:

  • ticker=AAPL or cik=0000320193: one company. One of the two is required.
  • period=annual or period=quarterly: required.
  • limit=20: up to 20 report periods in one request, newest first, 4 by default.
  • report_period_gte=2020-01-01: reports from a date onward. report_period also takes the _lte, _gt, and _lt forms.

The debt schedules API docs describe every filter and field.

How the response is built

The response has three levels, and each level has the same fields at every company.

  1. A report has tables. They are the tables of the debt footnote, in the company's own order. Each table has a name, which is the company's own title.
  2. A table has line_items and rows. The line_items are the lines for the company as a whole, such as total debt. A row is usually one borrowing: a bond, a note, a loan, or a credit line. A row has a name and its own line_items.
  3. A line has label, standard_label, value, and unit. The label is the company's own words. The standard_label is the standard accounting name of the line, the same at every company.

Use standard_label to find the same line at every company. "Long-Term Debt, Maturity, Year One" is the debt due in the next year at Apple, at Home Depot, and at every other company that reports it. About 9 in 10 lines carry a standard name. The others are lines the company defined itself.

Read a debt schedule right

  • As reported. Nothing is calculated. A total appears only when the company reported one.
  • Signs stay. A sign is never changed. A value is the number the company filed.
  • Interest rates. A rate of 2.95% is 0.0295 with the unit percent.
  • Dates. A maturity date is a string such as 2029-06-15 with the unit date.
  • The fourth quarter. A company files no separate report for its fourth quarter. With period=quarterly, the annual report stands in for it, with its balances only.
  • Corrections. A corrected report replaces the report it corrects.

What is covered

  • 8,700+ US companies, and 205,000+ reports from 2016: 53,000+ annual reports and 152,000+ quarterly reports.
  • 5.2 million reported lines, each with a value and a unit.
  • New reports within minutes of each filing.
  • We checked 566 random lines from reports of 2016 to 2026 against the filed reports. All 566 match.
  • AI agents reach the same data through the MCP server with the get_debt_schedule tool, or pay per request with x402 and no account.