Skip to main content
GET
/
api
/
v1
/
comparisons
/
:id
Get Comparison
curl --request GET \
  --url https://api.example.com/api/v1/comparisons/:id
Returns the full comparison snapshot including contract data and results. Data is frozen at the time of save — no recalculation.

Path Parameters

id
integer
required
The comparison ID.

Response

Returns the full comparison object with contract_a, contract_b, and results as JSON strings.

Errors

StatusCause
404Comparison not found