curl --request GET \
--url https://stockinsights-ai-main-95a26a0.zuplo.app/api/in/v0/companies \
--header 'Authorization: Bearer <token>'import requests
url = "https://stockinsights-ai-main-95a26a0.zuplo.app/api/in/v0/companies"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://stockinsights-ai-main-95a26a0.zuplo.app/api/in/v0/companies', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://stockinsights-ai-main-95a26a0.zuplo.app/api/in/v0/companies",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://stockinsights-ai-main-95a26a0.zuplo.app/api/in/v0/companies"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://stockinsights-ai-main-95a26a0.zuplo.app/api/in/v0/companies")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://stockinsights-ai-main-95a26a0.zuplo.app/api/in/v0/companies")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"status": "success",
"data": [
{
"id": "<string>",
"company_name": "<string>",
"ticker": "<string>",
"isin": "<string>",
"marketcap_category": "<string>",
"market_snapshot": {
"market_cap": {
"value": 123,
"unit": "INR_CRORE"
},
"prices": {
"currency": "INR",
"current": 123,
"high_52w": 123,
"low_52w": 123
},
"as_of": "2023-11-07T05:31:56Z"
},
"industry_info": {
"macro": "<string>",
"sector": "<string>",
"industry": "<string>",
"basic_industry": "<string>"
},
"exchange_info": [
{
"exchange": "BSE",
"scrip_code": "<string>",
"symbol": "<string>",
"url": "<string>"
}
],
"company_website": "<string>"
}
],
"meta": {
"total_count": 123,
"page": 123,
"limit": 123
}
}{
"errors": [
{
"status": "<string>",
"title": "<string>",
"message": "<string>"
}
]
}{
"errors": [
{
"status": "<string>",
"title": "<string>",
"message": "<string>"
}
]
}{
"errors": [
{
"status": "<string>",
"title": "<string>",
"message": "<string>"
}
]
}Companies List
Returns a paginated list of India-listed companies with identifiers (ISIN, BSE, NSE) and industry classification. Supports filtering by ticker, sector, industry, market-cap category, and company ID. Defaults to sort by company_name ascending.
curl --request GET \
--url https://stockinsights-ai-main-95a26a0.zuplo.app/api/in/v0/companies \
--header 'Authorization: Bearer <token>'import requests
url = "https://stockinsights-ai-main-95a26a0.zuplo.app/api/in/v0/companies"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://stockinsights-ai-main-95a26a0.zuplo.app/api/in/v0/companies', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://stockinsights-ai-main-95a26a0.zuplo.app/api/in/v0/companies",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://stockinsights-ai-main-95a26a0.zuplo.app/api/in/v0/companies"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://stockinsights-ai-main-95a26a0.zuplo.app/api/in/v0/companies")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://stockinsights-ai-main-95a26a0.zuplo.app/api/in/v0/companies")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"status": "success",
"data": [
{
"id": "<string>",
"company_name": "<string>",
"ticker": "<string>",
"isin": "<string>",
"marketcap_category": "<string>",
"market_snapshot": {
"market_cap": {
"value": 123,
"unit": "INR_CRORE"
},
"prices": {
"currency": "INR",
"current": 123,
"high_52w": 123,
"low_52w": 123
},
"as_of": "2023-11-07T05:31:56Z"
},
"industry_info": {
"macro": "<string>",
"sector": "<string>",
"industry": "<string>",
"basic_industry": "<string>"
},
"exchange_info": [
{
"exchange": "BSE",
"scrip_code": "<string>",
"symbol": "<string>",
"url": "<string>"
}
],
"company_website": "<string>"
}
],
"meta": {
"total_count": 123,
"page": 123,
"limit": 123
}
}{
"errors": [
{
"status": "<string>",
"title": "<string>",
"message": "<string>"
}
]
}{
"errors": [
{
"status": "<string>",
"title": "<string>",
"message": "<string>"
}
]
}{
"errors": [
{
"status": "<string>",
"title": "<string>",
"message": "<string>"
}
]
}Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Query Parameters
Comma-separated ticker values. Plain tickers (e.g. RELIANCE) match the generic stock ticker. Exchange-prefixed values route to the correct exchange: NSE:TCS / NSE.TCS match the NSE symbol; BSE:INFY / BSE.INFY match the BSE ticker/ID. Mixed values are supported, e.g. NSE:TCS,BSE:INFY,RELIANCE.
^(large|mid|small|micro|nano)(,(large|mid|small|micro|nano))*$Comma-separated sectors to filter by (based on Industry Classification). Check valid values in Company Details.
^((company_name|marketcap_category):(asc|desc))(,((company_name|marketcap_category):(asc|desc)))*$Comma-separated industries to filter by (based on Industry Classification). Check valid values in Company Details.
Comma-separated internal company IDs to filter by.
Comma-separated lowercase market-cap category keys. Client-supported inputs are large, mid, small, micro, and nano. Current India data returns categories such as large, mid, small, and micro.
Sort specification as key:order pairs, comma-separated. Supported keys: company_name, marketcap_category. Supported orders: asc, desc. Example: company_name:asc or marketcap_category:desc,company_name:asc.
Page number for pagination. Defaults to 1.
x >= 1Number of results per page. Defaults to 10000 (returns all companies).
x >= 1