List companies
curl --request GET \
--url http://127.0.0.1:3003/v1/companies \
--header 'Authorization: Bearer <token>'import requests
url = "http://127.0.0.1:3003/v1/companies"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('http://127.0.0.1:3003/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_PORT => "3003",
CURLOPT_URL => "http://127.0.0.1:3003/v1/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 := "http://127.0.0.1:3003/v1/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("http://127.0.0.1:3003/v1/companies")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("http://127.0.0.1:3003/v1/companies")
http = Net::HTTP.new(url.host, url.port)
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"data": [
{
"cik": "0001045810",
"country": "US",
"description": "Designs and sells accelerated computing platforms.",
"displayName": "NVIDIA",
"exchange": "NASDAQ",
"id": "co_2af02ee9d4cc4f5a8e8d502d",
"industry": "Semiconductors",
"isin": "US67066G1040",
"legalName": "NVIDIA Corporation",
"logoSquareUrl": "https://cdn.example.com/logos/nvda.png",
"marketCapDollars": "2431093284000",
"sector": "Technology",
"ticker": "NVDA"
}
],
"filters": {
"country": "US",
"industry": "Semiconductors",
"limit": 25,
"query": "nvidia",
"sortBy": "ticker",
"sortDirection": "asc"
}
}
Companies
List Companies
Returns companies matching filter criteria. Results are sorted by ticker by default.
GET
/
v1
/
companies
List companies
curl --request GET \
--url http://127.0.0.1:3003/v1/companies \
--header 'Authorization: Bearer <token>'import requests
url = "http://127.0.0.1:3003/v1/companies"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('http://127.0.0.1:3003/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_PORT => "3003",
CURLOPT_URL => "http://127.0.0.1:3003/v1/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 := "http://127.0.0.1:3003/v1/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("http://127.0.0.1:3003/v1/companies")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("http://127.0.0.1:3003/v1/companies")
http = Net::HTTP.new(url.host, url.port)
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"data": [
{
"cik": "0001045810",
"country": "US",
"description": "Designs and sells accelerated computing platforms.",
"displayName": "NVIDIA",
"exchange": "NASDAQ",
"id": "co_2af02ee9d4cc4f5a8e8d502d",
"industry": "Semiconductors",
"isin": "US67066G1040",
"legalName": "NVIDIA Corporation",
"logoSquareUrl": "https://cdn.example.com/logos/nvda.png",
"marketCapDollars": "2431093284000",
"sector": "Technology",
"ticker": "NVDA"
}
],
"filters": {
"country": "US",
"industry": "Semiconductors",
"limit": 25,
"query": "nvidia",
"sortBy": "ticker",
"sortDirection": "asc"
}
}
Search and filter companies by ticker, name, exchange, sector, industry, and market cap ordering.
curl -sS "$MONETARY_API_BASE_URL/v1/companies?query=nvidia&limit=10" \
-H "Authorization: Bearer $MONETARY_API_TOKEN" \
-H "Accept: application/json"
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Query Parameters
Case-insensitive search across ticker, displayName, and legalName.
Case-insensitive exact ticker match.
Case-insensitive exact ISIN match.
Case-insensitive exchange filter.
Case-insensitive country code filter.
Case-insensitive sector filter.
Case-insensitive industry filter.
Sort key.
Available options:
ticker, marketCapDollars Sort direction.
Available options:
asc, desc Maximum records returned.
Required range:
1 <= x <= 500