Skip to main content

Scrip VWAP

The Scrip VWAP (Volume Weighted Average Price) API allows you to retrieve intraday VWAP and related market statistics for a specific security (scrip) listed on an exchange. This API provides granular price and volume data over a user-specified time interval — typically 15, 30, or 60 minutes.

🛣️Path Parameters

ParameterTypeRequiredDescriptionExample/ENUM
tenantidstringYesUnique tenant identifier"T01"
exchangestringYesExchange Code where the scrip is listed"NSE_EQ"
tokenintegerYesToken number of the scrip from the exchange scrip master22
timePeriodintegerYesTime period in minutes for VWAP calculation (ENUM: 15,30,60)15

🔑Header Parameters

HeaderTypeDescriptionExample
AuthorizationstringBearer token for authenticationBearer{{access_token}}
x-api-keystringAPI key provided for access{{x-api-key}}

🟢Success Response - 200 Ok

FieldTypeDescriptionExample/ENUM
statusstringStatus of the API call"success"
codestringInternal response code"s-101"
messagestringDescriptive message"VWAP data fetched successfully"
dataarray of objectsList of VWAP entries over the time period[ { VWAP entry object } ]

📘 VWAP Data Object Fields

FieldTypeDescriptionExample/ENUM
nIdintegerUnique ID for the VWAP data point101
nSystemTimestringTimestamp for the data point (ISO 8601 format)"18/11 09:15 AM"
nTokenintegerToken number of the scrip22
nMarketSegmentIdintegerMarket segment identifier1
nOpenintegerOpening price during this time interval2500
nHighintegerHighest price in the interval2550
nLowintegerLowest price in the interval2490
nCloseintegerClosing price for this time interval2520
nTotalQtyTradedintegerTotal quantity traded during the interval150000
CumulativeVolumeintegerTotal cumulative traded volume till this interval300000
TypicalPriceintegerAverage price = (High + Low + Close) / 32520
TPVintegerTypical Price x Volume378000000
CumulativeTPVintegerCumulative TPV (across intervals)756000000
VWAPintegerVolume Weighted Average Price = CumulativeTPV / CumulativeVolume2520
get/nontransactional/{tenantid}/v1/getVWAPData/{exchange}/{token}/{timePeriod}