> 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/api-docs-reputation/reputation-score.md).

# Reputation Score

\[ Base URL: `api.ggwp.com`]

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

## **Description**

The reputation score API can be used to fetch the latest score for a given user. The score is derived from the user’s behavior in the game. It ranges from 150 to 850, with lower values corresponding to more toxic/negative users.

Sample call:

```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'
```

## **Output**

* 200 - a successful operation

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

* 403
  * Invalid or missing API key
* 404
  * User not found
* 500
  * Error response. Unable to fetch the reputation score
