Retrieve Reputation Score

Retrieve the Reputation Score for an FSL ID user.

Pre-requisite

Make sure the ReputationScore Grant Scope is included when requesting authorization. You cannot share or retrieve reputation scores without approval from the user.

API

Post /api/account/party/reputationscore

Header

NameValue

Content-Type

application/json

Authorization

Bearer <access token>

Parameters

NameMandatory?Description

appid

N

Provide the appid if you want to retrieve scores from a specific app. You can find the App ID from developer console. Retrieve global score if you don't provide appid.

Request Example

curl --location 'https://$API_BASE_URL/api/account/party/reputationscore' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer access_token'
-d "appid=xxxxxxx"

Response

{
    "code": 0,
    "data": {
        "fslUid": 1111111,
        "appid": "xxxxxxx",
        "reputationScore": {
            "ALL": {
                "Trade Volume": "Whale"
            },
            "30D": {
                "Trade Volume": "Shark",
                "Active": "Casual"
            },
            "7D": {
                "Active": "Engaged"
            }
        }
    }
}

Last updated