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

# Get Multiple Users by Usernames

> Retrieve detailed profile information for multiple Twitter users by their usernames or profile URLs, $0.14/1000 users. The maximum input quantity is limited by your plan's QPS. To pass larger input quantity limits, upgrade your plan to get higher QPS.



## OpenAPI

````yaml /api-reference/openapi.json post /twitter/users
openapi: 3.1.0
info:
  title: Twitter API Service
  description: |2-

            A comprehensive Twitter API service that provides various Twitter operations including:
            
            * **Search Operations**: Advanced search, hashtags, cashtags
            * **Tweet Operations**: Post, like, retweet, quote, bookmark, delete
            * **User Operations**: Batch user information retrieval
            * **Influencer Operations**: Get tweets from top influencers
            
            All endpoints return standardized responses in the format:
            ```json
            {
                "code": 200,
                "msg": "success", 
                "data": {...}
            }
            ```
            
            ## Authentication
            
            This API uses Bearer token authentication. Include your token in the Authorization header:
            ```
            Authorization: Bearer your_token_here
            ```
            
  contact:
    name: API Support
    email: support@twitterxapi.com
  license:
    name: MIT
  version: 1.0.0
servers:
  - url: https://api.twexapi.io
    description: Development server
security: []
paths:
  /twitter/users:
    post:
      tags:
        - Users Endpoints
      summary: Get Multiple Users by Usernames
      description: >-
        Retrieve detailed profile information for multiple Twitter users by
        their usernames or profile URLs, $0.14/1000 users. The maximum input
        quantity is limited by your plan's QPS. To pass larger input quantity
        limits, upgrade your plan to get higher QPS.
      operationId: get_users_by_usernames_twitter_users_post
      requestBody:
        content:
          application/json:
            schema:
              items:
                type: string
              type: array
              title: Usernames
              description: >-
                A list of Twitter usernames or profile URLs. Provide multiple
                times for multiple users (e.g., `[elonmusk,sundarpichai]`).
              examples:
                - elonmusk
                - sundarpichai
        required: true
      responses:
        '200':
          description: >-
            A list of user profile objects. Unfound users are represented by
            `null`.
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      security:
        - HTTPBearer: []
components:
  schemas:
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
              - type: string
              - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
        input:
          title: Input
        ctx:
          type: object
          title: Context
      type: object
      required:
        - loc
        - msg
        - type
      title: ValidationError
  securitySchemes:
    HTTPBearer:
      type: http
      scheme: bearer

````