Skip to main content

Get Competitors

API to retrieve the list of competitor companies for a company identified by its ISIN. The response contains an array of competitor profiles, each including the company's ISIN, a brief description, sector, and sector market capitalisation in INR and USD.

Path Parameters

NameRequiredTypeDescription
isintruestringInternational Securities Identification Number (ISIN) of the company. Example: INE002A01018.

Request

curl --location 'https://api.upstox.com/v2/fundamentals/INE002A01018/competitors' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer {your_access_token}'

For additional samples in various languages, please refer to the Sample code section on this page.

Responses

Response Body

{
"status": "success",
"data": [
{
"instrument_key": "NSE_EQ|INE242A01010",
"company_profile": "Indian Oil Corporation Limited is an India-based oil company. The Company's segments include Petroleum Products, Petrochemicals, Gas, and Other Business Activities. Its business interests span the entire hydrocarbon value-chain, ranging from refining, pipeline transportation and marketing to exploration and production of petrochemicals, natural gas and alternative energy.",
"sector": "Refineries",
"sector_market_cap_inr": {
"value": 204334.32,
"unit": "crore",
"formatted": "204,334.32 Cr"
},
"sector_market_cap_usd": {
"value": 22.7,
"unit": "billion",
"formatted": "$22.70B"
}
},
{
"instrument_key": "NSE_EQ|INE029A01011",
"company_profile": "Bharat Petroleum Corporation Limited is an India-based company, which is engaged in the refining of crude oil and marketing of petroleum products. Its segments include Downstream Petroleum and Exploration & Production of Hydrocarbons.",
"sector": "Refineries",
"sector_market_cap_inr": {
"value": 131391.64,
"unit": "crore",
"formatted": "131,391.64 Cr"
},
"sector_market_cap_usd": {
"value": 14.6,
"unit": "billion",
"formatted": "$14.60B"
}
}
]
}
NameTypeDescription
statusstringA string indicating the outcome of the request. Possible values: success, error.
dataarrayList of competitor company profiles.
data[].instrument_keystringInstrument key of the competitor in the format EXCHANGE\|ISIN, e.g., NSE_EQ\|INE242A01010.
data[].company_profilestringBrief description of the competitor company's business.
data[].sectorstringSector to which the competitor belongs.
data[].sector_market_cap_inrobjectMarket capitalisation of the competitor's sector in Indian Rupees.
data[].sector_market_cap_inr.valuenumberNumeric market cap value in Crore.
data[].sector_market_cap_inr.unitstringUnit of the value. Value: crore.
data[].sector_market_cap_inr.formattedstringHuman-readable formatted value, e.g., "131,391.64 Cr".
data[].sector_market_cap_usdobjectMarket capitalisation of the competitor's sector in US Dollars.
data[].sector_market_cap_usd.valuenumberNumeric market cap value in the specified unit.
data[].sector_market_cap_usd.unitstringUnit of the value. Possible values: billion, million.
data[].sector_market_cap_usd.formattedstringHuman-readable formatted value, e.g., "$14.60B".

Sample Code

import requests

url = 'https://api.upstox.com/v2/fundamentals/INE002A01018/competitors'
headers = {
'Accept': 'application/json',
'Authorization': 'Bearer {your_access_token}'
}

response = requests.get(url, headers=headers)
print(response.json())
Loading...