---
title: "Get the caller's votes and site settings"
description: "Returns the anonymous caller's existing votes, so a client can show which way they\nvoted, and whether new reports are currently held for review.\n"
---

> Documentation Index
> Fetch the complete documentation index at: https://docs.deathspot.org/llms.txt
> Use this file to discover all available pages before exploring further.

Path: Deathspot UG API › Insights

`GET /api/me`

Returns the anonymous caller's existing votes, so a client can show which way they
voted, and whether new reports are currently held for review.

## Code samples

### cURL

```curl
curl --request GET \
  --url https://deathspot.org/api/me
```

### TypeScript

```typescript
const url = 'https://deathspot.org/api/me';
const options = {method: 'GET'};

fetch(url, options)
  .then(res => res.json())
  .then(json => console.log(json))
  .catch(err => console.error(err));
```

### Python

```python
import requests

url = "https://deathspot.org/api/me"

response = requests.get(url)

print(response.text)
```

## Responses

### 200

The caller's state.

#### Example

```json
{
  "votes": {
    "1": 1,
    "8": -1
  },
  "requireApproval": false
}
```

- `getMe.response.200.votes` (map<integer>, required) — Map of spot id to the caller's vote (`1` or `-1`).
- `getMe.response.200.requireApproval` (boolean, required) — `true` when new reports wait for moderator approval before appearing.

### 429

The caller exceeded a rate limit. Wait `Retry-After` seconds before retrying.

#### Example

```json
{
  "error": "You have reported a lot of spots recently. Please try again in an hour."
}
```

- `getMe.response.429.error` (string, required) — A human-readable message you can show to users.


Source: https://docs.deathspot.org/api/Insights/getMe/index.md
