Quick risk score lookup for any entity. For detailed reports, use the Risk Report endpoint.
Authorization
Bearer token. Format: Bearer cg_live_xxxxxxxx
Path Parameters
The entity to score. Can be:
- Wallet address:
0x742d35Cc6634C0532925a3b844Bc454c459dFE2C
- Contract address:
0xdAC17F958D2ee523a2206206994597C13D831ec7
- URL:
https://suspicious-site.com
- Transaction hash:
0xa1b2c3d4e5f6...
Query Parameters
Blockchain network (for address entities only).Options: ethereum, bsc, polygon
Entity type hint. Auto-detected if not provided.Options: address, url, transaction
Response
The entity that was scored
Detected entity type: wallet, contract, url, transaction
Human-readable risk level: safe, low, medium, high, critical
Score confidence (0.0-1.0)
When the score was last calculated (ISO 8601)
Top contributing factors to the score
curl --request GET \
--url 'https://api.chainguardai.dev/v1/risk/score/0x742d35Cc6634C0532925a3b844Bc454c459dFE2C?chain=ethereum' \
--header 'Authorization: Bearer cg_live_xxxxxxxxxxxxxxxx'
{
"success": true,
"data": {
"entity": "0x742d35Cc6634C0532925a3b844Bc454c459dFE2C",
"entityType": "wallet",
"riskScore": 12,
"riskLevel": "low",
"confidence": 0.95,
"lastUpdated": "2024-01-15T14:32:00Z",
"factors": []
},
"meta": {
"requestId": "req_score_low",
"timestamp": "2024-01-15T14:32:00.847Z",
"processingTime": 45
}
}