> ## 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 Twitter Account Based in

> Get Twitter Account Based in. 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/account/based
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/account/based:
    post:
      tags:
        - Twitter Account Based in Endpoints
      summary: Get Twitter Account Based in
      description: >-
        Get Twitter Account Based in. 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_twitter_account_based_api_twitter_account_based_post
      requestBody:
        content:
          application/json:
            schema:
              items:
                type: string
              type: array
              title: Screen Names
              description: >-
                A json list of Twitter user screen names. Provide multiple times
                for multiple users (e.g., `[elonmusk,sundarpichai]`).
              examples:
                - screen_name
                - elonmusk
        required: true
      responses:
        '200':
          description: The Twitter Account Based in data.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/TwitterAccountBasedStandardResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      security:
        - HTTPBearer: []
components:
  schemas:
    TwitterAccountBasedStandardResponse:
      properties:
        code:
          type: integer
          title: Code
          description: HTTP status code
          default: 200
        msg:
          type: string
          title: Msg
          description: Response message
          default: success
        data:
          anyOf:
            - items:
                $ref: '#/components/schemas/TwitterUserAboutResponse'
              type: array
            - type: 'null'
          title: Data
          description: Twitter Account Based in data
      type: object
      title: TwitterAccountBasedStandardResponse
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    TwitterUserAboutResponse:
      properties:
        user_id:
          type: string
          title: User Id
          description: Twitter user ID
          example: '44196397'
        avatar:
          type: string
          title: Avatar
          description: Profile avatar image URL
          example: >-
            https://pbs.twimg.com/profile_images/1983681414370619392/oTT3nm5Z_normal.jpg
        name:
          type: string
          title: Name
          description: User display name
          example: Elon Musk
        screen_name:
          type: string
          title: Screen Name
          description: Twitter username (handle)
          example: elonmusk
        created_at:
          type: string
          title: Created At
          description: Account creation date in Twitter format
          example: Tue Jun 02 20:12:29 +0000 2009
        profile_image_shape:
          type: string
          title: Profile Image Shape
          description: Profile image shape (e.g., Circle, Square)
          example: Circle
        verification:
          type: boolean
          title: Verification
          description: Whether the user account is verified
          example: false
        userLabelDisplayType:
          type: string
          title: Userlabeldisplaytype
          description: User label display type (e.g., Badge)
          example: Badge
        userLabelType:
          type: string
          title: Userlabeltype
          description: User label type (e.g., BusinessLabel)
          example: BusinessLabel
        is_blue_verified:
          type: boolean
          title: Is Blue Verified
          description: >-
            Whether the user has blue verification badge (Twitter Blue/X
            Premium)
          example: true
        privacy_policy_url:
          type: string
          title: Privacy Policy Url
          description: Privacy policy or learn more URL
          example: >-
            https://help.twitter.com/managing-your-account/about-twitter-verified-accounts
        account_based_in:
          type: string
          title: Account Based In
          description: Country or region where the account is based
          example: United States
        location_accurate:
          type: boolean
          title: Location Accurate
          description: Whether the location information is accurate
          example: true
        affiliate_username:
          type: string
          title: Affiliate Username
          description: Affiliated username (e.g., business account username)
          example: X
        source:
          type: string
          title: Source
          description: Source of account creation (e.g., 'United States App Store')
          example: United States App Store
        username_changes_count:
          type: integer
          title: Username Changes Count
          description: Number of times the username has been changed
          example: 0
        override_verified_year:
          type: integer
          title: Override Verified Year
          description: >-
            Override verified year (if applicable, negative values indicate
            special cases)
          example: -3000
        verified_since_msec:
          type: integer
          title: Verified Since Msec
          description: >-
            Timestamp in milliseconds when the account was verified (negative
            values indicate special cases)
          example: -156836000000000
      type: object
      required:
        - user_id
        - avatar
        - name
        - screen_name
        - created_at
        - profile_image_shape
        - verification
        - userLabelDisplayType
        - userLabelType
        - is_blue_verified
        - privacy_policy_url
        - account_based_in
        - location_accurate
        - affiliate_username
        - source
        - username_changes_count
        - override_verified_year
        - verified_since_msec
      title: TwitterUserAboutResponse
    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

````