Skip to main content

Endpoint

GET
string
https://api.llmquant.com/financials/balance-sheets

Parameters

Required

ticker
string
required
The stock ticker symbol (e.g. AAPL, MSFT).
period
string
required
The reporting period. One of: annual, quarterly, ttm.

Optional

limit
integer
default:4
Maximum number of statements to return.
cik
string
The SEC Central Index Key (CIK) of the company. Alternative to ticker.
report_period
date
Filter by exact reporting period date (YYYY-MM-DD).
report_period_gte
date
Filter by reporting period greater than or equal to date (YYYY-MM-DD).
report_period_lte
date
Filter by reporting period less than or equal to date (YYYY-MM-DD).

Response

balance_sheets
array
Array of BalanceSheet objects.

Code Examples

import requests

headers = {"X-API-KEY": "your_api_key_here"}

ticker = "AAPL"
period = "annual"
limit = 10

url = (
    f"https://api.llmquant.com/financials/balance-sheets"
    f"?ticker={ticker}"
    f"&period={period}"
    f"&limit={limit}"
)

response = requests.get(url, headers=headers)
balance_sheets = response.json().get("balance_sheets")