For developers
Two MIT-licensed Python packages, a REST API, and an MCP server for agent workflows.
No account needed for the packages. They work offline.
Open source
Open-source Python calendars for Indian exchange sessions, Lithuanian business days and European settlement workflows. Each package provides documented interfaces, tests and published limitations.
NSE, BSE, MCX and CDS. Trading days, holiday schedules, settlement dates and Muhurat sessions.
pip install aion-indian-market-calendar
Source code → · Report an issue · Contribute · Install from PyPI · Why pandas_market_calendars fails for India →
Lithuania business days and statutory observances, bilingual.
pip install aion-lithuanian-market-calendar
Source code → · Report an issue · Contribute · Install from PyPI
APIs
Hosted endpoints with keys, quotas and published rate limits.
Macro event classification and 32-sector impact model. One event in, structured sector impact out.
Per-contract tradability for NIFTY, BANKNIFTY and SENSEX options. Commodities coming soon.
Agent workflows
Source code on GitHub · API credentials and plans
Model Context Protocol server, so an agent can call AION intelligence as a tool rather than scraping a page.
Reference
Getting started
Install the calendar, then make one call to the hosted API.
# 1. the open-source calendar needs no account
pip install aion-indian-market-calendar
# 2. check whether NSE equity is trading right now, and when it next trades
from aion_indian_market_calendar import is_market_open, next_trading_day
print(is_market_open("NSE"))
print(next_trading_day("NSE"))
One endpoint: POST https://api.aionanalytics.in/v1/analyze. Send your key in
the X-API-Key header and the headline in a JSON body as headline.
# cURL
curl -X POST "https://api.aionanalytics.in/v1/analyze" \
-H "Content-Type: application/json" \
-H "X-API-Key: $AION_API_KEY" \
-d '{"headline": "RBI hikes repo rate by 25 bps"}'
# Python
import os
import requests
response = requests.post(
"https://api.aionanalytics.in/v1/analyze",
headers={"X-API-Key": os.environ["AION_API_KEY"]},
json={"headline": "RBI hikes repo rate by 25 bps"},
timeout=30,
)
response.raise_for_status()
result = response.json()
print(result["confidence"], result["top_negative_sectors"])
Hosted API keys are issued with a plan. Indian Market Intelligence has a free plan, 10 requests per month with no card (a verified email and a passkey are required), and paid plans: Builder, ₹999 a month, or Professional, ₹4,999 a month. Choose one at /subscribe/indian-market-intelligence or see /apis.
Referral code. Registration at /access/register is a separate path. It requires a referral code and is for approved dashboard and local-agent testers; it is not how hosted API keys are issued. Referral codes are not published. To ask about tester access, write to [email protected].
Request and response fields, quotas and error codes are in api-reference.txt.