Skip to main content

Overview

DebtStack extracts and structures corporate debt data from SEC filings. The data is organized around companies, entities, debt instruments, and their relationships.

Core Objects

Company

The top-level object representing a publicly traded company.

Entity

A legal entity within the corporate structure (subsidiaries, holding companies, operating companies).
Entity Types:
  • holdco - Holding company (typically top-level)
  • opco - Operating company
  • finco - Financing subsidiary
  • subsidiary - General subsidiary
  • jv - Joint venture
  • vie - Variable interest entity

Debt Instrument

A specific debt obligation (bond, loan, credit facility).
Seniority Levels:
  • senior_secured - First priority claim
  • senior_unsecured - Unsecured senior debt
  • subordinated - Junior to senior debt
Instrument Types:
  • senior_notes - Fixed-rate bonds
  • term_loan_a - Amortizing term loan
  • term_loan_b - Bullet term loan
  • revolver - Revolving credit facility
  • first_lien - First lien secured loan
  • second_lien - Second lien secured loan

Guarantee

A relationship where one entity guarantees another entity’s debt.

Collateral

Assets pledged to secure debt instruments.
Collateral Types:
  • real_estate - Property and buildings
  • equipment - Machinery, vehicles
  • receivables - Accounts receivable
  • inventory - Stock and goods
  • ip - Intellectual property, patents
  • securities - Stock pledges
  • general_lien - Blanket lien on assets
  • vehicles - Aircraft, ships, cars
  • energy_assets - Oil/gas reserves

Data Conventions

Monetary Values

All monetary values are stored in cents (hundredths of a dollar) to avoid floating-point precision issues. Example: total_debt: 9500000000000 = $95 billion

Interest Rates

Interest rates are stored as percentages (not basis points) for readability.

Dates

All dates use ISO 8601 format: YYYY-MM-DD

Relationships

  • A Company has many Entities
  • An Entity can issue Debt Instruments
  • An Entity can guarantee other entities’ Debt Instruments
  • A Debt Instrument can have multiple Guarantors
  • A Debt Instrument can have Collateral

Document Sections

SEC filings are parsed into searchable sections: Sections support three search modes:
  • Keyword search — PostgreSQL full-text search with relevance ranking
  • Semantic search — Each section is split into overlapping chunks and embedded with Gemini (gemini-embedding-001, 768 dimensions). Queries are embedded and matched via cosine similarity, enabling natural language questions like “can they pay dividends” to find covenant language about restricted payments.
  • Hybrid search — Combines both via Reciprocal Rank Fusion for comprehensive results
See the Documents Search endpoint for details.

Coverage

211 companies covering S&P 100 and NASDAQ 100, with thousands of debt instruments, real-time bond pricing from FINRA TRACE, and searchable SEC filing sections. Expanding to 500+ companies.