Endpoint
GET /businesses/{id}
Returns an HTML page with full details for a single business, including its most recent risk evaluation and factor breakdown (if one exists).
Path parameters
The unique integer ID of the business.
Response
Returns thebusiness_detail.html page. The template context includes the following fields.
Business fields
Unique identifier for the business.
Business name.
Industry category.
null if not set.Country name.
null if not set.UTC timestamp of when the business was created.
Evaluation fields
Present when at least one risk evaluation has been run for the business.Final computed risk score, between 0 and 100.
Risk classification:
low (below 25), medium (25–50), high (50–75), or critical (75 and above).UTC timestamp of when the evaluation was run.
Parsed JSON breakdown of score components.
Error responses
| Status | Description |
|---|---|
404 Not Found | No business exists with the given id. |
422 Unprocessable Entity | The id is not a valid integer. |
Example
This endpoint returns the most recent evaluation only. To retrieve the full history of evaluations for a business, use the risk history endpoint.