Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.secapi.ai/llms.txt

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

Market Data Endpoints

Market data endpoints return structured, source-attributed payloads. All responses include provenance and freshness metadata.

GET /v1/market/snapshots

Latest price snapshots for one or more symbols. Returns last price, change, volume, and timestamp.
ParameterTypeRequiredDescription
symbolsstringyesComma-separated ticker symbols. Max 50 per request.

Example

curl -H "x-api-key: $OMNI_DATASTREAM_API_KEY" \
  "https://api.secapi.ai/v1/market/snapshots?symbols=AAPL,MSFT,GOOG"

GET /v1/market/bars

Historical OHLCV bars for a single symbol.
ParameterTypeRequiredDescription
symbolstringyesTicker symbol.
timeframestringnoBar resolution. One of 1D, 1W, 1M. Defaults to 1D.
startstringnoStart date in YYYY-MM-DD format.
endstringnoEnd date in YYYY-MM-DD format.
limitintegernoMaximum bars to return. Defaults to 252.

Example

curl -H "x-api-key: $OMNI_DATASTREAM_API_KEY" \
  "https://api.secapi.ai/v1/market/bars?symbol=AAPL&timeframe=1D&start=2025-01-01&end=2025-12-31"

GET /v1/market/corporate-actions

Dividends, splits, and spinoffs for a symbol or across the market within a date range.
ParameterTypeRequiredDescription
symbolstringnoTicker symbol. Omit for market-wide results.
typestringnoAction type filter. One of dividend, split, spinoff. Omit for all types.
startstringnoStart date in YYYY-MM-DD format.
endstringnoEnd date in YYYY-MM-DD format.
limitintegernoMaximum results. Defaults to 100.
cursorstringnoPagination cursor from a previous response.

Example

curl -H "x-api-key: $OMNI_DATASTREAM_API_KEY" \
  "https://api.secapi.ai/v1/market/corporate-actions?symbol=AAPL&type=dividend&start=2025-01-01"

GET /v1/market/reference

Company reference data including name, sector, industry, exchange, and identifiers.
ParameterTypeRequiredDescription
symbolstringyesTicker symbol.

Example

curl -H "x-api-key: $OMNI_DATASTREAM_API_KEY" \
  "https://api.secapi.ai/v1/market/reference?symbol=AAPL"

GET /v1/market/estimates

Analyst consensus estimates for a symbol. Returns EPS, revenue, and EBITDA consensus values with high/low range.
ParameterTypeRequiredDescription
symbolstringyesTicker symbol.
periodstringnoFiscal period. One of FY0, FY1, FY2, Q0, Q1. Defaults to FY1.

Example

curl -H "x-api-key: $OMNI_DATASTREAM_API_KEY" \
  "https://api.secapi.ai/v1/market/estimates?symbol=AAPL&period=FY1"

GET /v1/market/calendar

Trading calendar for a given exchange. Returns trading days, early closes, and holidays.
ParameterTypeRequiredDescription
exchangestringnoExchange code. Defaults to NYSE.
startstringnoStart date in YYYY-MM-DD format.
endstringnoEnd date in YYYY-MM-DD format.

Example

curl -H "x-api-key: $OMNI_DATASTREAM_API_KEY" \
  "https://api.secapi.ai/v1/market/calendar?exchange=NYSE&start=2026-01-01&end=2026-12-31"

GET /v1/market/indices

Supported index inventory. Returns index metadata, rights posture, and sync cadence.
ParameterTypeRequiredDescription
supported_onlybooleannoWhen true, return only indices with public constituent export. Defaults to false.

Example

curl -H "x-api-key: $OMNI_DATASTREAM_API_KEY" \
  "https://api.secapi.ai/v1/market/indices?supported_only=true"

GET /v1/market/indices/constituents

Index constituent listings. See the Index Constituents page for rights model and support posture details.
ParameterTypeRequiredDescription
"index"stringyesIndex code (e.g., NDX).
limitintegernoMaximum constituents to return. Defaults to 100.
cursorstringnoPagination cursor from a previous response.

Example

curl -H "x-api-key: $OMNI_DATASTREAM_API_KEY" \
  "https://api.secapi.ai/v1/market/indices/constituents?index=NDX&limit=10"

GET /v1/market/universe

Browse the full ticker universe with pagination, filtering, and search. Returns identifiers (CIK, FIGI), sector/industry classification, market cap, and listing status for every tracked ticker.
ParameterTypeRequiredDescription
exchangestringnoFilter by primary exchange (e.g. XNYS, XNAS).
typestringnoFilter by security type (e.g. CS, ETF).
sectorstringnoFilter by GICS-style sector (e.g. Technology).
industrystringnoFilter by industry classification.
activebooleannoFilter by active listing status.
has_figibooleannoOnly tickers with a composite FIGI.
has_cikbooleannoOnly tickers with a SEC CIK.
searchstringnoCase-insensitive search across symbol and company name.
limitintegernoPage size. Defaults to 100, max 1000.
cursorintegernoPagination offset.

Example

curl -H "x-api-key: $OMNI_DATASTREAM_API_KEY" \
  "https://api.secapi.ai/v1/market/universe?exchange=XNYS&sector=Technology&limit=25"

GET /v1/market/earnings-calendar

Earnings events within a date range. Returns consensus estimates, actuals, surprise percentages, and analyst counts for EPS and revenue metrics.
ParameterTypeRequiredDescription
date_fromstringyesStart date in YYYY-MM-DD format.
date_tostringyesEnd date in YYYY-MM-DD format.
symbolstringnoFilter to a single ticker symbol.
limitintegernoMaximum results. Defaults to 100, max 1000.

Example

curl -H "x-api-key: $OMNI_DATASTREAM_API_KEY" \
  "https://api.secapi.ai/v1/market/earnings-calendar?date_from=2026-03-24&date_to=2026-03-31"

GET /v1/market/financials

Deprecated. Use GET /v1/companies/financials instead. This endpoint will be removed in a future API version.
Financial statements (income statement, balance sheet, cash flow) for a symbol.
ParameterTypeRequiredDescription
symbolstringyesTicker symbol.
statementstringnoOne of income, balance, cashflow. Defaults to income.
periodstringnoOne of annual, quarterly. Defaults to annual.
limitintegernoNumber of periods to return. Defaults to 4.

Example

curl -H "x-api-key: $OMNI_DATASTREAM_API_KEY" \
  "https://api.secapi.ai/v1/market/financials?symbol=AAPL&statement=income&period=annual&limit=4"

GET /v1/market/search

Ticker and company name search. Returns matching symbols with exchange, name, and type metadata.
ParameterTypeRequiredDescription
qstringyesSearch query. Matches against ticker and company name.
limitintegernoMaximum results. Defaults to 10.

Example

curl -H "x-api-key: $OMNI_DATASTREAM_API_KEY" \
  "https://api.secapi.ai/v1/market/search?q=apple&limit=5"

GET /v1/signals/volatility

OMNI Volatility Score for a symbol. See the Volatility Score page for methodology and quality controls.
ParameterTypeRequiredDescription
tickerstringyesTicker symbol.

Example

curl -H "x-api-key: $OMNI_DATASTREAM_API_KEY" \
  "https://api.secapi.ai/v1/signals/volatility?ticker=AAPL"