Read market data for listed companies over plain HTTP. Current quotes, daily and intraday open high low close bars, the trailing figures a valuation multiple is formed from, trailing returns on capital, analyst consensus by period, reported and scheduled earnings dates, income, cash flow and balance sheet statements as filed, aggregated price targets and rating counts, price targets and rating changes from each analyst firm as they were published, earnings call transcripts, company logos, company documents such as earnings slides and call recordings, and company profiles. Most endpoints take a ticker symbol, and every endpoint but the logo returns JSON. The logo returns the image itself, and a document is read from a link the API signs for each call. The quote endpoints and the prices endpoint also take an index symbol such as ^GSPC. One API key sent as an Authorization: Bearer token. No OAuth.
https://api.sfaie.com
Send your key as an Authorization: Bearer token. Add Sfaie-Cache: max-age=<seconds> to have an identical request from your account within that many seconds answered from the cache. max-age=0 asks for a fresh answer and keeps it. The reply says Sfaie-Cache: hit, miss, no-store or bypass and carries Sfaie-Cache-Date, when the answer was generated. A replayed answer may name an older model snapshot.
Prices
- GETquotesCurrent quotes for many symbols in one call.1 credit / call
- GETquoteThe current quote for one symbol.1 credit / call
- GETpricesThe latest price and the session so far for many symbols in one call.1 credit / call
- GETprice-historyOpen, high, low, close, and volume bars, daily or intraday, oldest first.1 credit / call
Valuation
Estimates
- GETanalyst-estimatesAnalyst consensus per period, including future periods, in the company's reporting currency, which reported_currency names.1 credit / call
- GETearningsReported and scheduled earnings, one row per fiscal quarter, newest first. EPS and revenue are in US dollars. reported_currency names the currency the company reports in, and is null where we hold no statement of the company's. Where it is not USD, EPS and revenue are null. reported is true once the report's figures are in. Actuals are null until then. report_time is before_open, after_close or null. confirmed is true where the company has announced a scheduled date.1 credit / call
- GETprice-targetThe aggregated analyst price-target range for one symbol. Data is null when we have no price target for the symbol.1 credit / call
- GETratingsAnalyst rating counts from strong buy to strong sell, with a consensus label. Data is null when we have no ratings for the symbol.1 credit / call
- GETanalyst-price-targetsPrice targets one analyst firm at a time, newest first, each with the news item that published it.1 credit / call
- GETanalyst-ratingsRating changes one analyst firm at a time, newest first, each with the news item that published it.1 credit / call
Financials
- GETincome-statementIncome statements as filed, quarterly or annual, newest first. EBIT and EBITDA are computed, not filed. A line can be null where the source has no figure for it, and 0 where the filer does not report it separately.1 credit / call
- GETcash-flow-statementCash flow statements as filed, quarterly or annual, newest first. Outflows are negative, and the working capital lines are changes over the period. Free cash flow is computed, not filed. A line can be null where the source has no figure for it, and 0 where the filer does not report it separately.1 credit / call
- GETbalance-sheet-statementBalance sheets as filed, quarterly or annual, newest first. Debt can include lease liabilities. Net debt, total debt, total investments, total payables and the non-current totals are computed, not filed. A line can be null where the source has no figure for it, and 0 where the filer does not report it separately.1 credit / call
- GETrevenue-segmentsRevenue by product or business unit, or by region, for each filed period, newest first and the largest segment first. One row per segment, under the label the company files it with. Labels can change between years, a total can sit beside its parts and eliminations are negative, so a period need not add up to its revenue. Amounts are in the reporting currency of the income statement for the same period, and the currency is null where we hold no such statement. The limit counts periods.1 credit / call
Transcripts
Logos
Documents
Company
Directory
- GETsymbolsThe directory rows for many symbols in one call: name, exchange code, kind (stock, etf, fund or index), currency, country, whether it trades, and beta. Beta comes from up to five years of monthly returns. It is null where we hold none, as for every index. A symbol we do not list is absent from the array.1 credit / call
- GETexchangesEvery exchange in the directory: code, name, country, the suffix its symbols carry (N/A where none, empty where not given) and its quote delay.1 credit / call
- GETconstituentsThe current members of an index we track, by its ^ symbol: each member's symbol and the date it was first added, null where the list does not say. An index we do not track answers an empty list.1 credit / call