> ## Documentation Index
> Fetch the complete documentation index at: https://docs.financialdatasets.ai/llms.txt
> Use this file to discover all available pages before exploring further.

> ## Agent Instructions
> The Financial Datasets API is served at https://api.financialdatasets.ai. Authenticate with the `X-API-KEY` header; create keys at https://financialdatasets.ai. Agents can open and fund their own account without a dashboard: see https://docs.financialdatasets.ai/agents.md.
> Tool-using agents can call Financial Datasets without writing code through the hosted MCP server at https://mcp.financialdatasets.ai/.
> The OpenAPI spec at https://financialdatasets.ai/openapi.json is the source of truth for request and response schemas.
> The index of every docs page is at https://docs.financialdatasets.ai/llms.txt. Append .md to any docs URL to get that page as Markdown.

# 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.

### 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](https://docs.financialdatasets.ai/api/financials/balance-sheets.md) 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](https://docs.financialdatasets.ai/data-provenance.md)) 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](https://docs.financialdatasets.ai/mcp-server.md), or pay per request with [x402](https://docs.financialdatasets.ai/x402.md). [Pricing](https://www.financialdatasets.ai/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?

To get started, please create an account and grab your **API key** at [financialdatasets.ai](https://financialdatasets.ai).

### Coverage

| Companies | History | Updated |
| - | - | - |
| US companies | From 2016 | Within minutes of each new report |

### Filtering the Data

* `ticker` or `cik`: one is required.
* `period` (required): `annual` or `quarterly`. There is no `ttm`: 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 by `next_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=annual` returns the debt schedule of each annual report.
* `period=quarterly` returns 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 under `annual` only. No fourth-quarter number is calculated.

### Response

Each item under `debt_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. |

The tree follows the company's own presentation. The top level is one heading per table of the footnote. Under a table come the lines for the company as a whole, then one heading per borrowing (a bond, a note, a loan, or a credit line) with the lines of that borrowing under it.

Every value is the number the company filed:

* Nothing is calculated. A total appears only when the company reported one.
* A sign is never changed. Home Depot files `4967000000` for "Less: current installments of long-term debt", so the value is `4967000000`.
* An interest rate of 2.95% is `0.0295` with the unit `percent`.
* A date is a string such as `2029-06-15` with the unit `date`.

A corrected report replaces the report it corrects.

### Standard Names

Use `standard_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 |

Standard names change a little over the years. Each report carries the names that were in use when it was filed, so a 2018 report can name a line differently than a 2025 report.

### Example

```python Debt Schedule theme={"theme":{"light":"vitesse-light","dark":"vitesse-dark"}}
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"])
```

```json Response theme={"theme":{"light":"vitesse-light","dark":"vitesse-dark"}}
{
  "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": []
            }
          ]
        }
      ]
    }
  ]
}
```

The response above is shortened: the full schedule lists every borrowing and every year.

### 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 carries `standard_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 empty `debt_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](https://docs.financialdatasets.ai/mcp-server.md), with the `get_debt_schedule` tool.


## OpenAPI

````yaml GET /financials/debt-schedule
openapi: 3.0.1
info:
  title: Financial Datasets API
  description: >-
    Stock market API with real-time and historical financial data for 27,000+
    tickers over 30+ years. Financial statements, equity prices, insider trades,
    SEC filings, and more.
  version: 1.0.0
  license:
    name: MIT
    url: https://opensource.org/licenses/MIT
  contact:
    name: API Support
    url: mailto:support@financialdatasets.ai
    email: support@financialdatasets.ai
  termsOfService: https://financialdatasets.ai/terms-of-use
servers:
  - url: https://api.financialdatasets.ai/
    description: Production server
security:
  - X-API-KEY: []
tags:
  - name: Financial Statements
    description: Access to income statements, balance sheets, and cash flow statements
  - name: Market Data
    description: Real-time and historical price data
  - name: Tokenized Stocks
    description: The price of a stock token on Base
  - name: Company Information
    description: Company facts like ticker, name, and description
  - name: Earnings
    description: Earnings data and related information
  - name: News
    description: Real-time and historical news articles
  - name: SEC Filings
    description: SEC filings and regulatory documents
  - name: Insider Sale Notices
    description: SEC Form 144 notices of proposed insider stock sales
  - name: Insider Trades
    description: Insider trading activity and transactions
  - name: Politician Trades
    description: Stock trades disclosed by members of Congress
  - name: Activist Ownership
    description: Activist stakes from SEC Schedule 13D filings, in real time
  - name: Beneficial Ownership
    description: >-
      Holders of more than 5% of a company's shares, from SEC Schedules 13D and
      13G
  - name: Insider Ownership
    description: Insider ownership statements from SEC Forms 3 and 5
  - name: Institutional Holdings
    description: SEC-direct 13F equity holdings of institutional investment managers
  - name: IPOs
    description: >-
      Upcoming IPOs from SEC registration statements (Form S-1), with extracted
      pre-IPO financial statements
  - name: Index Funds
    description: >-
      ETF and index-fund holdings, weights, and the funds that hold a given
      security
  - name: Financial Metrics
    description: Financial ratios, metrics, and key performance indicators
  - name: Macroeconomics
    description: Real-time and historical macroeconomic data like interest rates
  - name: KPIs
    description: Sector-specific operational KPIs extracted from earnings releases.
  - name: Agent Account
    description: Self-serve account creation and funding for AI agents.
  - name: Search
    description: Search financial documents with one question and get cited passages back
paths:
  /financials/debt-schedule:
    get:
      tags:
        - Financial Statements
      summary: Get debt schedule
      description: >-
        Get 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 and amount. Every
        value is the number the company filed; nothing is calculated.
      operationId: getDebtSchedule
      parameters:
        - name: ticker
          in: query
          description: The ticker symbol. Required if cik is not provided.
          required: false
          schema:
            type: string
        - name: cik
          in: query
          description: >-
            The Central Index Key (CIK) of the company. Required if ticker is
            not provided.
          required: false
          schema:
            type: string
        - name: period
          in: query
          description: >-
            The kind of report. `annual` returns each annual report. `quarterly`
            returns each quarterly report, and the annual report as the fourth
            quarter with its balances only.
          required: true
          schema:
            type: string
            enum:
              - annual
              - quarterly
        - name: limit
          in: query
          description: >-
            The maximum number of report periods to return, newest first. This
            is the total across all pages, not a page size: each page holds up
            to 10 records, linked by `next_page_url`.
          schema:
            type: integer
            format: int32
            default: 4
            maximum: 20
        - $ref: '#/components/parameters/ReportPeriod'
        - $ref: '#/components/parameters/ReportPeriodGte'
        - $ref: '#/components/parameters/ReportPeriodLte'
        - $ref: '#/components/parameters/ReportPeriodGt'
        - $ref: '#/components/parameters/ReportPeriodLt'
        - name: cursor
          in: query
          description: >-
            Opaque pagination cursor from a previous response's next_page_url.
            When provided, all other query parameters are ignored: the cursor
            carries the original request's filters. Treat it as opaque; do not
            construct or modify it.
          required: false
          schema:
            type: string
      responses:
        '200':
          description: Debt schedule response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/DebtSchedulesResponse'
        '400':
          $ref: '#/components/responses/BadRequestError'
        '401':
          $ref: '#/components/responses/UnauthorizedError'
        '402':
          $ref: '#/components/responses/PaymentRequiredError'
components:
  parameters:
    ReportPeriod:
      name: report_period
      in: query
      description: Filter by exact report period date in YYYY-MM-DD format.
      required: false
      schema:
        type: string
        format: date
    ReportPeriodGte:
      name: report_period_gte
      in: query
      description: >-
        Filter by report period greater than or equal to date in YYYY-MM-DD
        format.
      required: false
      schema:
        type: string
        format: date
    ReportPeriodLte:
      name: report_period_lte
      in: query
      description: Filter by report period less than or equal to date in YYYY-MM-DD format.
      required: false
      schema:
        type: string
        format: date
    ReportPeriodGt:
      name: report_period_gt
      in: query
      description: Filter by report period greater than date in YYYY-MM-DD format.
      required: false
      schema:
        type: string
        format: date
    ReportPeriodLt:
      name: report_period_lt
      in: query
      description: Filter by report period less than date in YYYY-MM-DD format.
      required: false
      schema:
        type: string
        format: date
  schemas:
    DebtSchedulesResponse:
      type: object
      properties:
        debt_schedules:
          type: array
          items:
            $ref: '#/components/schemas/DebtSchedule'
        next_page_url:
          type: string
          description: >-
            Absolute URL of the next page of results. Present only when more
            results remain; request it as-is to continue. Each page holds up to
            10 records.
    DebtSchedule:
      description: The debt schedule of one report.
      allOf:
        - $ref: '#/components/schemas/SegmentMetadata'
        - type: object
          properties:
            line_items:
              type: array
              description: >-
                The reported debt lines: one heading per table of the footnote,
                then the company-wide lines and one heading per borrowing.
              items:
                $ref: '#/components/schemas/DebtScheduleNode'
    ErrorResponse:
      type: object
      properties:
        error:
          type: string
          description: A short error message.
        message:
          type: string
          description: A more detailed error message.
    SegmentMetadata:
      type: object
      description: Common metadata fields for all segment responses.
      properties:
        ticker:
          type: string
          description: The ticker symbol.
        report_period:
          type: string
          format: date
          description: The reporting period.
        fiscal_period:
          type: string
          description: The fiscal period (e.g., Q1, Q2, Q3, Q4, FY).
        period:
          type: string
          enum:
            - quarterly
            - annual
          description: The time period.
        currency:
          type: string
          description: The reporting currency (e.g., USD, EUR, GBP).
        accession_number:
          type: string
          description: The SEC filing accession number.
        filing_url:
          type: string
          description: URL to the SEC filing.
    DebtScheduleNode:
      type: object
      description: >-
        A node in the debt schedule tree: a table heading, a borrowing, or one
        reported line. Recursively nested via `children`.
      properties:
        label:
          type: string
          description: The company's own words for the line, the table, or the borrowing.
        standard_label:
          type: string
          nullable: true
          description: >-
            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:
          oneOf:
            - type: number
            - type: string
          nullable: true
          description: >-
            The value as the company filed it: a number, or a date string
            (`YYYY-MM-DD`) when `unit` is `date`. Null for a heading.
        unit:
          type: string
          nullable: true
          description: >-
            The unit of the value: a currency code such as `USD`, `percent`
            (2.95% is 0.0295), `date`, `shares`, `pure` for a plain number such
            as a ratio, or a unit the company defined itself. Null for a
            heading.
        children:
          type: array
          description: Nested lines beneath this row.
          items:
            $ref: '#/components/schemas/DebtScheduleNode'
  responses:
    BadRequestError:
      description: Bad request
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorResponse'
          example:
            error: Bad Request
            message: Invalid request parameters
    UnauthorizedError:
      description: Unauthorized
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorResponse'
          example:
            error: Unauthorized
            message: Invalid API key provided
    PaymentRequiredError:
      description: The request requires a paid subscription
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorResponse'
          example:
            error: Payment Required
            message: >-
              This endpoint requires a paid subscription. Please upgrade your
              plan.
  securitySchemes:
    X-API-KEY:
      type: apiKey
      name: X-API-KEY
      description: API key for authentication.
      in: header

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.