Use the Data Scoring API to score companies and deals with deterministic outputs.
Last updated: July 5, 2026
POST /v2/score endpoint and its interactive playground.Use POST /v2/score to score a company or deal and get a deterministic response with structured reasons.Scoring is idempotent for the same normalized input and algorithm version.Authorization: Bearer <api_key>object_type=company and object_type=dealdimensions, reasons, and explanationscore: integer from 0 to 100band: low, medium, good, or very_gooddimensions: weighted scoring dimensionsreasons: structured supporting reasonsexplanation: compact natural-language summaryalgorithm_version, input_hash, and output_hash for deterministic snapshotscurl -X POST "https://api.sanka.com/v2/score" \
-H "Authorization: Bearer <api_key>" \
-H "Content-Type: application/json" \
-d '{
"object_type": "company",
"record_id": "11111111-2222-3333-4444-555555555555"
}'
curl -X POST "https://api.sanka.com/v2/score" \
-H "Authorization: Bearer <api_key>" \
-H "Content-Type: application/json" \
-d '{
"object_type": "deal",
"record_id": "66666666-7777-8888-9999-000000000000"
}'
{
"data": {
"object_type": "deal",
"record_id": "<record_uuid>",
"snapshot_id": "<snapshot_uuid>",
"algorithm_key": "deal_score_v1",
"algorithm_version": "v1",
"input_hash": "<sha256>",
"output_hash": "<sha256>",
"score": 78,
"band": "good",
"dimensions": [],
"reasons": [],
"explanation": "Strong qualification hygiene with room to improve activity freshness."
},
"message": "ok",
"ctx_id": "<ctx_id>"
}