https://api.bitsighttech.com/ratings/v1/companies/company_guid/reports/company-preview
This provides a synopsis of how a company is performing when compared to its industry peers.
- It includes the company’s security rating on the first day of this quarter and the company’s security rating on the first day of the previous quarter.
- It also provides a comparison of the risk vectors by industry.
This report is currently available in JSON through the Bitsight API. To retrieve a Preview Report, the company must first be in your portfolio. You can subscribe to the company using the subscriptions endpoint.
Run the following GET request with the unique identifier (GUID) of the company for which you’d like to run the report and your API token:
Example GET (HTML) Request
curl https://api.bitsighttech.com/ratings/v1/companies/eed24cfa-c3ea-4467-aefa-89648881e277/reports/company-preview?format=html -u api_token:
Example GET (HTML) Response
Save the Hypertext Markup Language (HTML) text, including the style.
Example POST (JSON) Request
Run the following POST request with the unique identifier (GUID) of the company for which you’d like to run the report and your API token:
curl -H 'Content-Type: application/json' -X POST https://api.bitsighttech.com/ratings/v1/companies/eed24cfa-c3ea-4467-aefa-89648881e277/reports/company-preview -d '{"format": "json"}' -u api_token:
Example POST (JSON) Response
{ "company":{ "company_guid":"eed24cfa-c3ea-4467-aefa-89648881e277", "report_date":"July 9, 2019", "name":"Saperix Corporate", "url":"http://saperix.com/corporate", "industry":"Technology", "ratings":[ { "rating_date":"2019-07-01", "rating":720, "range":"Intermediate", "rating_color":"#e8a951", "industry_percentile":90 }, […] ], "rating_details":[ […] { "category":"Diligence", "name":"SPF", "industry_comparison":"Below Industry Average", "slug":"spf" } ] } }
Response Attributes
The name field is subject to change. If you are mapping the rating_detail
to another tool, please use the slug
instead of the name
key for mapping purposes.
Field | Description | ||
---|---|---|---|
companyObject |
Contains this organization’s report details. | ||
company_guidString [ entity_guid ] |
The unique identifier of this organization. | ||
report_dateString [ Month D, YYYY ] |
The date when the request to this endpoint was made. | ||
nameString |
The display name of this organization. | ||
urlString |
This organization’s website URL. | ||
industryString |
This organization’s industry. | ||
ratingsObject |
Returns two instances of ratings for comparison; one from the most recent quarter and one from the last quarter. | ||
rating_dateString [ YYYY‑MM‑DD ] |
The date from the first day of the quarter. | ||
ratingInteger |
This organization’s security rating during the posted date. | ||
rangeString |
The rating category. | ||
rating_colorString [ Hex Code ] |
The hexadecimal color code used for displaying the color associated with the rating category. | ||
industry_percentileInteger |
The percentile this organization is placed in, based on its rating within the industry. | ||
rating_detailsObject |
Contains this organization’s rating details. | ||
categoryString |
The risk category. | ||
nameString |
The display name of this risk vector. | ||
industry_comparisonString |
Compares this organization to its industry. Values: |
||
slugString |
A fixed reference to the risk vector, used for mapping purposes. |
Feedback
0 comments
Please sign in to leave a comment.