/filings/document/textFetches the raw text content of an SEC filing document using a documentId from a filing record. Returns a JSON object with the source URL and plain text extracted from the SEC filing HTML or XML. This is useful for full-text search, analysis, or feeding document content into LLM workflows.
Query Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
| documentId | string | Required | Base64-encoded SEC document URL from a filing record's documentId field |
Examples:
https://api.axionquant.com/filings/document/texthttps://api.axionquant.com/filings/document/text?filingId=example123Key Response Fields
src
Decoded source URL of the SEC filing document
text
Raw plain text content of the SEC filing document, with HTML/XML markup removed
Apple 10-Q Document Text
Request
1from axion import Axion
2client = Axion(api_key='axn_123')
3
4document_id = "aHR0cHM6Ly93d3cuc2VjLmdvdi9BcmNoaXZlcy9lZGdhci9kYXRhLzMyMDE5My8wMDAwMzIwMTkzMjYwMDAwMTMvYWFwbC0yMDI2MDMyOC5odG0="
5text = client.filings.document_text(document_id)
6print(text)Response
{
"src": "https://www.sec.gov/Archives/edgar/data/320193/0000320193-20-000010.txt",
"text": "UNITED STATES
SECURITIES AND EXCHANGE COMMISSION
Washington, D.C. 20549
FORM SD
Specialized Disclosure Report
Apple Inc.
(Exact name of the registrant as specified in its charter)
California
001-36743
94-2404110
(State or other jurisdiction of incorporation or organization)
(Commission File Number)
(I.R.S. Employer Identification No.)
One Apple Park Way
Cupertino, California 95014
(Address of principal executive offices) (Zip Code)
..."
}/filings/document/sentimentAnalyzes the sentiment of an SEC filing document using a documentId from a filing record. The document text is extracted from the SEC filing, then processed through a sentiment analysis model to determine whether the overall tone is positive or negative.
Query Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
| documentId | string | Required | Base64-encoded SEC document URL from a filing record's documentId field |
Examples:
https://api.axionquant.com/filings/document/sentimenthttps://api.axionquant.com/filings/document/sentiment?filingId=example123Key Response Fields
label
Overall sentiment label (POSITIVE or NEGATIVE)
score
Confidence score of the overall sentiment (0 to 1)
breakdown.positive.count
Number of sentences classified as positive
breakdown.positive.avgScore
Average confidence score of positive sentences
breakdown.negative.count
Number of sentences classified as negative
breakdown.negative.avgScore
Average confidence score of negative sentences
Apple 10-Q Filing Sentiment
Request
1from axion import Axion
2client = Axion(api_key='axn_123')
3
4document_id = "aHR0cHM6Ly93d3cuc2VjLmdvdi9BcmNoaXZlcy9lZGdhci9kYXRhLzMyMDE5My8wMDAwMzIwMTkzMjYwMDAwMTMvYWFwbC0yMDI2MDMyOC5odG0="
5sentiment = client.filings.document_sentiment(document_id)
6print(sentiment)Response
{
"label": "NEGATIVE",
"score": 0.984021182571139,
"breakdown": {
"positive": {
"count": 63,
"avgScore": 0.987096269925435
},
"negative": {
"count": 293,
"avgScore": 0.984021182571139
}
}
}/filings/list/formsReturns a flat array of supported SEC form type strings (including "all"). This endpoint does not require any authentication or parameters and is useful for building dropdown menus or validating form type inputs.
Examples:
https://api.axionquant.com/filings/list/formsResponse
The response is a flat array of strings representing supported SEC form types. The first element is always "all" which can be used in other endpoints to include all form types.
[0]
"all" — wildcard for all form types
[1..n]
Individual SEC form codes (e.g., "10-K", "4", "NPORT-P")
Available Forms
Request
1from axion import Axion
2client = Axion(api_key='axn_123')
3
4forms = client.filings.list_forms()
5print(forms)Response
[
"all",
"10-K",
"10-Q",
"8-K",
"4",
"3",
"S-1",
"S-3",
"DEF 14A",
"13F-HR",
"SC 13G",
"SC 13D",
"144",
"NPORT-P",
"NPORT-EX"
]Financials API
The Financials API provides direct access to company financial statements and key performance metrics. Retrieve historical income statement, balance sheet, and cash flow data for publicly traded companies. All financial figures are sourced from SEC filings and are presented in the company's reporting currency. The API supports multi-period requests to enable trend analysis.
/financials/:ticker/snapshotReturns a real-time financial snapshot including current stock price, analyst targets, key valuation metrics, and profitability ratios. Data is sourced from market data feeds and may be delayed by up to 15 minutes.
Path Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
| ticker | string | Required | Stock ticker symbol |
Examples:
https://api.axionquant.com/financials/AAPL/snapshothttps://api.axionquant.com/financials/MSFT/snapshotKey Response Fields
currentPrice
Latest trading price
targetHighPrice, targetLowPrice, targetMeanPrice, targetMedianPrice
Analyst price targets
recommendationMean, recommendationKey, numberOfAnalystOpinions
Analyst consensus (1=Strong Buy, 5=Strong Sell)
totalCash, totalCashPerShare
Cash and cash equivalents
ebitda, totalDebt, totalRevenue
Key income statement items
quickRatio, currentRatio, debtToEquity
Liquidity and leverage ratios
returnOnAssets, returnOnEquity
Profitability metrics
freeCashflow, operatingCashflow
Cash flow metrics
earningsGrowth, revenueGrowth
Year-over-year growth rates
grossMargins, ebitdaMargins, operatingMargins, profitMargins
Profit margin percentages
financialCurrency
Reporting currency (usually USD)
Financial Snapshot (Apple)
Request
1from axion import Axion
2client = Axion(api_key='axn_123')
3
4snapshot = client.financials.snapshot('AAPL')
5print(snapshot)Response
{
"currentPrice": 272.19,
"targetHighPrice": 350,
"targetLowPrice": 215,
"targetMeanPrice": 287.70682,
"targetMedianPrice": 300,
"recommendationMean": 2,
"recommendationKey": "buy",
"numberOfAnalystOpinions": 41,
"totalCash": 54697000960,
"totalCashPerShare": 3.702,
"ebitda": 144748003328,
"totalDebt": 112377004032,
"quickRatio": 0.771,
"currentRatio": 0.893,
"totalRevenue": 416161005568,
"debtToEquity": 152.411,
"revenuePerShare": 27.84,
"returnOnAssets": 0.22964,
"returnOnEquity": 1.7142199,
"grossProfits": 195201007616,
"freeCashflow": 78862254080,
"operatingCashflow": 111482003456,
"earningsGrowth": 0.912,
"revenueGrowth": 0.079,
"grossMargins": 0.46905,
"ebitdaMargins": 0.34782,
"operatingMargins": 0.31647,
"profitMargins": 0.26915002,
"financialCurrency": "USD"
}