curl --request GET \
--url https://api.creditriskmonitor.com/v1/Business/PeerAnalysis \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.creditriskmonitor.com/v1/Business/PeerAnalysis"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.creditriskmonitor.com/v1/Business/PeerAnalysis', 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://api.creditriskmonitor.com/v1/Business/PeerAnalysis",
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://api.creditriskmonitor.com/v1/Business/PeerAnalysis"
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://api.creditriskmonitor.com/v1/Business/PeerAnalysis")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.creditriskmonitor.com/v1/Business/PeerAnalysis")
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{
"Success": true,
"Data": {
"PeerYear": 123,
"PeerQuarter": 123,
"SIC": "<string>",
"IndustryName": "<string>",
"PeerCount": 123,
"Ratios": [
{
"Ratio": "<string>",
"Value": 123,
"Max": 123,
"Min": 123,
"Median": 123,
"Count": 123,
"Rank": 123
}
]
},
"ErrorCode": "<string>"
}Benchmark Business Performance Against Peers
Analyzes business metrics against industry peers using customizable parameters including SIC codes, risk levels, and geographic filters.
curl --request GET \
--url https://api.creditriskmonitor.com/v1/Business/PeerAnalysis \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.creditriskmonitor.com/v1/Business/PeerAnalysis"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.creditriskmonitor.com/v1/Business/PeerAnalysis', 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://api.creditriskmonitor.com/v1/Business/PeerAnalysis",
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://api.creditriskmonitor.com/v1/Business/PeerAnalysis"
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://api.creditriskmonitor.com/v1/Business/PeerAnalysis")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.creditriskmonitor.com/v1/Business/PeerAnalysis")
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{
"Success": true,
"Data": {
"PeerYear": 123,
"PeerQuarter": 123,
"SIC": "<string>",
"IndustryName": "<string>",
"PeerCount": 123,
"Ratios": [
{
"Ratio": "<string>",
"Value": 123,
"Max": 123,
"Min": 123,
"Median": 123,
"Count": 123,
"Rank": 123
}
]
},
"ErrorCode": "<string>"
}SessionKey, then include it in the Authorization field for authentication.Authorizations
Query Parameters
Risk Level (NS - Non-Scored / FS - Non-FRISK Scored / H1 - Risk Level 1 / H2 - Risk Level 1 and 2 / H3 - Risk Level 1, 2 and 3 / H4 - Risk Level 1, 2, 3 and 4 / H5 - Risk Level 1, 2, 3, 4 and 5 / FS - FRISK Scored / FH - FRISK High Risk / FM - FRISK Medium Risk / FL - FRISK Low Risk / F1 - FRISK 1 (Highest Risk) / F2 - FRISK 2 / F3 - FRISK 3 / F4 - FRISK 4 / F5 - FRISK 5 / F6 - FRISK 7 / F8 - FRISK 8 / F9 - FRISK 9 / F10 - FRISK 10 (Lowest Risk))
Filter by DBT (S - Scored Customers / N - Non-Scored Customers / D - Delinquent / W - Slow / P - Prompt / 1 - (160+ days beyond terms) / 2 - (91 - 105 days beyond terms) / 3 - (76 - 90 days beyond terms) / 4 - (61 - 75 days beyond terms) / 5 - (46 - 60 days beyond terms) / 6 - (31 - 45 days beyond terms) / 7 - 2(1 - 30 days beyond terms) / 8 - (11 - 20 days beyond terms) / 9 - (0 - 10 days beyond terms) / 10 - (no past due balances for six periods))
Was this page helpful?