07.07.2026

Financial Forecast API: Structured Revenue, Cash Flow, and EPS Projections for Over 50,000 Stocks

Autor: Leeway AI• 5 Min. Lesezeit

Anyone who wants to process financial forecasts programmatically needs reliable time series. An isolated EPS estimate is enough neither for a valuation model nor for a screener or an AI agent.

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 that can be processed directly.

Methodology

We look at patterns in quarterly and annual forecasts – revenue, net income, EPS, and the like – to see where the numbers are heading. It is a calculation of what has already been set in motion.

The process runs in three layers:

  1. AI interpretation: A model analyzes the company and the current outlook.
  2. Live sources: Current information flows continuously into the assessment.
  3. Algorithmic consistency check: A rule layer ensures that the metrics fit together mathematically.

Structure of the API response

The response is organized into the top-level objects quarterly and yearly. Both contain arrays of the respective metrics as date-value pairs. All derived figures reside in the ratios object of the respective period.

  • Statement level: Revenue (revenue), net income (netIncome), EBIT, EBITDA, free cash flow, operating cash flow, equity (stockholderEquity).
  • Ratios: EPS, book value per share (BVPS), revenue per share, cash flow per share, P/E, P/S, P/B, P/C.

Live example: SAP (testable without a token)

For a quick test, SAP.XETRA can be queried without an API token:

Copy
curl "https://api.leeway.tech/api/v1/public/fundamentals/forecast/SAP.XETRA"

The JSON schema stays identical for all 50,000 stocks, whether a DAX corporation or a smaller-cap name like Hornbach (GET .../forecast/HNR1.XETRA?apitoken=YOUR_TOKEN). Here is an excerpt of the structure:

Ready for Better Investment Decisions?

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

Full Transparency | Full Access | Cancel anytime

 
{
   "quarterly":{
      "netIncome":[
         {
            "date":"2026-06-30",
            "value":1649841847.57
         },
         {
            "date":"2026-09-30",
            "value":2464060828.51
         }
      ],
      "revenue":[
         {
            "date":"2026-06-30",
            "value":9562571931.87
         },
         {
            "date":"2026-09-30",
            "value":9728441502.38
         }
      ],
      "ratios":{
         "eps":[
            {
               "date":"2026-06-30",
               "value":6.3
            },
            {
               "date":"2026-09-30",
               "value":6.83
            }
         ],
         "pe":[
            {
               "date":"2026-06-30",
               "value":22.84
            },
            {
               "date":"2026-09-30",
               "value":21.07
            }
         ]
      }
   },
   "yearly":{
      "revenue":[
         {
            "date":"2026-12-31",
            "value":40118077333
         },
         {
            "date":"2027-12-31",
            "value":43735329589
         },
         {
            "date":"2028-12-31",
            "value":47678731920
         }
      ],
      "ratios":{
         "eps":[
            {
               "date":"2026-12-31",
               "value":7.24
            },
            {
               "date":"2027-12-31",
               "value":8.45
            },
            {
               "date":"2028-12-31",
               "value":9.88
            }
         ]
      }
   }
}

Use cases

  • DCF & valuation models: Load future cash flows and revenues directly into scripts, without building your own forecasting logic.
  • Screeners: Filtering by forward P/E or P/S.
  • AI agents & RAG: Structured JSON time series as context for LLMs, to answer questions about business development precisely.
  • Fintech dashboards: Feed charts with a single backend call.

Pricing & limits

The daily limit is 100,000 request units. One call against the forecast endpoint costs 10 units.

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

FAQ

How are the forecasts produced? Through a three-layer process: AI-assisted interpretation, integration of live sources, and an algorithmic consistency check across all metrics.

Which metrics and which time horizon are covered? 12 quarters and 3 fiscal years for revenue, net income, EBIT, EBITDA, free cash flow, operating cash flow, and equity. Plus the ratios: EPS, BVPS, revenue/cash flow per share, as well as P/E, P/S, P/B, and P/C.

What is the difference between quarterly and yearly? The API returns two separate top-level objects with identical structure. Quarterly values do not have to be aggregated into annual values yourself.

How reliable are the forecasts? Forecasts are model-based estimates for informational purposes and do not constitute investment advice. Actual results may differ significantly.

How do I retrieve the data for other stocks? After free registration for an API token: GET https://api.leeway.tech/api/v1/public/fundamentals/forecast/SYMBOL.EXCHANGE?apitoken=YOUR_TOKEN


Forecasts are model-based estimates for informational purposes, not investment advice. Actual results may differ.

Further links:

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