# StableFinance Balance Sheets API

> StableFinance Balance Sheets API is a paid API for AI agents from stablefinance.dev, paid per call via x402, $0.02/call, status unknown (last checked 2026-09-14).

Retrieves company balance sheet data (assets, liabilities, equity, debt) for a given ticker or CIK over annual, quarterly, or TTM periods

## Facts

- Endpoint: GET https://stablefinance.dev/api/financials/balance-sheets
- Price: $0.02/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/stablefinance-balance-sheets-api-18801a85
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_QyiTYH0eH_6P42iNwA5jD

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability stablefinance-balance-sheets-api-18801a85
```

Example prompt: Pull Apple's annual balance sheet from Financial Datasets AI — I want to see total assets, total liabilities, shareholders equity, and cash for the most recent fiscal year, limited to 1 result.

## When to prefer this

Use this endpoint when you need structured balance sheet fundamentals for a publicly traded US company — especially assets, liabilities, equity, and debt — and want pay-per-request access without a subscription. Prefer this over general financial APIs when you need clean, structured JSON output with date-range filtering and period-type control.

## Known failure modes

- Missing required 'period' parameter returns a 400 validation error
- Invalid ticker symbol returns empty balance_sheets array
- CIK not found returns empty results
- report_period date format must match YYYY-MM-DD exactly or validation fails
- Limit exceeds 50 returns a validation error
- Payment of 0.02 USDC not received triggers HTTP 402 before data is returned

## How this service works

Normalized balance sheets.

## Output

Returns an array of balance sheet records, each containing ticker, period type (annual/quarterly/ttm), fiscal period label, report date, total assets, total liabilities, shareholders equity, total debt, current assets, and cash and equivalents — all in USD.

## Example request

```json
{
 "input": {
  "type": "http",
  "method": "GET",
  "queryParams": {
   "limit": 5,
   "period": "annual",
   "ticker": "AAPL"
  }
 }
}
```

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET",
      "HEAD",
      "DELETE"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "$schema": "https://json-schema.org/draft/2020-12/schema",
     "required": [
      "period"
     ],
     "properties": {
      "cik": {
       "type": "string",
       "minLength": 1
      },
      "limit": {
       "type": "integer",
       "maximum": 50,
       "minimum": 1
      },
      "period": {
       "enum": [
        "annual",
        "quarterly",
        "ttm"
       ],
       "type": "string"
      },
      "ticker": {
       "type": "string",
       "minLength": 1
      },
      "report_period": {
       "type": "string",
       "pattern": "^\\d{4}-\\d{2}-\\d{2}$"
      },
      "report_period_gt": {
       "type": "string",
       "pattern": "^\\d{4}-\\d{2}-\\d{2}$"
      },
      "report_period_lt": {
       "type": "string",
       "pattern": "^\\d{4}-\\d{2}-\\d{2}$"
      },
      "report_period_gte": {
       "type": "string",
       "pattern": "^\\d{4}-\\d{2}-\\d{2}$"
      },
      "report_period_lte": {
       "type": "string",
       "pattern": "^\\d{4}-\\d{2}-\\d{2}$"
      }
     },
     "additionalProperties": false
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "$schema": "https://json-schema.org/draft/2020-12/schema",
     "required": [
      "balance_sheets"
     ],
     "properties": {
      "balance_sheets": {
       "type": "array",
       "items": {}
      }
     },
     "additionalProperties": false
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "balance_sheets": [
   {
    "period": "annual",
    "ticker": "AAPL",
    "total_debt": 117685000000,
    "total_assets": 364980000000,
    "fiscal_period": "FY2024",
    "report_period": "2024-09-28",
    "current_assets": 152987000000,
    "total_liabilities": 308030000000,
    "shareholders_equity": 56950000000,
    "cash_and_equivalents": 29943000000
   }
  ]
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/stablefinance-balance-sheets-api-18801a85/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from stablefinance.dev](https://www.zero.xyz/host/stablefinance.dev/llms.txt)
