ActorStack.dev

Economic calendar API: actual, forecast and previous — and why forecast is usually empty

A macro calendar row has three numbers, and the one most people want is the one most often missing. Coverage measured on 2,423 events across 55+ countries, the 2,000-event request cap, importance levels and history back to 2015.

By Oswaldo Carabano8 min read

Short answer

An economic calendar API returns, per macro release, the time, country and indicator with three values: the actual once published, the consensus forecast, and the previous reading. On TradingView's public calendar, measured over 2,423 events from 55+ countries on 18 November 2026, the actual was filled on 94% of past events and the previous value on 84% of all of them, but the forecast on only 31% of past and 6% of future events, because consensus exists for the main indicators only. The calendar caps a request at 2,000 events, marks importance on three levels of which the top one held 3 of 135 US events in a week, and goes back to January 2015. The Economic Calendar & Earnings Calendar API reads it for $2 per 1,000 events, with a mode that charges only for changes.

Key points

  • The actual value was filled on 94% of past macro events and the forecast on 31%, in 2,423 TradingView calendar events measured on 18 November 2026.
  • Only 6% of future macro events carried a consensus forecast in the same 2,423-event sample, so most upcoming releases have nothing to compare the actual against.
  • TradingView's economic calendar returns at most 2,000 events per request, so a 366-day US window returned 2,000 of 4,260 events in one call.
  • TradingView marked 3 of 135 US events in a 7-day window as high importance on 18 November 2026, 48 as medium and 84 as low.
  • TradingView's economic calendar returned 400 US events for January 2015 and none for January 2005, so its history starts in 2015.
  • The economic-calendar.tradingview.com robots.txt disallows all paths except `/events`, which is the endpoint the calendar data comes from.
On this page7 sections

A macro calendar row carries three numbers. The one that moves markets is the gap between the first two, and on a public calendar the second is missing more often than not.

Three values per release

Actual is the figure the agency published. Forecast is the consensus forecast gathered before the release. Previous is the prior reading, sometimes revised. Around them sit the time, the country, the indicator, its unit and scale, the importance and — on TradingView — the source agency with its website and a short description of what the indicator measures.

TradingView's economic calendar publishes all of that without an account; it offers no API for it, as for the rest of its data (TradingView API explains what it offers instead). The Economic Calendar & Earnings Calendar API reads it and returns each release as a row, with each value both as displayed (1.5 with scale B) and in full units (1,500,000,000).

Why the forecast is usually empty

Measured over 2,423 events from 55+ countries in a 30-day window around 18 November 2026:

FieldFilled
Title, country, category, importance, time, period100%
Source agency96%
Actual, past events94%
Previous84%
Indicator description75%
Unit67%
Forecast, past events31%
Forecast, future events6%

TradingView publishes consensus forecasts for the main indicators only, and most of a global calendar is minor releases. So most rows have an actual and a previous and no forecast, and the surprise, which needs both actual and forecast, was computable on 13.3% of all events. The future column is lower still, at 6%; whether more of those events gain a forecast by release day was not measured.

The Actor delivers a missing forecast as null and never estimates one. The practical response is to filter by importance, which is where forecasts are.

Importance, and what high means

TradingView marks every event low, medium or high. In a 7-day US window measured on 18 November 2026, 135 events split 84 low, 48 medium and 3 high. “High” is therefore a short list, and setting minImportance to high reduces a week to a handful of rows. The Actor's README recommends it as the way to focus on releases with forecasts; the share of high-importance events carrying one was not measured separately.

input.json — this week's market-moving US and euro-area releases
{
  "outputType": "economic-events",
  "countries": ["US", "EU"],
  "minImportance": "high",
  "daysBack": 0,
  "daysAhead": 7
}

The 2,000-event cap

The calendar endpoint returns at most 2,000 events per request, and says nothing when it stops: a 180-day US window returned 2,000 of 2,422 events and a 366-day window 2,000 of 4,260. The whole world for 30 days was 2,101 events, so even one month needs two requests. The Actor splits any window into pieces under the cap and was tested without loss; a 60-day world calendar of 4,336 events took 360 seconds, at about 13 rows a second.

A cap that truncates without an error is the same pattern as Google Maps' result ceiling, described in the 200-result cap: the response looks complete, and the only signal is a count that is suspiciously round.

History and time zones

The calendar goes back to 2015: January 2015 returned 400 US events, January 2005 none. Fixed start and end dates can reach any range inside that, up to 366 days per run.

Every time is UTC in ISO 8601, and day windows start at 00:00 UTC. A US release at 08:30 New York time is 13:30 UTC in winter and 12:30 in summer, and an Asian release early in the local morning lands on the previous UTC date. Pinning the day boundary to UTC is what makes the same request return the same rows — the reasoning in the tennis UTC day boundary applies unchanged.

Reading only what changed

A calendar is most useful as a feed: what was released since this morning, which forecast moved. With onlyChanges on, each scheduled run compares against the snapshot the last run with the same filters saved, and delivers only events that are new or whose actual, forecast, previous, time or importance changed, with the fields that changed and their old values. Event ids were stable across reads, 135 of 135. On the platform test, the second macro run delivered no rows at all, plus one free row saying so.

Pricing is $0.002 per event delivered. A week of the global calendar was 428 events, about $0.86; a morning run in only-changes mode is usually tens of rows. The same Actor returns earnings, dividends and IPOs, covered in earnings calendar API.

robots.txt and the terms

The economic calendar host's robots.txt disallows every path except /events, which is the endpoint the calendar is read from, so that request is one the file allows. TradingView's Terms of Use are a separate document and restrict automated extraction outside its official interfaces; they are quoted in TradingView API. TradingView's MCP server also exposes indicator series to an AI client on a paid plan, for personal use only.

Frequently asked questions

How far back does the economic calendar go?
TradingView's economic calendar returned 400 US events for January 2015 and none for January 2005 when tested on 18 November 2026. The Economic Calendar & Earnings Calendar API accepts fixed start and end dates up to 366 days apart.
What is the difference between actual and actualRaw?
`actual` is the number as displayed, for example 1.5 with scale B, and `actualRaw` is the same figure in full units, 1,500,000,000. The scaled previous value matched the raw one on 1,756 of 1,757 events checked.
Can I get only the market-moving releases?
Set `minImportance` to high. In a 7-day US window measured on 18 November 2026 that kept 3 of 135 events, which are the releases most likely to carry a consensus forecast.

Sources

Every URL below was requested and returned a page on the date shown.

  1. Operator claimchecked 21 Nov 2026
    Economic Calendar & Earnings Calendar API — Actor README and input schemaActorStack / Apify Store
  2. Operator claimchecked 21 Nov 2026
    Economic Calendar — TradingViewTradingView
  3. Site declarationchecked 21 Nov 2026
    economic-calendar.tradingview.com/robots.txtTradingView
  4. Operator claimchecked 21 Nov 2026
    Terms of Use, Policies, and DisclaimersTradingView
  5. Platform docschecked 21 Nov 2026
    TradingView MCP Server — usage limits, clients and tools referenceTradingView
A laptop screen showing a plain text-mode terminal with a command prompt.
MarketsGuide

Earnings calendar API

What a public earnings calendar actually holds — EPS and revenue estimates, actuals and surprises — measured on TradingView's US and global calendars, why it is not a history, and how dividend and IPO calendars sit beside it.

8 min
A laptop screen showing a plain text-mode terminal with a command prompt.
MarketsGuide

TradingView API

TradingView has no public market data API. What it does offer — broker integration, charting libraries, webhooks and a paid MCP server — and what its public screener holds, measured, for anyone who needs the data in bulk.

11 min
A laptop screen showing a plain text-mode terminal with a command prompt.
MarketsGuide

Stocktwits API

Stocktwits stopped accepting new API registrations. Which of its public endpoints still answer without a key, the per-IP limit, what the bullish percentage is computed from, and what its terms and robots.txt say.

9 min