curl -X GET "https://api.credprotocol.com/api/v2/sandbox/score/?address=0x1111111111111111111111111111111111111111,0x2222222222222222222222222222222222222222" \
-H "Authorization: Bearer YOUR_API_KEY"
const addresses = [
'0x1111111111111111111111111111111111111111',
'0x2222222222222222222222222222222222222222'
];
const response = await fetch(
`https://api.credprotocol.com/api/v2/sandbox/score/?address=${addresses.join(',')}`,
{
headers: {
'Authorization': 'Bearer YOUR_API_KEY'
}
}
);
const data = await response.json();
console.log(`Aggregated score: ${data.score}`);
import requests
addresses = [
'0x1111111111111111111111111111111111111111',
'0x2222222222222222222222222222222222222222'
]
response = requests.get(
'https://api.credprotocol.com/api/v2/sandbox/score/',
params={'address': ','.join(addresses)},
headers={'Authorization': 'Bearer YOUR_API_KEY'}
)
data = response.json()
print(f"Aggregated score: {data['score']}")
{
"address": [
"0x1111111111111111111111111111111111111111",
"0x2222222222222222222222222222222222222222"
],
"score": 745,
"decile": 8,
"range": "good",
"model_version": "andromeda_1.0",
"timestamp": "2024-01-15T10:30:00Z"
}
{
"error": "No valid addresses provided",
"status_code": 400
}
Sandbox
Mock Aggregated Score
Get a mock aggregated credit score for multiple addresses
GET
/
api
/
v2
/
sandbox
/
score
/
curl -X GET "https://api.credprotocol.com/api/v2/sandbox/score/?address=0x1111111111111111111111111111111111111111,0x2222222222222222222222222222222222222222" \
-H "Authorization: Bearer YOUR_API_KEY"
const addresses = [
'0x1111111111111111111111111111111111111111',
'0x2222222222222222222222222222222222222222'
];
const response = await fetch(
`https://api.credprotocol.com/api/v2/sandbox/score/?address=${addresses.join(',')}`,
{
headers: {
'Authorization': 'Bearer YOUR_API_KEY'
}
}
);
const data = await response.json();
console.log(`Aggregated score: ${data.score}`);
import requests
addresses = [
'0x1111111111111111111111111111111111111111',
'0x2222222222222222222222222222222222222222'
]
response = requests.get(
'https://api.credprotocol.com/api/v2/sandbox/score/',
params={'address': ','.join(addresses)},
headers={'Authorization': 'Bearer YOUR_API_KEY'}
)
data = response.json()
print(f"Aggregated score: {data['score']}")
{
"address": [
"0x1111111111111111111111111111111111111111",
"0x2222222222222222222222222222222222222222"
],
"score": 745,
"decile": 8,
"range": "good",
"model_version": "andromeda_1.0",
"timestamp": "2024-01-15T10:30:00Z"
}
{
"error": "No valid addresses provided",
"status_code": 400
}
Overview
Returns a mock aggregated credit score combining multiple addresses into a single score. Use this to test multi-wallet scoring scenarios like multi-signature wallets or joint accounts.SANDBOX: This endpoint returns mock data for testing only. Do not use for production decisions.
Query Parameters
string
required
Comma-separated list of Ethereum addresses (e.g.,
address=0x123...,0x456...,0x789...)Response
array
Array of validated Ethereum addresses
integer
Mock aggregated credit score (mean of individual mock scores)
integer
Aggregated score decile from 1 to 10
string
Score range:
low, fair, good, very_good, or excellentstring
Always returns
andromeda_1.0Mock Aggregation
The sandbox calculates the aggregated score as:- Generate deterministic mock score for each address
- Calculate the mean of all individual scores
- Derive decile and range from the aggregated score
curl -X GET "https://api.credprotocol.com/api/v2/sandbox/score/?address=0x1111111111111111111111111111111111111111,0x2222222222222222222222222222222222222222" \
-H "Authorization: Bearer YOUR_API_KEY"
const addresses = [
'0x1111111111111111111111111111111111111111',
'0x2222222222222222222222222222222222222222'
];
const response = await fetch(
`https://api.credprotocol.com/api/v2/sandbox/score/?address=${addresses.join(',')}`,
{
headers: {
'Authorization': 'Bearer YOUR_API_KEY'
}
}
);
const data = await response.json();
console.log(`Aggregated score: ${data.score}`);
import requests
addresses = [
'0x1111111111111111111111111111111111111111',
'0x2222222222222222222222222222222222222222'
]
response = requests.get(
'https://api.credprotocol.com/api/v2/sandbox/score/',
params={'address': ','.join(addresses)},
headers={'Authorization': 'Bearer YOUR_API_KEY'}
)
data = response.json()
print(f"Aggregated score: {data['score']}")
{
"address": [
"0x1111111111111111111111111111111111111111",
"0x2222222222222222222222222222222222222222"
],
"score": 745,
"decile": 8,
"range": "good",
"model_version": "andromeda_1.0",
"timestamp": "2024-01-15T10:30:00Z"
}
{
"error": "No valid addresses provided",
"status_code": 400
}
Performance
- Response Time: Instant (no blockchain queries)
- Quota: Does not count against your API quota