/v1/indices
Live value of every NSE index
Live testen
10 freie Calls pro Tag — keine Anmeldung, kein API-Key. Geht durchs oanor-Gateway.
Funktioniert. Hol dir einen API-Key und nutze sie in deinem Projekt.
API-Key holenCode-Snippets
curl "https://api.oanor.com/nseindia-api/v1/indices" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/nseindia-api/v1/indices", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/nseindia-api/v1/indices");
curl_setopt($ch, CURLOPT_HTTPHEADER, ["x-oanor-key: oanor_test_..."]);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
$out = curl_exec($ch);
import requests
requests.get(
"https://api.oanor.com/nseindia-api/v1/indices",
headers={"x-oanor-key": "oanor_test_..."}
)
Beispiel-Response
Echte Antwort dieses Endpoints, erfasst beim letzten Health-Check.
{
"data": {
"note": "The live value of every NSE index — NIFTY 50, BANK NIFTY, NIFTY NEXT 50 and the rest — each with last, open, high, low, previous close, day change and 52-week high/low. The headline pulse of the Indian equity market.",
"count": 139,
"source": "NSE India",
"indices": [
{
"low": 23313.9,
"high": 23645.35,
"last": 23622.9,
"open": 23412.55,
"index": "NIFTY 50",
"symbol": "NIFTY 50",
"year_low": 22182.55,
"variation": 461.3,
"year_high": 26373.2,
"percent_change": 1.99,
"previous_close": 23161.6
},
{
"low": 68947.4,
"high": 70080.95,
"last": 70007.2,
"open": 69318.2,
"index": "NIFTY NEXT 50",
"symbol": "NIFTY NEXT 50",
"year_low": 59896.1,
"variation": 1628.45,
"year_high": 72442.15,
"percent_change": 2.38,
"previous_close": 68378.75
},
{
"low": 55726.55,
"high": 56867.1,
"last": 56814.8,
"open": 55934.1,
"index": "NIFTY BANK",
"symbol": "NIFTY BANK",
"year_low": 49954.85,
"variation": 1638.05,
"year_high": 61764.85,
"percent_change": 2.97,
"previous_close": 55176.75
},
{
"low": 25401.05,
"high": 25962.05,
"last": 25943.35,
"open": 25489.25,
"index": "NIFTY FINANCIAL SERVICES",
"symbol": "NIFTY FIN SERVICE",
"year_low": 23373.95,
"variation": 791.35,
"year_high": 28562.5,
"percent_change": 3.15,
"previous_close": 25152
},
{
"low": 13981.8,
"high": 14259.4,
"last": 14245.6,
"open": 14058.6,
"index": "NIFTY MIDCAP SELECT",
"symbol": "NIFTY MID SELECT",
"year_low": 12046.2,
"variation": 379.05,
"year_high": 14770.5,
"percent_change": 2.73,
"previous_close": 13866.55
},
{
"low": 24271.7,
"high": 24625.5,
"last": 24602.25,
"open": 24378.9,
"index": "NIFTY 100",
"symbol": "NIFTY 100",
"year_low": 22720.45,
"variation": 497.55,
"year_high": 26975.15,
"percent_change": 2.06,
"previous_close": 24104.7
},
{
…