Aportia Docs

Data Sources

Alpaca Markets — Stocks, REITs, Commodities

Alpaca provides real-time and historical price data for equities and commodity ETFs.

What it supplies:

  • Latest price (last trade, daily bar, or quote)
  • Daily trading volume
  • Daily OHLCV bars (up to 365 days of history)
  • 24h price change (computed from today's bar vs. the previous day's close)
  • 2 years of daily price history used to calculate Beta

SEC EDGAR — Fundamental Data (Stocks & REITs)

The SEC's EDGAR database is the authoritative source for all fundamental financial data on US-listed companies. Aportia reads annual filings (10-K) using XBRL-structured data.

What it supplies:

Data fieldType
RevenueAnnual
Net IncomeAnnual
Operating IncomeAnnual
Gross ProfitAnnual
EBITDAAnnual
Depreciation & AmortisationAnnual
Total AssetsBalance sheet (point-in-time)
Shareholders' EquityBalance sheet (point-in-time)
Long-term DebtBalance sheet (point-in-time)
Short-term DebtBalance sheet (point-in-time)
Cash & EquivalentsBalance sheet (point-in-time)
Shares OutstandingBalance sheet (point-in-time)
Diluted EPSAnnual
Operating Cash FlowAnnual
CAPEXAnnual
Dividends PaidAnnual
Dividend Per ShareAnnual

Quality filters applied to EDGAR data:

  • Only annual 10-K filings are used — quarterly data is excluded to avoid mixing periods
  • Amended filings and low-quality submissions are automatically excluded
  • Only exact XBRL concept matches are accepted — fuzzy matching is disabled to prevent data contamination
  • Balance sheet items use the most recent point-in-time snapshot, not period averages

Binance REST API — Cryptocurrencies

What it supplies:

  • 24h statistics (price, volume, % change)
  • Daily candlestick history (up to 365 days)
  • Asset name and base currency information

Note: Market capitalisation and circulating supply are not available via the public Binance API and are therefore not shown for crypto assets.


Frankfurter.dev — Forex

What it supplies:

  • Latest exchange rates between currency pairs
  • Daily historical rates (up to 365 days)

Coverage: ECB (European Central Bank) currency pairs only. Exotic pairs outside the ECB universe are not supported.

Volume: Not available — forex aggregators do not report standardised volume figures.

Accepted ticker formats: EURUSD, EUR/USD, EUR-USD. The system extracts the base and quote currencies automatically.


Alpaca News API — Asset News

What it supplies:

  • Recent news articles per ticker
  • Title, URL, source, summary, and publication date

Up to 50 articles are fetched per request, covering the last 2 days. Each asset is rescanned at most once per hour.

On this page