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

# /stocktwits/users

> Get a user profile with their message stream

**Price:** 1 credit per 10 results

**⚠️ Common errors:** 412: User not found. Verify the handle.



## OpenAPI

````yaml /openapi/finance-markets.json post /api/stocktwits/users
openapi: 3.1.0
info:
  title: Any Site API
  description: >+
    Any Site API provides programmatic access to data from LinkedIn, Instagram,
    Twitter, and other platforms.


    ## Authentication


    All API endpoints require an `access-token` header with a valid API token.
    Tokens can be created in the [dashboard](https://app.anysite.io/).


    ## Pricing


    Each endpoint has a credit cost listed in its description. Credits are
    deducted from your token balance per request.

  version: 0.0.1
servers: []
security:
  - AccessToken: []
paths:
  /api/stocktwits/users:
    post:
      tags:
        - /stocktwits
      summary: /stocktwits/users
      description: |-
        Get a user profile with their message stream

        **Price:** 1 credit per 10 results

        **⚠️ Common errors:** 412: User not found. Verify the handle.
      operationId: __api_stocktwits_users_post
      parameters:
        - name: access-token
          in: header
          required: true
          schema:
            anyOf:
              - type: string
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/StocktwitsUsersPayload'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/StocktwitsUserStream'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
components:
  schemas:
    StocktwitsUsersPayload:
      properties:
        timeout:
          type: integer
          maximum: 1500
          minimum: 20
          default: 300
        username:
          type: string
          minLength: 1
        count:
          type: integer
          minimum: 1
      type: object
      required:
        - username
        - count
    StocktwitsUserStream:
      properties:
        '@type':
          type: string
          default: StocktwitsUserStream
        id:
          type: integer
        alias:
          type: string
        name:
          anyOf:
            - type: string
            - type: 'null'
        image:
          anyOf:
            - type: string
            - type: 'null'
        identity:
          anyOf:
            - type: string
            - type: 'null'
        home_country:
          anyOf:
            - type: string
            - type: 'null'
        joined_at:
          anyOf:
            - type: string
            - type: 'null'
        follower_count:
          anyOf:
            - type: integer
            - type: 'null'
        following_count:
          anyOf:
            - type: integer
            - type: 'null'
        idea_count:
          anyOf:
            - type: integer
            - type: 'null'
        watchlist_stock_count:
          anyOf:
            - type: integer
            - type: 'null'
        like_count:
          anyOf:
            - type: integer
            - type: 'null'
        is_official:
          type: boolean
          default: false
        messages:
          items:
            $ref: '#/components/schemas/StocktwitsMessage'
          type: array
          default: []
      type: object
      required:
        - id
        - alias
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
      type: object
    StocktwitsMessage:
      properties:
        '@type':
          type: string
          default: StocktwitsMessage
        id:
          type: integer
        text:
          anyOf:
            - type: string
            - type: 'null'
        created_at:
          anyOf:
            - type: string
            - type: 'null'
        source:
          anyOf:
            - type: string
            - type: 'null'
        sentiment:
          anyOf:
            - type: string
            - type: 'null'
        user:
          anyOf:
            - $ref: '#/components/schemas/StocktwitsUser'
            - type: 'null'
        symbols:
          items:
            $ref: '#/components/schemas/StocktwitsSymbol'
          type: array
          default: []
        mentioned_users:
          items:
            type: string
          type: array
          default: []
        links:
          items:
            $ref: '#/components/schemas/StocktwitsLink'
          type: array
          default: []
        media:
          items:
            $ref: '#/components/schemas/StocktwitsMedia'
          type: array
          default: []
        prices:
          items:
            $ref: '#/components/schemas/StocktwitsMessagePrice'
          type: array
          default: []
        reply_count:
          anyOf:
            - type: integer
            - type: 'null'
        reshare_count:
          anyOf:
            - type: integer
            - type: 'null'
        is_reshare:
          type: boolean
          default: false
      type: object
      required:
        - id
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
              - type: string
              - type: integer
          type: array
        msg:
          type: string
        type:
          type: string
        input: {}
        ctx:
          type: object
      type: object
      required:
        - loc
        - msg
        - type
    StocktwitsUser:
      properties:
        '@type':
          type: string
          default: StocktwitsUser
        id:
          type: integer
        alias:
          type: string
        name:
          anyOf:
            - type: string
            - type: 'null'
        image:
          anyOf:
            - type: string
            - type: 'null'
        identity:
          anyOf:
            - type: string
            - type: 'null'
        home_country:
          anyOf:
            - type: string
            - type: 'null'
        joined_at:
          anyOf:
            - type: string
            - type: 'null'
        follower_count:
          anyOf:
            - type: integer
            - type: 'null'
        following_count:
          anyOf:
            - type: integer
            - type: 'null'
        idea_count:
          anyOf:
            - type: integer
            - type: 'null'
        watchlist_stock_count:
          anyOf:
            - type: integer
            - type: 'null'
        like_count:
          anyOf:
            - type: integer
            - type: 'null'
        is_official:
          type: boolean
          default: false
      type: object
      required:
        - id
        - alias
    StocktwitsSymbol:
      properties:
        '@type':
          type: string
          default: StocktwitsSymbol
        id:
          type: integer
        symbol:
          type: string
        name:
          anyOf:
            - type: string
            - type: 'null'
        exchange:
          anyOf:
            - type: string
            - type: 'null'
        region:
          anyOf:
            - type: string
            - type: 'null'
        instrument_class:
          anyOf:
            - type: string
            - type: 'null'
        image:
          anyOf:
            - type: string
            - type: 'null'
        watchlist_count:
          anyOf:
            - type: integer
            - type: 'null'
      type: object
      required:
        - id
        - symbol
    StocktwitsLink:
      properties:
        '@type':
          type: string
          default: StocktwitsLink
        url:
          anyOf:
            - type: string
            - type: 'null'
        image:
          anyOf:
            - type: string
            - type: 'null'
        created_at:
          anyOf:
            - type: string
            - type: 'null'
        source:
          anyOf:
            - type: string
            - type: 'null'
      type: object
    StocktwitsMedia:
      properties:
        '@type':
          type: string
          default: StocktwitsMedia
        type:
          anyOf:
            - type: string
            - type: 'null'
        url:
          anyOf:
            - type: string
            - type: 'null'
        thumb:
          anyOf:
            - type: string
            - type: 'null'
        width:
          anyOf:
            - type: integer
            - type: 'null'
        height:
          anyOf:
            - type: integer
            - type: 'null'
        provider:
          anyOf:
            - type: string
            - type: 'null'
      type: object
    StocktwitsMessagePrice:
      properties:
        '@type':
          type: string
          default: StocktwitsMessagePrice
        symbol:
          type: string
        price:
          anyOf:
            - type: string
            - type: 'null'
      type: object
      required:
        - symbol
  securitySchemes:
    AccessToken:
      type: apiKey
      in: header
      name: access-token
      description: API token from the dashboard

````