Skip to main content
GET
/
risk
/
score
Get risk score
curl --request GET \
  --url https://api.solarsentra.io/v1/risk/score \
  --header 'Authorization: Bearer <token>'
{
  "walletId": "wlt_abc123def456",
  "riskScore": 34,
  "riskLevel": "medium",
  "factors": [
    {
      "factor": "high_frequency_trading",
      "weight": 0.25,
      "score": 45,
      "description": "Wallet executes 50+ transactions daily"
    }
  ],
  "counterpartyRisk": {
    "flaggedInteractions": 3,
    "highRiskCounterparties": [
      "<string>"
    ]
  },
  "complianceFlags": [
    "mixer_interaction",
    "high_value_transfers"
  ],
  "lastUpdated": "2023-11-07T05:31:56Z"
}

Authorizations

Authorization
string
header
required

JWT Bearer token authentication. Include the token in the Authorization header

Query Parameters

walletId
string
required
Example:

"wlt_abc123def456"

Response

200 - application/json

Risk score retrieved successfully

walletId
string
Example:

"wlt_abc123def456"

riskScore
number

Overall risk score (0-100)

Example:

34

riskLevel
enum<string>
Available options:
low,
medium,
high,
critical
Example:

"medium"

factors
object[]
counterpartyRisk
object
complianceFlags
string[]
Example:
["mixer_interaction", "high_value_transfers"]
lastUpdated
string<date-time>
I