07.07.2026

Analytics API: Screener, Metrics & Historical Valuation via REST

Autor: Leeway AI• 4 Min. Lesezeit

Merging raw data costs time. Anyone needing historical valuation metrics or screener results normally has to parse quarterly reports, adjust for stock splits, and match all of it against daily closing prices.

The Analytics API takes this work off your hands. It delivers pre-calculated, analysis-ready data across five specialized endpoints. One package, no data-engineering pipeline of your own required.

The 5 endpoints at a glance

Endpoint Function Request Units
Screener Filters 100,000+ stocks by fundamentals and signals. 10
Keyfigures Pre-computed time series for metrics per stock. 10
Market Cap & Valuation Daily market capitalization and historical multiples (P/E, P/B, P/S) going back up to 35 years. 2
Relative Move Sets today's price movement in relation to normal volatility. 1
Benchmark Compares a stock's performance directly against indices or ETFs. 1

Deep Dive: Screener & Keyfigures

The stock screener

The screener searches over 100,000 tickers across more than 70 exchanges. The filter logic works via a simple JSON array of [field, operator, value] triplets.

Example request for tech stocks with a P/E below 15: GET .../general/screener?filters=[["pe","<",15],["sector","=","Technology"]]

In addition to classic fundamentals, the screener supports pre-built signals:

  • 50d_new_lo / 50d_new_hi
  • 200d_new_lo / 200d_new_hi
  • bookvalue_neg / bookvalue_pos
  • wallstreet_lo / wallstreet_hi

Results can be paginated via sort, limit (max. 100), and offset.

Keyfigures (metrics)

This endpoint delivers no raw SEC filings, but pre-computed time series in the format { date, value }. The data is divided into five groups:

  1. Margins: ROE, EBIT margin, FCF yield
  2. Financials: leverage, liquidity
  3. Growth: revenue and earnings growth, 3-year CAGR
  4. Analysts: price potential, forward P/E, ratings (subject to availability)
  5. Statistics: short interest, insider/institutional ratios, share buybacks

Example call: GET .../fundamentals/keyfigures/SAP.XETRA

Relative Move & Benchmark

Relative Move A 3% price drop is normal noise for a highly volatile tech stock, and a massive outlier for a defensive utility. The Relative Move endpoint quantifies this via a simple formula: relativeMove = change_p / averageTrueRange_1Y

The result immediately shows whether today's movement is within the normal range or extreme. Ideal for automated alert systems. (Note: works only for stocks and fails if historical data for the ATR calculation is missing). GET .../live/relative-move/SAP.XETRA

Ready for Better Investment Decisions?

Start your free trial today - stock analysis with artificial intelligence.

Full Transparency | Full Access | Cancel anytime

Benchmark A single call delivers absolute returns (1 month to 5 years), highs/lows, as well as relative out- or underperformance against any indices or ETFs. GET .../historicalquotes/benchmark?symbol=SAP.XETRA&benchmark=ACWI.US,DAX.INDX

Use cases

  • Screening apps & watchlists: Build complex filters without keeping your own database of 100,000 stocks in sync.
  • Metric charts: Direct retrieval of time series for dashboards.
  • Historical valuation: The question "Has this stock ever been this cheap before?" can be answered immediately via the historical multiples.
  • Alert systems: Notifications on unusual price movements (Relative Move).
  • Portfolio tools: Direct performance comparison against benchmarks.

Pricing & limits

The Analytics API offers a daily limit of 100,000 Request Units.

  Standalone Add-on to the Data API
Monthly €49 €29
Annual (per month) €40.83 (€490/year) €24.17 (€290/year)

FAQ

What is the difference between the Analytics API and the Data API? The Data API delivers raw data (prices, master data, filings). The Analytics API builds on that to deliver pre-computed metrics, historical multiples, and screener functions.

How does filtering work in the screener? Via URL parameters as a JSON array. You pass triplets of field, operator, and value, e.g. [["marketcap",">",1000000000]].

Are the keyfigures raw balance sheet data? No. They are pre-computed, adjusted time series (e.g. margins, growth rates, ratios) that can be plotted or analyzed directly.

How far back does the history for the P/E reach? Up to 35 years, provided the historical price and fundamental data for the respective stock is available.

What does the Relative Move tell you? It divides the current percentage price movement by the average daily trading range (ATR) of the past year. A value > 1 or < -1 indicates an unusually strong movement.

Which benchmarks can I compare? Any ticker available via the Leeway API – whether an index (e.g. DAX.INDX), an ETF, or another individual stock.

How are the Request Units calculated? Screener and Keyfigures cost 10 units per call. Market Cap & Valuation costs 2 units. Relative Move and Benchmark cost 1 unit each.

Do I need the Data API to use the Analytics API? No, the Analytics API can be booked as a standalone package. Those who need raw data anyway can add it at a reduced rate as an add-on to the Data API.


Resources & documentation:

07.07.2026

Anyone who needs historical valuation metrics or screener results normally has to parse quarterly reports, adjust for stock splits, and match all of it against daily closing prices. The Analytics API takes that work off your hands. It delivers pre-calculated, analysis-ready data across five specialized endpoints. One package, no data-engineering pipeline of your own required.


07.07.2026

Leeway's new Forecast API delivers exactly this structure: revenue, earnings, cash flow, EPS, and multiples. Quarterly and annually, for twelve quarters and three years into the future, for over 50,000 stocks worldwide. A single REST call returns a clean JSON object ready for immediate further processing.


20.02.2026

Large language models hallucinate more often than you think when it comes to financial data. The problem is that they sound absolutely convincing. How to create AI-supported analyses at a professional level with the right architecture - without falling for expensive mistakes.


26.10.2025

ChatGPT, Claude, Perplexity - which AI is best suited for equity analysis? The answer: Each has its strengths, but none can do everything. We show which tool is really suitable for which purpose - and why a combination of specialized systems ultimately enables better decisions to be made.


10.03.2025

While the planned 500 billion investment offensive by the CDU, CSU and SPD promises economic impetus in the short term, Germany is in danger of sinking into a debt trap in the long term and missing out on structural reforms. Although the coalition compromise cleverly caters to different groups of voters, it postpones the really difficult decisions to the future - with potentially serious consequences for competitiveness, demographic development and financial stability.


© Leeway
PWP Leeway UG (haftungsbeschränkt)
Leeway Icon