> For the complete documentation index, see [llms.txt](https://docs.ggwp.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.ggwp.com/chinese-simplified/api-wen-dang-xin-yu/xin-yu-fen-shu.md).

# 信誉分数

\[ 基础 URL: `api.ggwp.com`]

`GET` /users/\<user\_id>/v1/reputation-score

## **描述**

声誉分 API 可用于获取指定用户的最新分数。该分数基于用户在游戏中的行为得出。分数范围为 150 到 850，数值越低表示用户越有毒性/越消极。

示例调用：

```bash
curl --request GET 'https://api.ggwp.com/users/<user_id>/v1/reputation-score' \
--header 'x-api-key: api_key' \
--header 'Content-Type: application/json'
```

## **输出**

* 200 - 操作成功

```json
{
    "reputation_score": 430
}
```

* 403
  * 无效或缺失的 API 密钥
* 404
  * 未找到用户
* 500
  * 错误响应。无法获取声誉分
