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:
- AI interpretation: A model analyzes the company and the current outlook.
- Live sources: Current information flows continuously into the assessment.
- 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:
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: