Get a wallet check
curl --request GET \
--url https://www.sharpe.ai/api/v1/wallet-check/{report} \
--header 'Authorization: Bearer <token>'const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://www.sharpe.ai/api/v1/wallet-check/{report}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://www.sharpe.ai/api/v1/wallet-check/{report}"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text){
"data": {
"id": "<string>",
"status": "queued",
"chain": "bitcoin",
"address": "<string>",
"created_at": "2023-11-07T05:31:56Z",
"finished_at": "2023-11-07T05:31:56Z",
"error_code": "<string>",
"verdict": {
"kind": "score",
"score": 5,
"severity": "severe",
"reasons": [
"<string>"
]
},
"summary": {
"text": "<string>",
"source": "template"
},
"facts": {
"subject": {
"chain": "bitcoin",
"address": "<string>"
},
"computedAt": "2023-11-07T05:31:56Z",
"versions": {
"labels": 123,
"ruleSet": "<string>",
"engine": 123
},
"trace": {
"maxHops": 5,
"maxPathSteps": 1
},
"totals": {
"inflowUsd": 1,
"outflowUsd": 1
},
"ownLabels": [
{
"id": "<string>",
"chain": "bitcoin",
"address": "<string>",
"familyWide": true,
"entityId": "<string>",
"entityName": "<string>",
"category": "sanctioned",
"subcategory": "<string>",
"role": "hot_wallet",
"scope": "address",
"confidence": "confirmed",
"official": true,
"reviewed": true,
"validFrom": "2023-11-07T05:31:56Z",
"validTo": "2023-11-07T05:31:56Z",
"sanctions": [
{
"list": "<string>",
"designatedAt": "2023-11-07T05:31:56Z",
"delistedAt": "2023-11-07T05:31:56Z",
"program": "<string>"
}
],
"jurisdiction": "<string>",
"asset": "<string>",
"source": {
"id": "<string>",
"kind": "<string>",
"url": "<string>",
"quote": "<string>",
"txHashes": [
"<string>"
]
},
"firstSeen": "2023-11-07T05:31:56Z",
"lastVerified": "2023-11-07T05:31:56Z",
"addedBy": {
"kind": "pipeline",
"name": "<string>"
},
"labelVersion": 123
}
],
"exposure": [
{
"direction": "source",
"category": "sanctioned",
"entityId": "<string>",
"entityName": "<string>",
"reach": "ownership",
"hops": 1,
"usd": 1,
"share": 0.5,
"confidence": "confirmed",
"halfWeight": true,
"afterDesignation": true,
"labelIds": [
"<string>"
],
"evidence": [
"<string>"
]
}
],
"behaviours": [
{
"kind": "peel_chain",
"steps": 1,
"usd": 1,
"from": "2023-11-07T05:31:56Z",
"to": "2023-11-07T05:31:56Z",
"halfWeight": true,
"evidence": [
"<string>"
]
}
],
"coverage": {
"partial": true,
"transfersRead": 1,
"walletsExpanded": 1,
"unresolved": [
{
"address": "<string>",
"reason": "failed"
}
],
"unvaluedContacts": [
{
"direction": "source",
"address": "<string>",
"category": "sanctioned",
"entityId": "<string>",
"labelIds": [
"<string>"
],
"halfWeight": true
}
],
"unvalued": [
{
"asset": "<string>",
"count": 1
}
],
"dustTransfers": 1,
"staleSources": [
"<string>"
]
},
"addresses": [
"<string>"
],
"score": {
"score": 5,
"severity": "severe",
"hits": [
{
"ruleId": "<string>",
"ruleName": "<string>",
"direction": "source",
"score": 5,
"share": 0.5,
"usd": 1,
"halfWeight": true,
"rows": [
1
]
}
]
}
},
"labels_used": [
{
"id": "<string>",
"chain": "bitcoin",
"address": "<string>",
"familyWide": true,
"entityId": "<string>",
"entityName": "<string>",
"category": "sanctioned",
"subcategory": "<string>",
"role": "hot_wallet",
"scope": "address",
"confidence": "confirmed",
"official": true,
"reviewed": true,
"validFrom": "2023-11-07T05:31:56Z",
"validTo": "2023-11-07T05:31:56Z",
"sanctions": [
{
"list": "<string>",
"designatedAt": "2023-11-07T05:31:56Z",
"delistedAt": "2023-11-07T05:31:56Z",
"program": "<string>"
}
],
"jurisdiction": "<string>",
"asset": "<string>",
"source": {
"id": "<string>",
"kind": "<string>",
"url": "<string>",
"quote": "<string>",
"txHashes": [
"<string>"
]
},
"firstSeen": "2023-11-07T05:31:56Z",
"lastVerified": "2023-11-07T05:31:56Z",
"addedBy": {
"kind": "pipeline",
"name": "<string>"
},
"labelVersion": 123
}
],
"versions": {
"rule_set": "<string>",
"labels": 123,
"labels_as_of": "2023-11-07T05:31:56Z",
"active_labels": 1,
"engine": 123
}
},
"meta": {
"request_id": "req_a1b2c3d4e5f6g7h8i9j0",
"timestamp": "2023-11-07T05:31:56Z",
"elapsed_ms": 1,
"dataset_id": "funding_rates_current",
"as_of": "2023-11-07T05:31:56Z",
"stale_after": "2023-11-07T05:31:56Z",
"freshness_sla_seconds": 123,
"freshness_status": "fresh",
"runtime_status": "ok",
"served_from": "snapshot",
"generated_at": "2023-11-07T05:31:56Z",
"source": [
"<string>"
],
"coverage": {
"expected": 123,
"used": 123,
"dropped": {},
"missing": [
"<string>"
]
},
"warnings": [
"<string>"
],
"truncated": true
}
}Compliance
Get a wallet check
One Wallet Check report of the organisation, as POST /v1/wallet-check answers it. A queued or running check has no verdict, facts or summary yet: poll until its status is succeeded or failed. A failed check carries error_code and no facts. Another organisation’s report, or a malformed id, answers 404. Needs an organisation key with the compliance scope; an account key answers 403 insufficient_scope.
GET
/
v1
/
wallet-check
/
{report}
Get a wallet check
curl --request GET \
--url https://www.sharpe.ai/api/v1/wallet-check/{report} \
--header 'Authorization: Bearer <token>'const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://www.sharpe.ai/api/v1/wallet-check/{report}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://www.sharpe.ai/api/v1/wallet-check/{report}"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text){
"data": {
"id": "<string>",
"status": "queued",
"chain": "bitcoin",
"address": "<string>",
"created_at": "2023-11-07T05:31:56Z",
"finished_at": "2023-11-07T05:31:56Z",
"error_code": "<string>",
"verdict": {
"kind": "score",
"score": 5,
"severity": "severe",
"reasons": [
"<string>"
]
},
"summary": {
"text": "<string>",
"source": "template"
},
"facts": {
"subject": {
"chain": "bitcoin",
"address": "<string>"
},
"computedAt": "2023-11-07T05:31:56Z",
"versions": {
"labels": 123,
"ruleSet": "<string>",
"engine": 123
},
"trace": {
"maxHops": 5,
"maxPathSteps": 1
},
"totals": {
"inflowUsd": 1,
"outflowUsd": 1
},
"ownLabels": [
{
"id": "<string>",
"chain": "bitcoin",
"address": "<string>",
"familyWide": true,
"entityId": "<string>",
"entityName": "<string>",
"category": "sanctioned",
"subcategory": "<string>",
"role": "hot_wallet",
"scope": "address",
"confidence": "confirmed",
"official": true,
"reviewed": true,
"validFrom": "2023-11-07T05:31:56Z",
"validTo": "2023-11-07T05:31:56Z",
"sanctions": [
{
"list": "<string>",
"designatedAt": "2023-11-07T05:31:56Z",
"delistedAt": "2023-11-07T05:31:56Z",
"program": "<string>"
}
],
"jurisdiction": "<string>",
"asset": "<string>",
"source": {
"id": "<string>",
"kind": "<string>",
"url": "<string>",
"quote": "<string>",
"txHashes": [
"<string>"
]
},
"firstSeen": "2023-11-07T05:31:56Z",
"lastVerified": "2023-11-07T05:31:56Z",
"addedBy": {
"kind": "pipeline",
"name": "<string>"
},
"labelVersion": 123
}
],
"exposure": [
{
"direction": "source",
"category": "sanctioned",
"entityId": "<string>",
"entityName": "<string>",
"reach": "ownership",
"hops": 1,
"usd": 1,
"share": 0.5,
"confidence": "confirmed",
"halfWeight": true,
"afterDesignation": true,
"labelIds": [
"<string>"
],
"evidence": [
"<string>"
]
}
],
"behaviours": [
{
"kind": "peel_chain",
"steps": 1,
"usd": 1,
"from": "2023-11-07T05:31:56Z",
"to": "2023-11-07T05:31:56Z",
"halfWeight": true,
"evidence": [
"<string>"
]
}
],
"coverage": {
"partial": true,
"transfersRead": 1,
"walletsExpanded": 1,
"unresolved": [
{
"address": "<string>",
"reason": "failed"
}
],
"unvaluedContacts": [
{
"direction": "source",
"address": "<string>",
"category": "sanctioned",
"entityId": "<string>",
"labelIds": [
"<string>"
],
"halfWeight": true
}
],
"unvalued": [
{
"asset": "<string>",
"count": 1
}
],
"dustTransfers": 1,
"staleSources": [
"<string>"
]
},
"addresses": [
"<string>"
],
"score": {
"score": 5,
"severity": "severe",
"hits": [
{
"ruleId": "<string>",
"ruleName": "<string>",
"direction": "source",
"score": 5,
"share": 0.5,
"usd": 1,
"halfWeight": true,
"rows": [
1
]
}
]
}
},
"labels_used": [
{
"id": "<string>",
"chain": "bitcoin",
"address": "<string>",
"familyWide": true,
"entityId": "<string>",
"entityName": "<string>",
"category": "sanctioned",
"subcategory": "<string>",
"role": "hot_wallet",
"scope": "address",
"confidence": "confirmed",
"official": true,
"reviewed": true,
"validFrom": "2023-11-07T05:31:56Z",
"validTo": "2023-11-07T05:31:56Z",
"sanctions": [
{
"list": "<string>",
"designatedAt": "2023-11-07T05:31:56Z",
"delistedAt": "2023-11-07T05:31:56Z",
"program": "<string>"
}
],
"jurisdiction": "<string>",
"asset": "<string>",
"source": {
"id": "<string>",
"kind": "<string>",
"url": "<string>",
"quote": "<string>",
"txHashes": [
"<string>"
]
},
"firstSeen": "2023-11-07T05:31:56Z",
"lastVerified": "2023-11-07T05:31:56Z",
"addedBy": {
"kind": "pipeline",
"name": "<string>"
},
"labelVersion": 123
}
],
"versions": {
"rule_set": "<string>",
"labels": 123,
"labels_as_of": "2023-11-07T05:31:56Z",
"active_labels": 1,
"engine": 123
}
},
"meta": {
"request_id": "req_a1b2c3d4e5f6g7h8i9j0",
"timestamp": "2023-11-07T05:31:56Z",
"elapsed_ms": 1,
"dataset_id": "funding_rates_current",
"as_of": "2023-11-07T05:31:56Z",
"stale_after": "2023-11-07T05:31:56Z",
"freshness_sla_seconds": 123,
"freshness_status": "fresh",
"runtime_status": "ok",
"served_from": "snapshot",
"generated_at": "2023-11-07T05:31:56Z",
"source": [
"<string>"
],
"coverage": {
"expected": 123,
"used": 123,
"dropped": {},
"missing": [
"<string>"
]
},
"warnings": [
"<string>"
],
"truncated": true
}
}Authorizations
BearerAuthApiKeyAuth

