Skip to main content

Documentation Index

Fetch the complete documentation index at: https://tradewatch.io/docs/llms.txt

Use this file to discover all available pages before exploring further.

Fundamental data is sourced from SEC EDGAR — the SEC’s public disclosure system for US-listed companies. This includes structured financial statements parsed from 10-K and 10-Q filings, company registration facts, a full filing index, and insider trading activity from Form 4 submissions.

Endpoints

EndpointSummaryKey use case
GET /stocks/income-statementsIncome statementsRevenue, profit, EPS by period
GET /stocks/balance-sheetsBalance sheetsAssets, liabilities, equity by period
GET /stocks/cash-flow-statementsCash flow statementsOperating, investing, and financing cash flows
GET /stocks/company-factsCompany factsSEC CIK, SIC code, fiscal year end
GET /stocks/filingsSEC filingsIndex of 10-K, 10-Q, 8-K, and other filings
GET /stocks/insider-tradesInsider tradesForm 4 transactions by insiders

Financial Statements

Endpoints: GET /stocks/income-statements · GET /stocks/balance-sheets · GET /stocks/cash-flow-statements All three statement endpoints share the same filtering interface: ticker (required), period (annual for 10-K, quarterly for 10-Q), limit, and a set of report_date range filters (report_date_gte, report_date_lte, report_date_gt, report_date_lt). Results are ordered by report_date descending.

Income Statement

Revenue, profitability, and per-share metrics for each reporting period. Key fields
FieldWhat it means
revenueTotal revenue (USD)
cost_of_revenueCost of goods sold
gross_profitRevenue minus cost of revenue
operating_expensesTotal operating expenses excluding cost of revenue
operating_incomeGross profit minus operating expenses
net_incomeNet income attributable to the company
epsBasic earnings per share
eps_dilutedDiluted EPS — accounts for stock options and convertibles

Balance Sheet

Financial position at the end of each reporting period. Key fields
FieldWhat it means
total_assetsSum of all assets
current_assetsAssets expected to be converted to cash within one year
cash_and_equivalentsCash and short-term liquid investments
total_liabilitiesSum of all liabilities
current_liabilitiesObligations due within one year
total_equitytotal_assets minus total_liabilities
long_term_debtDebt obligations due beyond one year
retained_earningsCumulative net income retained after dividend payments

Cash Flow Statement

Cash movements across operating, investing, and financing activities. Key fields
FieldWhat it means
operating_cash_flowCash generated from core business operations
capital_expendituresCash spent on property, plant, and equipment — typically stored as a negative number
free_cash_flowoperating_cash_flow + capital_expenditures (computed field)
investing_cash_flowNet cash from investments and acquisitions
financing_cash_flowNet cash from debt and equity transactions
dividends_paidCash dividends paid to shareholders — typically negative
share_repurchasesCash used to buy back shares — typically negative
net_change_in_cashNet increase or decrease in cash for the period
Interpretation: free_cash_flow is a computed field. Because capital_expenditures is stored as a negative number (a cash outflow), the formula is addition: operating_cash_flow + capital_expenditures. A negative free_cash_flow is not unusual for companies in heavy investment phases. When to use
  • Screening stocks by revenue growth or profit margin across quarters
  • Computing year-over-year changes in financial health metrics
  • Verifying that a company generates sufficient cash to sustain operations or pay dividends
Example
# Last 4 quarterly income statements for AAPL
curl "https://api.tradewatch.io/stocks/income-statements?ticker=AAPL&period=quarterly&limit=4" \
  -H "api-key: YOUR_API_KEY"

# Annual balance sheets for MSFT since 2020
curl "https://api.tradewatch.io/stocks/balance-sheets?ticker=MSFT&period=annual&report_date_gte=2020-01-01" \
  -H "api-key: YOUR_API_KEY"

Company Facts

Endpoint: GET /stocks/company-facts Returns static company registration information sourced from EDGAR. Useful as a lookup to resolve a ticker to its SEC identifiers or to understand the company’s industry classification. Key fields
FieldWhat it means
cikSEC Central Index Key — unique EDGAR identifier
company_nameLegal name as registered with the SEC
sic_codeStandard Industrial Classification code
sic_descriptionHuman-readable industry description
state_of_incorporationUS state (or country) of legal incorporation
fiscal_year_endMonth-day of fiscal year end in MM-DD format (e.g. 12-31)
When to use
  • Resolving a ticker to its SEC CIK for direct EDGAR lookups or cross-referencing with other SEC data sources
  • Grouping companies by SIC industry in a screener
  • Understanding whether a company’s fiscal year aligns with the calendar year when interpreting report_date values
Example
curl "https://api.tradewatch.io/stocks/company-facts?ticker=AAPL" \
  -H "api-key: YOUR_API_KEY"

SEC Filings

Endpoint: GET /stocks/filings Returns an index of SEC EDGAR filings for a company. Includes 10-K (annual report), 10-Q (quarterly report), 8-K (current events/material news), and other filing types. Each record contains the accession number, dates, and a direct link to the document on EDGAR. Key fields
FieldWhat it means
accession_numberUnique EDGAR filing identifier (e.g. 0000320193-23-000077)
filing_typeSEC filing type: 10-K, 10-Q, 8-K, etc.
filing_dateDate the document was submitted to the SEC
report_dateEnd date of the period covered by the filing
file_urlDirect URL to the filing document on SEC EDGAR
When to use
  • Linking to source documents from a financial analysis UI
  • Filtering for 8-K filings to track material events such as earnings releases or acquisitions
  • Auditing the completeness of structured statement data against the original source filing
Example
# All 10-K filings for AAPL
curl "https://api.tradewatch.io/stocks/filings?ticker=AAPL&filing_type=10-K" \
  -H "api-key: YOUR_API_KEY"

Insider Trades

Endpoint: GET /stocks/insider-trades Returns insider trading activity sourced from SEC Form 4 filings. Form 4 must be filed within two business days of a transaction by company officers, directors, and beneficial owners of more than 10% of a stock class. Results are ordered by filing_date descending. Key fields
FieldWhat it means
insider_nameName of the reporting insider
transaction_dateDate the trade occurred
filing_dateDate Form 4 was filed with the SEC
transaction_typeType code: P (purchase), S (sale), G (gift), A (conversion), F (exercise price payment)
shares_transactionNumber of shares involved in the transaction
price_per_sharePrice per share at time of transaction (USD)
transaction_valueTotal value — computed as shares_transaction × price_per_share
securities_ownedTotal shares held by the insider after the transaction
Interpretation: Insider purchases (P) are generally viewed as a bullish signal — insiders are buying with personal capital. Insider sales (S) are more ambiguous; they are often pre-planned under 10b5-1 plans and may reflect personal liquidity needs rather than a negative outlook. Filter by transaction_type=P to isolate open-market purchases. When to use
  • Screening for unusual insider buying activity
  • Alerting users when an executive makes a large open-market purchase
  • Cross-referencing insider transactions with earnings announcement dates
Example
# Open-market purchases for AAPL in 2025
curl "https://api.tradewatch.io/stocks/insider-trades?ticker=AAPL&transaction_type=P&filing_date_gte=2025-01-01&filing_date_lte=2025-12-31" \
  -H "api-key: YOUR_API_KEY"