---
title: "Get User"
method: GET
path: "/v0/me"
tags: ["用户"]
---

# Get User

`GET /v0/me`

## Request

- The document declares no server URL.
- Auth: HTTP bearer

返回当前 Access Token 对应的用户信息

## Response `200`

Successful Response

- object: 实际的返回值可能包括文档未声明的 `url` 字段，此字段主要用于开发者从 api 响应直接转跳到网页。 客户端开发者请不用依赖于此特性，此字段的值随时可能会改变。
  - `id` integer, required
  - `username` string, required: 唯一用户名，初始与 UID 相同，可修改一次
  - `nickname` string, required
  - `user_group` 1 | 2 | 3 | 4 | 5 | 8 | 9 | 10 | 11, required: 用户组 - 1 = 管理员 - 2 = Bangumi 管理猿 - 3 = 天窗管理猿 - 4 = 禁言用户 - 5 = 禁止访问用户 - 8 = 人物管理猿 - 9 = 维基条目管理猿 - 10 = 用户 - 11 = 维基人
  - `avatar` Avatar, required
    - `large` string, url, required
    - `medium` string, url, required
    - `small` string, url, required
  - `sign` string, required: 个人签名
  - `email` string, email, required: 用户绑定的邮箱地址
  - `reg_time` string, date-time, required: 用户注册时间。比如 2017-12-03T08:51:16+08:00
  - `time_offset` integer: 用户设置的时区偏移，以小时为单位。比如 GMT+8（shanghai/beijing）为 8

## Other responses

- `401`: unauthorized

## Changes

- **2024-12-13** (v0) `630b3edf0d40`: 2 info
  - added the non-success response with the status `401`
  - removed the non-success response with the status `403`
- **2024-12-08** (v0) `1c001229cd88`: 2 info
  - added `subschema #2, subschema #3` to the response body `allOf` list for the response status `200`
  - removed `subschema #2` from the response body `allOf` list for the response status `200`
- **2024-10-01** (v0) `25167996e069`: 7 breaking, 1 info
  - the response's body type changed from `object` to no type for status `200`
  - removed the required property `avatar` from the response with the `200` status
  - removed the required property `id` from the response with the `200` status
  - removed the required property `nickname` from the response with the `200` status
  - …4 more
- **2022-11-19** (v0) `bb6bcec42206`: 1 warning, 1 info
  - removed the optional property `detail` from the response with the `403` status
  - added the optional property `details` to the response with the `403` status
- **2022-05-15** (v0) `b6b1c37dd3dd`: 1 breaking
  - removed the required property `url` from the response with the `200` status

[Operation history](https://skmtc.dev/bangumi/apis/bangumi-open-api/changes/v0/me/get.md)

---

[API](https://skmtc.dev/bangumi/apis/bangumi-open-api.md) - [All operations](https://skmtc.dev/bangumi/apis/bangumi-open-api/llms.txt) - [OpenAPI document](https://skmtc.dev/bangumi/apis/bangumi-open-api/revisions/6aafdbda7895?raw)
