Look up a company profile by ticker, domain, qid, CIK, or name.
curl --request GET \
--url https://dripstack.com/api/v1/companiesimport requests
url = "https://dripstack.com/api/v1/companies"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://dripstack.com/api/v1/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://dripstack.com/api/v1/companies",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$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://dripstack.com/api/v1/companies"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://dripstack.com/api/v1/companies")
.asString();require 'uri'
require 'net/http'
url = URI("https://dripstack.com/api/v1/companies")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body{
"query": {
"ticker": "NVDA",
"domain": null,
"qid": null,
"cik": null,
"name": null
},
"count": 1,
"items": [
{
"id": "Q182477",
"name": "NVIDIA",
"description": "American technology company",
"identifiers": {
"ticker": "NVDA",
"domain": "nvidia.com",
"cik": "0001045810",
"qid": "Q182477"
}
}
]
}{
"error": "<string>",
"code": "<string>",
"hint": "<string>",
"issues": {}
}{
"error": "<string>",
"code": "<string>",
"hint": "<string>",
"reason": "<string>"
}Companies
Look up a company profile by ticker, domain, qid, CIK, or name.
Identity lookup for a company (who is NVDA / nvidia.com?), not article search. Use /api/v1/entities/search after you have a ticker to find articles that mention it. At least one of ticker, domain, qid, cik, or name is required. When more than one is given, lookup uses qid, then ticker, then domain, then cik, then name to find candidates; the remaining identifiers must also match (AND). Empty matches return 200 with items: []. Unexpected lookup failures return 500.
GET
/
api
/
v1
/
companies
Look up a company profile by ticker, domain, qid, CIK, or name.
curl --request GET \
--url https://dripstack.com/api/v1/companiesimport requests
url = "https://dripstack.com/api/v1/companies"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://dripstack.com/api/v1/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://dripstack.com/api/v1/companies",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$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://dripstack.com/api/v1/companies"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://dripstack.com/api/v1/companies")
.asString();require 'uri'
require 'net/http'
url = URI("https://dripstack.com/api/v1/companies")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body{
"query": {
"ticker": "NVDA",
"domain": null,
"qid": null,
"cik": null,
"name": null
},
"count": 1,
"items": [
{
"id": "Q182477",
"name": "NVIDIA",
"description": "American technology company",
"identifiers": {
"ticker": "NVDA",
"domain": "nvidia.com",
"cik": "0001045810",
"qid": "Q182477"
}
}
]
}{
"error": "<string>",
"code": "<string>",
"hint": "<string>",
"issues": {}
}{
"error": "<string>",
"code": "<string>",
"hint": "<string>",
"reason": "<string>"
}Query Parameters
Stock ticker, 1-8 characters (letters, numbers, . or -).
Required string length:
1 - 8Pattern:
^[A-Za-z0-9.-]+$Official website host, e.g. nvidia.com.
Company id, e.g. Q182477.
Pattern:
^Q[0-9]+$SEC CIK, 1-10 digits.
Company name label search when no other identifier is known.
Minimum string length:
2Maximum number of profiles returned (1-10).
Required range:
1 <= x <= 10
