Score
Query parameters
afterstringRequired
untilstringOptional
limitinteger · max: 1000OptionalDefault:
50
offsetnumberOptionalDefault:
0
Responses
200
Successful response
application/json
400
Invalid input data
application/json
404
Not found
application/json
500
Internal server error
application/json
get
GET /api/v2/score/updates HTTP/1.1
Host: api.ethos.network
Accept: */*
{
"values": [
{
"userkey": "text",
"lastUpdatedAt": "text"
}
],
"total": 1,
"limit": 1,
"offset": 1
}
Query parameters
addressstringRequired
Responses
200
Successful response
application/json
400
Invalid input data
application/json
404
Not found
application/json
500
Internal server error
application/json
get
GET /api/v2/score/address HTTP/1.1
Host: api.ethos.network
Accept: */*
{
"score": 1,
"level": "untrusted"
}
Body
addressesstring[]Required
Responses
200
Successful response
application/json
400
Invalid input data
application/json
500
Internal server error
application/json
post
POST /api/v2/score/addresses HTTP/1.1
Host: api.ethos.network
Content-Type: application/json
Accept: */*
Content-Length: 22
{
"addresses": [
"text"
]
}
{
"ANY_ADDITIONAL_PROPERTY": {
"score": 1,
"level": "untrusted"
}
}
Query parameters
userIdinteger · max: 2147483647Required
Responses
200
Successful response
application/json
400
Invalid input data
application/json
404
Not found
application/json
500
Internal server error
application/json
get
GET /api/v2/score/userId HTTP/1.1
Host: api.ethos.network
Accept: */*
{
"score": 1,
"level": "untrusted"
}
Body
userIdsinteger[]Required
Responses
200
Successful response
application/json
400
Invalid input data
application/json
500
Internal server error
application/json
post
POST /api/v2/score/userIds HTTP/1.1
Host: api.ethos.network
Content-Type: application/json
Accept: */*
Content-Length: 15
{
"userIds": [
1
]
}
{
"ANY_ADDITIONAL_PROPERTY": {
"score": 1,
"level": "untrusted"
}
}
Query parameters
userkeystringRequired
Responses
200
Successful response
application/json
400
Invalid input data
application/json
404
Not found
application/json
500
Internal server error
application/json
get
GET /api/v2/score/userkey HTTP/1.1
Host: api.ethos.network
Accept: */*
{
"score": 1,
"level": "untrusted"
}
Body
userkeysstring[]Required
Responses
200
Successful response
application/json
400
Invalid input data
application/json
500
Internal server error
application/json
post
POST /api/v2/score/userkeys HTTP/1.1
Host: api.ethos.network
Content-Type: application/json
Accept: */*
Content-Length: 21
{
"userkeys": [
"text"
]
}
{
"ANY_ADDITIONAL_PROPERTY": {
"score": 1,
"level": "untrusted"
}
}
Query parameters
userkeystringRequired
Responses
200
Successful response
application/json
400
Invalid input data
application/json
404
Not found
application/json
500
Internal server error
application/json
get
GET /api/v2/score/status HTTP/1.1
Host: api.ethos.network
Accept: */*
{
"status": "idle",
"isQueued": true,
"isCalculating": true,
"isPending": true
}