Sources › Finance › TradingView › Economic calendar

TradingView Economic calendar API
Macro releases with actual, forecast and previous values.
Request
https://api.zapi.ink/v1/finance:tradingview/calendarSend 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 5 minutes.
Parameters
| Name | Type | In | Required | Description |
|---|---|---|---|---|
| countries | string | query | No | Comma-separated ISO country codes. Default ID Example: ID,US |
| from | string | query | No | Window start, YYYY-MM-DD. Defaults to today Example: 2026-08-01 |
| to | string | query | No | Window end, YYYY-MM-DD. Defaults to 7 days after the start Example: 2026-08-08 |
| importance | enum: all | high | medium | low | query | No | Minimum release importance. Default all Example: all |
Code examples
curl -X GET "https://api.zapi.ink/v1/finance:tradingview/calendar?countries=ID%2CUS&from=2026-08-01&to=2026-08-08&importance=all" \ -H "x-api-key: zpi_xxxxxxxxxxxxxxxxxxxxxxxx"
const res = await fetch("https://api.zapi.ink/v1/finance:tradingview/calendar?countries=ID%2CUS&from=2026-08-01&to=2026-08-08&importance=all", { 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", params={"countries":"ID,US","from":"2026-08-01","to":"2026-08-08","importance":"all"}, headers={"x-api-key":"zpi_xxxxxxxxxxxxxxxxxxxxxxxx"}, ) print(res.json())
Example response
{ "project": "finance:tradingview", "data": { "to": "2026-08-09", "from": "2026-08-02", "count": 94, "items": [ { "id": "396409", "date": "2026-08-03T00:30:00.000Z", "title": "S&P Global Manufacturing PMI", "period": "Jul", "source": "S&P Global", "country": "ID", "currency": "IDR", "previous": 46.9, "indicator": "Manufacturing PMI", "importance": "low", "description": "The S&P Global Indonesia Manufacturing Purchasing Managers’ Index measures the performance of the manufacturing sector and is derived from a survey of 400 manufacturing companies…" }, { "id": "403951", "date": "2026-08-03T04:00:00.000Z", "unit": "%", "title": "Exports YoY", "period": "Jun", "source": "Statistics Indonesia", "country": "ID", "currency": "IDR", "forecast": 0.25, "previous": -5.73, "indicator": "Exports YoY", "importance": "low", "description": "Exports have been an engine of economic growth in Indonesia. However, after reaching a peak in 2012, it have been in a steady decline due to lower commodity prices and dwindling gl…" }, { "id": "404148", "date": "2026-08-03T04:00:00.000Z", "unit": "%", "title": "Inflation Rate MoM", "period": "Jul", "source": "Statistics Indonesia", "country": "ID", "currency": "IDR", "forecast": 0.1, "previous": 0.44, "indicator": "Inflation Rate Mom", "importance": "low", "description": "In Indonesia, the consumer price index (CPI) is a measure of change over a specified period of time in the general level of prices of goods and services that a given population acq…" } ], "provider": "tradingview", "countries": [ "ID", "US" ] }, "timestamp": "2026-08-02T04:21:07Z" }
Frequently asked questions
How do I call the TradingView Economic calendar API?
Send a GET request to https://api.zapi.ink/v1/finance:tradingview/calendar 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 Economic calendar API return?
Macro releases with actual, forecast and previous values. The example response has the fields to, from, count, items, provider, countries. Each item in items has fields such as id, date, title, period, source, country, currency, previous.
Is the TradingView Economic calendar 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 Economic calendar 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".
What other TradingView API endpoints are there?
It has 12 endpoints. Besides Economic calendar: Screener, Symbol, Markets, Chart, Technicals, Performance, and 5 more.