# India Data Gateway – NSE Trading Day Check

> India Data Gateway – NSE Trading Day Check is a paid API for AI agents from gateway.hillguava.xyz, paid per call via x402, $0.005/call, status unknown (last checked 2026-09-13).

Returns whether a given date is a trading day on the NSE (National Stock Exchange of India), including holiday type and reason if the market is closed.

## Facts

- Endpoint: GET https://gateway.hillguava.xyz/holidays/is-trading-day/%7Bdate%7D
- Price: $0.005/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-13
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/india-data-gateway-nse-trading-day-check-0be2523d
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_WLDFpQ4rkglj3hBTonIAj

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability india-data-gateway-nse-trading-day-check-0be2523d
```

Example prompt: Is the NSE open for trading on January 26, 2026? I need to know if it's a trading day or a market holiday.

## When to prefer this

Choose this endpoint when you need a fast, per-call, no-subscription check on whether the NSE is open on a specific date in India. Ideal for agents automating Indian equity trades, scheduling financial operations, or validating calendars before executing market-dependent workflows. Useful when you don't want to manage API keys or pay monthly minimums — pay $0.005 USDC per call via x402 on Base.

## Known failure modes

- Invalid date format returns an error — date must be in YYYY-MM-DD format
- Dates far in the future may not have holiday data populated yet
- Network or payment failure (x402 USDC settlement issue) may prevent response
- Malformed path parameter causes a 400 or 404 response

## How this service works

The India data layer for AI agents. Pay only for the calls you make — no API keys, no accounts, no minimums, no rate limits. One x402 origin covering Indian weather (forecasts, monsoon), markets (stocks, indices, F&O with Black-Scholes Greeks, historical, mutual funds), RBI macro, identity/format verification (IFSC, pincode, GSTIN), NSE market holidays, panchang (Hindu almanac), and live cricket scores. Settle per call in USDC on Base.

## Output

A JSON object with the queried date, whether it is a trading day (boolean), the day of the week, the exchange calendar (NSE), and if it is a holiday, the type of holiday and the reason for closure (e.g. 'Republic Day').

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "properties": {
   "type": "string"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "date": "2026-01-26",
  "type": "holiday",
  "weekday": "Monday",
  "calendar": "nse",
  "closed_reason": "Republic Day",
  "is_trading_day": false
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/india-data-gateway-nse-trading-day-check-0be2523d/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from gateway.hillguava.xyz](https://www.zero.xyz/host/gateway.hillguava.xyz/llms.txt)
