Sources › Finance › TradingView › Calendar History

TradingView Calendar History API
The same macro release feed as `calendar`, assembled across a long `from`/`to` window such as a full year. Each release has the indicator, country, period, importance and actual, forecast and previous values.
Request
https://api.zapi.ink/v1/finance:tradingview/calendar-historySend your key in the x-api-key header. The response is JSON in the { project, data, timestamp } envelope, and an identical request is served from cache for 1 hour.
Parameters
| Name | Type | In | Required | Description |
|---|---|---|---|---|
| countries | string | query | No | Comma-separated ISO country codes. Default ID Example: US |
| from | string | query | No | Window start, YYYY-MM-DD. Defaults to one year ago. History begins 2013-01-01 Example: 2016-01-01 |
| to | string | query | No | Window end, YYYY-MM-DD. Defaults to today Example: 2018-12-31 |
| importance | enum: all | high | medium | low | query | No | Keep only releases of this importance. Default all Example: high |
Code examples
curl -X GET "https://api.zapi.ink/v1/finance:tradingview/calendar-history?countries=US&from=2016-01-01&to=2018-12-31&importance=high" \ -H "x-api-key: zpi_xxxxxxxxxxxxxxxxxxxxxxxx"
const res = await fetch("https://api.zapi.ink/v1/finance:tradingview/calendar-history?countries=US&from=2016-01-01&to=2018-12-31&importance=high", { method: "GET", headers: { "x-api-key": "zpi_xxxxxxxxxxxxxxxxxxxxxxxx" }, }); const data = await res.json(); console.log(data);
import requests res = requests.get( "https://api.zapi.ink/v1/finance:tradingview/calendar-history", params={"countries":"US","from":"2016-01-01","to":"2018-12-31","importance":"high"}, headers={"x-api-key":"zpi_xxxxxxxxxxxxxxxxxxxxxxxx"}, ) print(res.json())
Example response
{ "project": "finance:tradingview", "data": { "to": "2026-08-20", "from": "2025-08-20", "count": 261, "items": [ { "id": "382876", "date": "2025-08-20T07:20:00.000Z", "unit": "%", "title": "Loan Growth YoY", "actual": 7.03, "period": "Jul", "source": "Central Bank", "ticker": "ECONOMICS:IDLG", "country": "ID", "category": "mny", "currency": "IDR", "previous": 7.77, "actualRaw": 7.03, "indicator": "Loan Growth", "sourceUrl": "https://www.bi.go.id", "importance": "low", "description": "In Indonesia, loan growth refers to year over year change in total value of outstanding credits of commercial banks.", "previousRaw": 7.77, "referenceDate": "2025-07-31T00:00:00Z" }, { "id": "382877", "date": "2025-08-20T07:30:00.000Z", "unit": "%", "title": "Deposit Facility Rate", "actual": 4.25, "period": "Aug", "source": "Central Bank", "ticker": "ECONOMICS:IDDIR", "country": "ID", "category": "mny", "currency": "IDR", "forecast": 4.5, "previous": 4.5, "actualRaw": 4.25, "indicator": "Deposit Interest Rate", "sourceUrl": "https://www.bi.go.id", "importance": "low", "description": "The Deposit Interest Rate is the average rate paid by commercial banks to individuals or corporations on deposits.", "forecastRaw": 4.5, "previousRaw": 4.5, "referenceDate": "2025-08-20T00:00:00Z" }, { "id": "382878", "date": "2025-08-20T07:30:00.000Z", "unit": "%", "title": "Lending Facility Rate", "actual": 5.75, "period": "Aug", "source": "Central Bank", "ticker": "ECONOMICS:IDLR", "country": "ID", "category": "mny", "currency": "IDR", "forecast": 6, "previous": 6, "actualRaw": 5.75, "indicator": "Lending Rate", "sourceUrl": "https://www.bi.go.id", "importance": "low", "description": "In Indonesia, lending rate refers to central bank lending facility rate.", "forecastRaw": 6, "previousRaw": 6, "referenceDate": "2025-08-20T00:00:00Z" }, { "id": "390986", "date": "2025-08-20T07:30:00.000Z", "unit": "%", "title": "Interest Rate Decision", "actual": 5, "source": "Central Bank", "ticker": "ECONOMICS:IDINTR", "country": "ID", "category": "mny", "currency": "IDR", "forecast": 5.25, "previous": 5.25, "actualRaw": 5, "indicator": "Interest Rate", "sourceUrl": "https://www.bi.go.id", "importance": "medium", "description": "In Indonesia the interest rate decisions are taken by The Central Bank of Republic of Indonesia. In April of 2016, policymakers announced the replacement of the official discount interest rate with new 7-day reverse repurchase rate in August 2016. This is the rate at which central banks lend or discount eligible paper for deposit money banks, typically shown on an end-of-period basis.", "forecastRaw": 5.25, "previousRaw": 5.25, "referenceDate": "2025-08-20T00:00:00Z" }, { "id": "382915", "date": "2025-08-21T03:00:00.000Z", "unit": "$", "scale": "B", "title": "Current Account", "actual": -3, "period": "Q2", "source": "Central Bank", "ticker": "ECONOMICS:IDCA", "country": "ID", "category": "trd", "currency": "IDR", "previous": -0.2, "actualRaw": -3000000000, "indicator": "Current Account", "sourceUrl": "https://www.bi.go.id", "importance": "low", "description": "Current Account is the sum of the balance of trade (exports minus imports of goods and services), net factor income (such as interest and dividends) and net transfer payments (such as foreign aid).", "previousRaw": -200000000, "referenceDate": "2025-06-30T00:00:00Z" }, { "id": "382916", "date": "2025-08-22T03:00:00.000Z", "unit": "%", "title": "M2 Money Supply YoY", "actual": 6.5, "period": "Jul", "source": "Central Bank", "ticker": "ECONOMICS:IDM2", "country": "ID", "category": "mny", "currency": "IDR", "previous": 6.4, "actualRaw": 6.5, "indicator": "Money Supply M2", "sourceUrl": "https://www.bi.go.id", "importance": "low", "description": "Indonesia Money Supply M2 includes M1 plus short-term time deposits in banks.", "previousRaw": 6.4, "referenceDate": "2025-07-31T00:00:00Z" } ], "dataset": "calendar-history", "hasMore": false, "coverage": { "actual": 232, "forecast": 89, "previous": 232 }, "nextFrom": null, "provider": "tradingview", "countries": [ "ID" ], "importance": "all" }, "timestamp": "2026-08-02T04:21:07Z" }
Frequently asked questions
How do I call the TradingView Calendar History API?
Send a GET request to https://api.zapi.ink/v1/finance:tradingview/calendar-history with your Zapi key in the x-api-key header. Parameters — optional: countries, from, to, importance. The response is JSON in the { project, data, timestamp } envelope.
What does the TradingView Calendar History API return?
The same macro release feed as `calendar`, assembled across a long `from`/`to` window such as a full year. The example response has the fields to, from, count, items, dataset, hasMore, coverage, nextFrom. Each item in items has fields such as id, date, unit, title, actual, period, source, ticker.
Is the TradingView Calendar History API free?
Yes. It is on the Zapi free tier: 600 Zap a month with one API key and no credit card. Each call costs 1 Zap. Paid plans raise the limits.
Can an AI assistant call the TradingView Calendar History API?
Yes. Add the Zapi MCP server (https://mcp.zapi.ink/mcp) to Claude, Cursor or another MCP client and ask in plain words; it calls run_scraper with scraper "tradingview" and endpoint "calendar-history".
What other TradingView API endpoints are there?
It has 12 endpoints. Besides Calendar History: Screener, Symbol, Markets, Chart, Technicals, Performance, and 5 more.