https://api.bitsighttech.com/ratings/v1/fast-ratings
Use Rapid Underwriting Assessments to quickly get rating details for any mapped or unmapped company within 1 minute.
This is a pay-per-use service. You are charged for each request, including duplicate requests done on multiple days.
Parameters
*Required.
Parameter | Description | Values |
---|---|---|
industry[Query] |
Compare the average security rating and risk vector letter grades of a particular industry or sub-industry. The return is based on the industry, rather than the sub-industry. If two sub-industries belong to the same industry, they will result in the same response. |
[String] Industry name. See industries in GET: Portfolio Summary. |
generate_report[Query] |
Get the Amazon Simple Storage Service (S3) link to download a PDF of the report. |
[String] The request must also include the |
url * [Query] |
The domain of the company to query. |
[String] Example:
|
Example Request
cURL:
$ curl -H "Content-Type: application/json" -X POST -i https://api.bitsighttech.com/ratings/v1/fast-ratings -u api_token: -d '{"url": "www.example.com", "generate_report":"boolean", "industry": "industry_name"}'
JSON:
{ "url":"www.example.com", "generate_report":"boolean", "industry":"industry_name" }
Response Attributes
Field | Description | ||
---|---|---|---|
pdf_urlString |
If the generate_report parameter is set to true , this Amazon Simple Storage Service (S3) PDF link is included in the response. |
||
statusString |
The results of the request. See result codes and result statuses. | ||
status_messageString |
A description of the status type. | ||
ratingsArray |
The list of daily ratings for the past year (1 year). Each date has its own entry in the array, starting with the most recent entry. | ||
rating_dateString [ YYYY‑MM‑DD ] |
The date on which the rating was generated. | ||
ratingInteger |
The security rating for the company, generated on that day. | ||
rangeString |
Indicates the rating category for the rating for that day. | ||
rating_colorString |
The hex code used for displaying the color associated with the rating category. | ||
rating_detailsObject |
Contains information about the company's risk vector grades and extra information for use in HTML applications. | ||
risk_vector_nameObject |
Each risk vector is a single object, identified by a named slug field that corresponds to the risk vector. See risk types. | ||
categoryString |
The category of the risk vector. See risk types. | ||
ratingInteger |
The Bitsight Security Rating of the company, generated on that day. | ||
betaBoolean |
true = The risk vector is in beta and does not currently affect the company's security rating. |
||
nameString |
The full name of the risk vector. | ||
gradeString |
The letter grade for the risk vector. Learn more about how security ratings are calculated. | ||
category_orderInteger |
Used for visual sorting. | ||
orderInteger |
Used for visual sorting. | ||
grade_colorString |
The hex code used for displaying the color of the rating in HTML applications. | ||
quota_detailsObject |
Information on used, available, and remaining licenses. | ||
quota_purchasedInteger |
The number of purchased requests for this endpoint since the contract started. | ||
quota_usedInteger |
The total allocated licenses since the contract started. | ||
quota_availableInteger |
The number of the remaining available licenses. |
Result Codes
Result Messages | Description |
---|---|
invalid_url |
An invalid/incomplete URL or domain or no URL was supplied in the “url” field for a company, like “ww.website.c” or “asbdffdf.” |
in_inventory |
Already mapped. Multiple companies share the supplied URL/domain. |
Result Statuses
See the common errors and status codes.
Response Code | Description |
---|---|
200 – Okay |
The request was successful. |
202 – Accepted |
The request has been submitted, but has not yet been processed. |
400 – Bad Request |
The request contained an invalid input:
|
401 – Unauthorized |
The authorization header didn't contain a valid API token. |
403 – Large Request |
The company is too large to process. |
404 – Not Found |
No events were found for the provided URL. Either the URL is incorrect or you don’t have permission to access the requested resource. |
429 – Too Many Requests |
There have been too many consecutive requests. Please try again later. |
503 – Service Unavailable |
Returned in the rare case that an exception is thrown by the system. An email is also sent to support if this happens. |
- July 10, 2023: Removed PDF.
- December 10, 2020: Use “GET: Portfolio Summary” (
/v2/portfolio/summaries
) to get industry information.
Feedback
0 comments
Please sign in to leave a comment.