Get debt schedule
curl --request GET \
--url https://api.financialdatasets.ai/financials/debt-schedule \
--header 'X-API-KEY: <api-key>'import requests
url = "https://api.financialdatasets.ai/financials/debt-schedule"
headers = {"X-API-KEY": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'X-API-KEY': '<api-key>'}};
fetch('https://api.financialdatasets.ai/financials/debt-schedule', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.financialdatasets.ai/financials/debt-schedule",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"X-API-KEY: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.financialdatasets.ai/financials/debt-schedule"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("X-API-KEY", "<api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.financialdatasets.ai/financials/debt-schedule")
.header("X-API-KEY", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.financialdatasets.ai/financials/debt-schedule")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["X-API-KEY"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"debt_schedules": [
{
"ticker": "<string>",
"report_period": "2023-12-25",
"fiscal_period": "<string>",
"period": "quarterly",
"currency": "<string>",
"accession_number": "<string>",
"filing_url": "<string>",
"line_items": [
{
"label": "<string>",
"standard_label": "<string>",
"value": 123,
"unit": "<string>",
"children": "<array>"
}
]
}
],
"next_page_url": "<string>"
}{
"error": "Bad Request",
"message": "Invalid request parameters"
}{
"error": "Unauthorized",
"message": "Invalid API key provided"
}{
"error": "Payment Required",
"message": "This endpoint requires a paid subscription. Please upgrade your plan."
}Financial Statements
Debt Schedule API
Company debt as reported: the debt due in each coming year, and each bond, note, loan, and credit line with its interest rate and amount, from 2016 onward.
GET
/
financials
/
debt-schedule
Get debt schedule
curl --request GET \
--url https://api.financialdatasets.ai/financials/debt-schedule \
--header 'X-API-KEY: <api-key>'import requests
url = "https://api.financialdatasets.ai/financials/debt-schedule"
headers = {"X-API-KEY": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'X-API-KEY': '<api-key>'}};
fetch('https://api.financialdatasets.ai/financials/debt-schedule', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.financialdatasets.ai/financials/debt-schedule",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"X-API-KEY: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.financialdatasets.ai/financials/debt-schedule"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("X-API-KEY", "<api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.financialdatasets.ai/financials/debt-schedule")
.header("X-API-KEY", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.financialdatasets.ai/financials/debt-schedule")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["X-API-KEY"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"debt_schedules": [
{
"ticker": "<string>",
"report_period": "2023-12-25",
"fiscal_period": "<string>",
"period": "quarterly",
"currency": "<string>",
"accession_number": "<string>",
"filing_url": "<string>",
"line_items": [
{
"label": "<string>",
"standard_label": "<string>",
"value": 123,
"unit": "<string>",
"children": "<array>"
}
]
}
],
"next_page_url": "<string>"
}{
"error": "Bad Request",
"message": "Invalid request parameters"
}{
"error": "Unauthorized",
"message": "Invalid API key provided"
}{
"error": "Payment Required",
"message": "This endpoint requires a paid subscription. Please upgrade your plan."
}Overview
The Financial Datasets debt schedule API returns the debt footnote of a company’s annual and quarterly reports as the company reported it: the debt due in each coming year, and each bond, note, loan, and credit line with its interest rate, face amount, carrying amount, and maturity. The balance sheet gives one or two debt totals. The debt schedule gives what is behind them. It is read directly from each company’s reports (data provenance) and is available from 2016 onward for US companies. You can call it as a REST endpoint with an API key, or from Claude, ChatGPT, Cursor, and other AI apps through the MCP server, or pay per request with x402. Pricing starts at $20. Use it to answer questions like:- How much debt does Home Depot have to repay in each of the next five years?
- Which bonds does a company have outstanding, and at what interest rates?
- How much of its credit line can a company still borrow?
Coverage
| Companies | History | Updated |
|---|---|---|
| US companies | From 2016 | Within minutes of each new report |
Filtering the Data
tickerorcik: one is required.period(required):annualorquarterly. There is nottm: a balance has no trailing twelve months.limit: the maximum number of report periods to return, newest first (default 4, maximum 20). Each page holds up to 10 periods, linked bynext_page_url.report_period,report_period_gte,report_period_lte,report_period_gt,report_period_lt: filter by report period date (YYYY-MM-DD).
Annual and Quarterly
period=annualreturns the debt schedule of each annual report.period=quarterlyreturns the debt schedule of each quarterly report, and the annual report as the fourth quarter. A company files no separate report for its fourth quarter, so the annual report stands in for it, with its balances only: the amounts on the report date, such as the debt outstanding. The amounts the annual report gives for the full twelve months, such as the debt repaid during the year, show underannualonly. No fourth-quarter number is calculated.
Response
Each item underdebt_schedules is one report. It carries ticker, report_period, fiscal_period, period, currency, accession_number, and filing_url (a link to the report), and line_items, a tree of nodes:
| Field | Meaning |
|---|---|
label | The company’s own words for the line, the table, or the borrowing. |
standard_label | The standard accounting name of the line, the same at every company. null for a line the company defined itself and for a heading. |
value | The value as the company filed it. null for a heading. |
unit | The unit of the value: a currency code such as USD, percent, date, shares, pure for a plain number such as a ratio, or a unit the company defined itself. null for a heading. |
children | The nested lines beneath this row. |
- Nothing is calculated. A total appears only when the company reported one.
- A sign is never changed. Home Depot files
4967000000for “Less: current installments of long-term debt”, so the value is4967000000. - An interest rate of 2.95% is
0.0295with the unitpercent. - A date is a string such as
2029-06-15with the unitdate.
Standard Names
Usestandard_label to find the same line at every company. The most common names:
standard_label | What it is |
|---|---|
Long-Term Debt | Long-term debt in total, as the company reports it |
Long-Term Debt, Current Maturities | The part of long-term debt due within one year |
Long-Term Debt, Excluding Current Maturities | The part of long-term debt due after one year |
Long-Term Debt, Maturity, Year One to Year Five | The debt due in each of the next five years |
Debt Instrument, Face Amount | The principal of one borrowing |
Debt Instrument, Interest Rate, Stated Percentage | The stated interest rate of one borrowing |
Debt Instrument, Interest Rate, Effective Percentage | The effective interest rate of one borrowing |
Line of Credit Facility, Maximum Borrowing Capacity | The size of a credit line |
Line of Credit Facility, Remaining Borrowing Capacity | What the company can still borrow on a credit line |
Short-Term Debt | Short-term borrowings |
Example
Debt Schedule
import requests
# add your API key to the headers
headers = {
"X-API-KEY": "your_api_key_here"
}
# set your query params
params = {
"ticker": "HD", # stock ticker
"period": "annual", # annual or quarterly
"limit": 1, # number of report periods to return
}
# make API request
url = "https://api.financialdatasets.ai/financials/debt-schedule"
response = requests.get(url, headers=headers, params=params)
# parse the debt schedules from the response
debt_schedules = response.json().get("debt_schedules")
# print the latest debt schedule as an indented tree
def print_lines(nodes, depth=0):
for node in nodes:
value = "" if node["value"] is None else f": {node['value']} {node['unit']}"
print(" " * depth + node["label"] + value)
print_lines(node["children"], depth + 1)
print_lines(debt_schedules[0]["line_items"])
Response
{
"debt_schedules": [
{
"ticker": "HD",
"report_period": "2026-02-01",
"fiscal_period": "FY2025",
"period": "annual",
"currency": "USD",
"accession_number": "0001628280-26-019436",
"filing_url": "https://www.sec.gov/Archives/edgar/data/354950/000162828026019436/hd-20260201.htm",
"line_items": [
{
"label": "DEBT AND DERIVATIVE INSTRUMENTS - Schedule of Long-term Debt (Details)",
"standard_label": null,
"value": null,
"unit": null,
"children": [
{
"label": "Less: current installments of long-term debt",
"standard_label": "Long-Term Debt, Current Maturities",
"value": 4967000000,
"unit": "USD",
"children": []
},
{
"label": "2.95% Senior notes due June 2029",
"standard_label": null,
"value": null,
"unit": null,
"children": [
{
"label": "Debt instrument, interest rate (as a percent)",
"standard_label": "Debt Instrument, Interest Rate, Stated Percentage",
"value": 0.0295,
"unit": "percent",
"children": []
},
{
"label": "Debt instrument, face amount",
"standard_label": "Debt Instrument, Face Amount",
"value": 1750000000,
"unit": "USD",
"children": []
},
{
"label": "Senior notes",
"standard_label": "Senior Notes",
"value": 1704000000,
"unit": "USD",
"children": []
}
]
}
]
},
{
"label": "DEBT AND DERIVATIVE INSTRUMENTS - Schedule of Maturities of Long-Term Debt (Details)",
"standard_label": null,
"value": null,
"unit": null,
"children": [
{
"label": "Fiscal 2026",
"standard_label": "Long-Term Debt, Maturity, Year One",
"value": 4684000000,
"unit": "USD",
"children": []
},
{
"label": "Total",
"standard_label": "Long-Term Debt",
"value": 49397000000,
"unit": "USD",
"children": []
}
]
}
]
}
]
}
FAQ
What is the difference between the debt schedule and the balance sheet?
The balance sheet gives the debt totals. The debt schedule gives the detail behind them: when the debt comes due, and each borrowing with its rate and amount.Is the data standardized?
No. The lines are the company’s own, in the company’s own order. Each standard line also carriesstandard_label, a name that is the same at every company, so you can find the same line across companies.
Why is a number from the report not in the response?
The dataset includes a line only when it is certain that the line is about debt: a standard debt line, or a line on the row of one borrowing. It includes only the amounts of the report’s own period, so an amount dated on another day, such as a bond’s face amount on its issue day, is left out. A total that the company did not report is never added.What does a company with no debt return?
An emptydebt_schedules list. An empty response is not charged.
How far back does the data go?
To 2016.Which periods are available?
Annual and quarterly. There is no TTM.Can an AI agent use this data?
Yes. Claude, ChatGPT, Cursor, and other MCP clients reach it through the Financial Datasets MCP server, with theget_debt_schedule tool.