# India Financial Data API – Market Index Lookup

> India Financial Data API – Market Index Lookup 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-15).

Fetches real-time or latest value and percentage change for a named Indian market index (e.g. Nifty, Sensex) via a pay-per-call x402 USDC endpoint.

## Facts

- Endpoint: GET https://stockapi.hillguava.xyz/index/%7Bname%7D
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/india-financial-data-api-market-index-lookup-c31a71e6
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_qrgNr1pt-_BZb-bqB08dK

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-financial-data-api-market-index-lookup-c31a71e6
```

Example prompt: What's the current value and today's percentage change for the Nifty 50 index?

## When to prefer this

Use this endpoint when you need real-time or latest-day values for named Indian stock market indices (Nifty, Sensex, Bank Nifty, etc.) and want pay-per-call pricing in USDC with no account sign-up. Prefer this over broader financial data APIs when the query is specifically about Indian market indices and cost efficiency per call matters.

## Known failure modes

- Invalid or unsupported index name returns an error or empty response
- Payment not processed via x402/USDC results in 402 Payment Required
- Network timeout if upstream NSE/BSE data feed is delayed
- Malformed path parameter causes 404 or routing error

## How this service works

Pay-per-call India stock, F&O (with Black-Scholes Greeks), mutual fund, and RBI macro data. Powered by x402 — pay in USDC on Base, no account needed.

## Output

Returns a JSON object with the index name (e.g. 'nifty'), its current numeric value (e.g. 25234.85), and the day's percentage change (e.g. 0.42). Ideal for real-time India equity index monitoring.

## Request schema (JSON Schema)

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

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "index": "nifty",
  "value": 25234.85,
  "change_pct": 0.42
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/india-financial-data-api-market-index-lookup-c31a71e6/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)
