# India Stock Index Live Quote (Nifty / Sensex / Bank Nifty)

> India Stock Index Live Quote (Nifty / Sensex / Bank Nifty) is a paid API for AI agents from stockapi.hillguava.xyz, paid per call via x402, $0.01/call, status unknown (last checked 2026-09-13).

Returns the live index value for a named Indian stock market index such as Nifty 50, Sensex, or Bank Nifty.

## Facts

- Endpoint: GET https://stockapi.hillguava.xyz/index/:name
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-13
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/india-stock-index-live-quote-nifty-sensex-bank-nifty-9e626075
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_7VGiammiF55h8F7jYZ9J6

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-stock-index-live-quote-nifty-sensex-bank-nifty-9e626075
```

Example prompt: What's the live value of the Nifty 50 index right now?

## When to prefer this

Use this endpoint when you need a real-time snapshot of a major Indian equity index (Nifty 50, Sensex, or Bank Nifty) and do not need full OHLCV history or individual stock quotes. Prefer this over sibling stock-quote endpoints when the target is an index rather than a single equity ticker.

## Known failure modes

- Invalid index name returns an error (valid values: nifty, sensex, banknifty)
- Missing path parameter :name returns a 400 or 404 error
- Market closed or data feed unavailable may return stale or null value
- Network timeout from upstream data source
- Payment not processed (x402 payment required) returns 402

## How this service works

Live index value (Nifty 50, Sensex, Bank Nifty).

## Output

Returns the current (live) index level for the requested Indian market index — Nifty 50, Sensex, or Bank Nifty — including the index value and likely a timestamp or last-updated indicator.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET",
      "HEAD",
      "DELETE"
     ],
     "type": "string"
    },
    "pathParams": {
     "type": "object",
     "required": [
      "name"
     ],
     "properties": {
      "name": {
       "type": "string",
       "description": "Index name, e.g. nifty, sensex, banknifty"
      }
     }
    },
    "queryParams": {
     "type": "object",
     "properties": {}
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/india-stock-index-live-quote-nifty-sensex-bank-nifty-9e626075/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from stockapi.hillguava.xyz](https://www.zero.xyz/host/stockapi.hillguava.xyz/llms.txt)
