Skip to main content

Watchlist By ID

This API fetches a specific Watchlist using its unique Watchlist ID.

🛣️Path Parameters

ParameterTypeRequiredDescriptionExample/ENUM
watchlistIdstringYesUnique ID of the Watchlist (from id field in the list response)eb4198ce-3964-4413-87ec-6581d5716f56

🔑Header Parameters

HeaderTypeRequiredDescriptionExample/ENUM
AuthorizationstringYesBearer token for user authenticationBearer{{access_token}}
x-api-keystringYesAPI key for access control{{x-api-key}}

🟢Success Response - 200 Ok

FieldTypeDescriptionExample/ENUM
statusstringStatus of the API call"success"
codestringResponse code"s-101"
messagestringDescriptive success message"Watchlist Fetched successfully"
dataarray of objectList of Watchlist objectsSee details below

🧭 Watchlist Object Structure

FieldTypeDescriptionExample/ENUM
idstringUnique Watchlist ID"32b95c61-370-b215-bb8857f9c949"
sWatchListNamestringName of the Watchlist"My Watchlist"
bIsPrivatebooleanIf true, watchlist is privatetrue
bIsDefaultbooleanIf true, this is the default watchlistfalse
sUserIdstringUser ID of the watchlist creator"user123"
sTenantIdstringTenant/Broker ID"1256878"
sSettingsstringReserved for future (must be valid JSON string)"{\"subCount\":13}"
scripsarrayList of scrips within the watchlistSee details below
_versionnumberVersion number of the watchlist1
_deletedbooleanFlag to indicate if deletedfalse
_lastChangedAtnumberEpoch timestamp of last change1718008123
createdAtstringISO date-time of watchlist creation"2025-06-01T12:00:00Z"
updatedAtstringISO date-time of last update"2025-06-10T09:45:00Z"

📑 Scrip Object Strucutre

FieldTypeDescriptionExample/ENUM
nMarketSegmentIdnumberExchange segment ID1
nTokennumberUnique token/ID of the instrument123456
nSequenceNonumberPosition/ordering of the scrip in the Watchlist2
sSettingsstringReserved field (JSON string, optional use)""
get/nontransactional/v1/watchListByUser/{watchlistId}