Request
https://api.zapi.ink/v1/finance:investing/market-holidaysSend 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 |
|---|---|---|---|---|
| range | enum: yesterday | today | tomorrow | week | query | No | Which window to list. The upstream publishes exactly these four and ignores any explicit date. week is the current Sunday-to-Saturday week. Default week Example: week |
| country | string | query | No | Keep only holidays for this country. Accepts the three-letter code the upstream uses (JPN, USA, GBR, DEU, ZAF, ...) or the country name Example: JPN |
Code examples
curl -X GET "https://api.zapi.ink/v1/finance:investing/market-holidays?range=week&country=JPN" \ -H "x-api-key: zpi_xxxxxxxxxxxxxxxxxxxxxxxx"
const res = await fetch("https://api.zapi.ink/v1/finance:investing/market-holidays?range=week&country=JPN", { 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:investing/market-holidays", params={"range":"week","country":"JPN"}, headers={"x-api-key":"zpi_xxxxxxxxxxxxxxxxxxxxxxxx"}, ) print(res.json())
Example response
{ "project": "finance:investing", "data": { "count": 0, "items": [], "range": "week", "total": 2, "country": "JPN", "provider": "investing" }, "timestamp": "2026-06-14T07:37:04Z" }
Frequently asked questions
How do I call the Investing Market Holidays API?
Send a GET request to https://api.zapi.ink/v1/finance:investing/market-holidays with your Zapi key in the x-api-key header. Parameters — optional: range, country. The response is JSON in the { project, data, timestamp } envelope.
What does the Investing Market Holidays API return?
Which exchanges are shut on a given range, and which close early. The example response has the fields count, items, range, total, country, provider.
Is the Investing Market Holidays 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 Investing Market Holidays 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 "investing" and endpoint "market-holidays".
What other Investing API endpoints are there?
It has 15 endpoints. Besides Market Holidays: Search, Quote, Technical, Historical, News, Article, and 8 more.
