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

# 获取用户信息

> 获取用户信息



## OpenAPI

````yaml openapi/zh/twitter-user-batch_01.json GET /twitter/user/info
openapi: 3.0.3
info:
  title: Twitter API
  version: 1.0.0
  description: Twitter 数据 API，提供用户和推文信息的端点。
servers:
  - url: https://api.aisa.one/apis/v1
security:
  - BearerAuth: []
paths:
  /twitter/user/info:
    get:
      tags:
        - https://docs.twitterapi.io/api-reference/endpoint/get_user_by_username
      summary: 获取用户信息
      parameters:
        - name: userName
          in: query
          required: true
          schema:
            type: string
          description: 用户的显示名称
      responses:
        '200':
          description: 用户信息
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/UserInfoResponse'
components:
  schemas:
    UserInfoResponse:
      type: object
      properties:
        status:
          type: string
          enum:
            - success
            - error
        msg:
          type: string
        data:
          type: object
          additionalProperties: true
          description: TwitterAPI.io 返回的用户资料对象。
  securitySchemes:
    BearerAuth:
      type: http
      scheme: bearer

````