Docs / Money and business
Company logos API
Logos and details for companies listed on NSE and BSE.
Put a ticker in the URL and get the logo back as SVG or PNG. Every company listed on NSE, those listed only on BSE, and REITs and InvITs; a symbol that is not an Indian listing falls through to the brand, global stock and asset logo sets. A symbol can be a ticker (TCS), an exchange-qualified ticker (NSE:TCS, NSE_TCS), a Yahoo Finance symbol (TCS.NS, AAIL.BO), an ISIN, or the old ticker of a renamed company. A bare ticker prefers NSE. Delisted companies are kept and marked.
https://api.dharun.devNo key needed for most600 units a minute, 3000 with a free keyThis page as MarkdownLogo image for a listed company
GET/v1/logos/{symbol}
Returns the image itself, ready for an <img> tag. A listed company without a published logo gets an initials tile, marked with the X-Logo-Fallback: monogram header. An unknown symbol also gets the tile, with status 200, the headers X-Logo-Fallback: monogram and X-Logo-Known: false, and a one-day cache lifetime, so a logo added later shows up soon; fallback=none answers 404 instead. A symbol that is not an Indian listing is looked up in the brand, global stock and asset logo sets, in that order, and X-Logo-Set says which answered (india, brand, stock or asset). Unknown names are counted (the name only) so that their logos can be added. A 304 answer, or a PNG this server has already drawn, does not count against the rate limit.
The answer returns the image itself; errors are JSON as everywhere else.
| Parameter | Description |
|---|---|
symbolpath, required | Ticker, exchange-qualified ticker, Yahoo symbol, ISIN or earlier ticker. A .svg or .png suffix selects the format. |
formatquery | Image format. Default svg. One of: svg, png. |
sizequery | PNG width and height in pixels, 16 to 512. Default 128. |
fallbackquery | What an unknown symbol gets: monogram (the default, an initials tile) or none (404). One of: monogram, none. |
exchangequery | Force an exchange: nse or bse for the Indian listing, or a global exchange for the global stocks. One of: nse, bse, nasdaq, nyse, amex, lse, tse, hkex, xetr, fwb, euronext, tsx, asx, six. |
curl
curl -o picture.svg "https://api.dharun.dev/v1/logos/TCS?utm_medium=docs"HTML
<img src="https://api.dharun.dev/v1/logos/TCS?utm_medium=docs" alt="Logo image for a listed company">Try it here
Change the values and send the request from your browser. Needs JavaScript.
Result
Details of a listed company
GET/v1/companies/{symbol}
Name, sector, industry, ISIN, market capitalisation, index memberships and logo URLs. listed is false for a delisted company (with delistedOn, the date it was first missed); aliases holds earlier tickers; hasLogo is false when the logo URL serves an initials tile.
| Parameter | Description |
|---|---|
symbolpath, required | Ticker, exchange-qualified ticker, Yahoo symbol, ISIN or earlier ticker. |
exchangequery | Force an exchange. One of: nse, bse. |
curl
curl "https://api.dharun.dev/v1/companies/RELIANCE?utm_medium=docs"JavaScript
const response = await fetch("https://api.dharun.dev/v1/companies/RELIANCE?utm_medium=docs");
const body = await response.json();
if (!response.ok) throw new Error(body.error.message);
console.log(body.data);Python
import requests
response = requests.get("https://api.dharun.dev/v1/companies/RELIANCE?utm_medium=docs", timeout=10)
body = response.json()
if not response.ok:
raise RuntimeError(body["error"]["message"])
print(body["data"])Try it here
Change the values and send the request from your browser. Needs JavaScript.
Response, with lists and long text shortened
{
"data": {
"id": "NSE:RELIANCE",
"exchange": "NSE",
"ticker": "RELIANCE",
"company": "Reliance Industries Limited",
"sector": "Energy Minerals",
"industry": "Oil Refining/Marketing",
"oneLine": "Reliance Industries Limited operates in the Oil Refining/Marketing industry within the Energy Minerals sector.",
"isin": "INE002A01018",
"currency": "INR",
"marketCap": 15913588649778,
"isIndexConstituent": true,
"indexes": [
"Nifty 50",
"Nifty 500",
"Nifty Infrastructure"
],
"listed": true,
"delistedOn": null,
"aliases": [],
"hasLogo": true,
"logo": {
"png": "https://api.dharun.dev/v1/logos/NSE:RELIANCE?format=png&size=128",
"svg": "https://api.dharun.dev/v1/logos/NSE:RELIANCE"
},
"links": {
"self": "https://api.dharun.dev/v1/companies/NSE:RELIANCE"
}
},
"meta": {
"source": {
"name": "Indian listed company logos",
"url": "https://github.com/dharunashokkumar/api.dharun.dev",
"licence": "Logos are trademarks of the companies they identify",
"retrieved": "2026-10-15",
"attribution": "Company logos and trademarks belong to their respective owners."
}
}
}Search listed companies
GET/v1/companies
Searches ticker, earlier tickers, company name, sector, industry, ISIN and index names. Best match first. Delisted companies are left out unless delisted=true.
| Parameter | Description |
|---|---|
qquery | Search text. |
exchangequery | Limit to one exchange. One of: nse, bse. |
sectorquery | Exact sector name. |
indexquery | Index name, for example Nifty 50. |
delistedquery | Include delisted companies. Default false. One of: true, false. |
limitquery | Results per page, 1 to 100. |
offsetquery | Results to skip. |
curl
curl "https://api.dharun.dev/v1/companies?q=tata&limit=5&utm_medium=docs"JavaScript
const response = await fetch("https://api.dharun.dev/v1/companies?q=tata&limit=5&utm_medium=docs");
const body = await response.json();
if (!response.ok) throw new Error(body.error.message);
console.log(body.data);Python
import requests
response = requests.get("https://api.dharun.dev/v1/companies?q=tata&limit=5&utm_medium=docs", timeout=10)
body = response.json()
if not response.ok:
raise RuntimeError(body["error"]["message"])
print(body["data"])Try it here
Change the values and send the request from your browser. Needs JavaScript.
Response, with lists and long text shortened
{
"data": [
{
"id": "NSE:TATASTEEL",
"exchange": "NSE",
"ticker": "TATASTEEL",
"company": "Tata Steel Limited",
"sector": "Non-Energy Minerals",
"industry": "Steel",
"oneLine": "Tata Steel Limited operates in the Steel industry within the Non-Energy Minerals sector.",
"isin": "INE081A01020",
"currency": "INR",
"marketCap": 2175879705186.9998,
"isIndexConstituent": true,
"indexes": [
"Nifty 50",
"Nifty 500",
"Nifty Metal"
],
"listed": true,
"delistedOn": null,
"aliases": [],
"hasLogo": true,
"logo": {
"png": "https://api.dharun.dev/v1/logos/NSE:TATASTEEL?format=png&size=128",
"svg": "https://api.dharun.dev/v1/logos/NSE:TATASTEEL"
},
"links": {
"self": "https://api.dharun.dev/v1/companies/NSE:TATASTEEL"
}
},
{
"id": "NSE:TATACAP",
"exchange": "NSE",
"ticker": "TATACAP",
"company": "Tata Capital Ltd.",
"sector": "Finance",
"industry": "Finance/Rental/Leasing",
"oneLine": "Tata Capital Ltd. operates in the Finance/Rental/Leasing industry within the Finance sector.",
"isin": "INE976I01016",
"currency": "INR",
"marketCap": 1337664047572,
"isIndexConstituent": true,
"indexes": [
"Nifty 500",
"Nifty Next 50",
"Nifty 200"
],
"listed": true,
"delistedOn": null,
"aliases": [],
"hasLogo": true,
"logo": {
"png": "https://api.dharun.dev/v1/logos/NSE:TATACAP?format=png&size=128",
"svg": "https://api.dharun.dev/v1/logos/NSE:TATACAP"
},
"links": {
"self": "https://api.dharun.dev/v1/companies/NSE:TATACAP"
}
},
{
"id": "NSE:TATAPOWER",
"exchange": "NSE",
"ticker": "TATAPOWER",
"company": "Tata Power Company Limited",
"sector": "Utilities",
"industry": "Electric Utilities",
"oneLine": "Tata Power Company Limited operates in the Electric Utilities industry within the Utilities sector.",
"isin": "INE245A01021",
"currency": "INR",
"marketCap": 1126197480888,
"isIndexConstituent": true,
"indexes": [
"Nifty 500",
"Nifty Next 50",
"Nifty Infrastructure"
],
"listed": true,
"delistedOn": null,
"aliases": [],
"hasLogo": true,
"logo": {
"png": "https://api.dharun.dev/v1/logos/NSE:TATAPOWER?format=png&size=128",
"svg": "https://api.dharun.dev/v1/logos/NSE:TATAPOWER"
},
"links": {
"self": "https://api.dharun.dev/v1/companies/NSE:TATAPOWER"
}
}
],
"meta": {
"total": 17,
"limit": 5,
"offset": 0,
"source": {
"name": "Indian listed company logos",
"url": "https://github.com/dharunashokkumar/api.dharun.dev",
"licence": "Logos are trademarks of the companies they identify",
"retrieved": "2026-10-15",
"attribution": "Company logos and trademarks belong to their respective owners."
}
}
}Sectors and industries of listed companies
GET/v1/sectors
Every sector and industry of the NSE and BSE listed companies with how many companies each has; give sector to list its industries and largest companies.
| Parameter | Description |
|---|---|
sectorquery | One sector, as listed. |
curl
curl "https://api.dharun.dev/v1/sectors?utm_medium=docs"JavaScript
const response = await fetch("https://api.dharun.dev/v1/sectors?utm_medium=docs");
const body = await response.json();
if (!response.ok) throw new Error(body.error.message);
console.log(body.data);Python
import requests
response = requests.get("https://api.dharun.dev/v1/sectors?utm_medium=docs", timeout=10)
body = response.json()
if not response.ok:
raise RuntimeError(body["error"]["message"])
print(body["data"])Try it here
Change the values and send the request from your browser. Needs JavaScript.
Response, with lists and long text shortened
{
"data": [
{
"sector": "Process Industries",
"companies": 1003
},
{
"sector": "Finance",
"companies": 839
},
{
"sector": "Producer Manufacturing",
"companies": 747
}
],
"meta": {
"total": 21,
"source": {
"name": "Indian listed company logos",
"url": "https://github.com/dharunashokkumar/api.dharun.dev",
"licence": "Logos are trademarks of the companies they identify",
"retrieved": "2026-10-15",
"attribution": "Company logos and trademarks belong to their respective owners."
},
"note": "Listed companies on NSE and BSE (a company on both counts twice), by the sector and industry in the company list."
}
}Data source
Indian listed company logos. Retrieved 2026-10-15. Licence: Logos are trademarks of the companies they identify. Company logos and trademarks belong to their respective owners.
Guides
Using an AI assistant? Connect the MCP server and it can call this API by itself. Want every endpoint on one bench? Open the playground.