Base URL
Authentication
All requests require an API key in theX-API-Key header:
Endpoints
DebtStack provides 11 core primitives for corporate debt analysis:Companies
| Method | Endpoint | Description | Cost |
|---|---|---|---|
| GET | /v1/companies | Search and filter companies | $0.05 |
| GET | /v1/companies/{ticker}/changes | Get recent changes for a company | $0.10 |
Bonds
| Method | Endpoint | Description | Cost |
|---|---|---|---|
| GET | /v1/bonds | Search and filter bonds | $0.05 |
| GET | /v1/bonds/resolve | Resolve CUSIP/ISIN to bond details | $0.05 |
Financials
| Method | Endpoint | Description | Cost |
|---|---|---|---|
| GET | /v1/financials | Get financial metrics and ratios | $0.05 |
Collateral
| Method | Endpoint | Description | Cost |
|---|---|---|---|
| GET | /v1/collateral | Get collateral and security details | $0.05 |
Covenants
| Method | Endpoint | Description | Cost |
|---|---|---|---|
| GET | /v1/covenants | Search covenant terms | $0.05 |
| GET | /v1/covenants/compare | Compare covenants across companies | Business only |
Entities
| Method | Endpoint | Description | Cost |
|---|---|---|---|
| POST | /v1/entities/traverse | Traverse entity relationships | $0.15 |
Documents
| Method | Endpoint | Description | Cost |
|---|---|---|---|
| GET | /v1/documents/search | Full-text search SEC filings | $0.15 |
Batch
| Method | Endpoint | Description | Cost |
|---|---|---|---|
| POST | /v1/batch | Execute multiple operations | Sum of operations |
Business-Only Endpoints
| Method | Endpoint | Description |
|---|---|---|
| GET | /v1/bonds/{cusip}/pricing/history | Historical bond pricing (up to 2 years) |
| GET | /v1/export | Bulk data export (up to 50,000 records) |
| GET | /v1/usage/analytics | Detailed usage analytics |
Response Format
Success
Error
Common Parameters
These parameters are available on most list endpoints:| Parameter | Type | Description |
|---|---|---|
fields | string | Comma-separated list of fields to return |
sort | string | Sort field (prefix - for descending) |
limit | integer | Results per page (max 100) |
offset | integer | Pagination offset |
format | string | Response format: json (default) or csv |
Rate Limits
| Tier | Limit | Queries |
|---|---|---|
| Pay-as-You-Go | 60 requests/minute | Pay per call |
| Pro | 100 requests/minute | Unlimited |
| Business | 500 requests/minute | Unlimited |
Credit Usage (Pay-as-You-Go)
Each endpoint consumes credits based on complexity:| Endpoint Type | Cost | Endpoints |
|---|---|---|
| Simple | $0.05 | Companies, Bonds, Resolve, Financials, Collateral, Covenants |
| Complex | $0.10 | Company Changes |
| Advanced | $0.15 | Traverse, Documents, Batch (per operation) |

