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

# Get Profile

> Get user profile by username

<Tip>This API is useful if you are fetching the user's public profile at `/username` page.</Tip>


## OpenAPI

````yaml GET /user/profile
openapi: 3.0.1
info:
  title: User API
  version: 1.0.0
servers:
  - url: https://our-secret-api-url.com
security: []
paths:
  /user/profile:
    get:
      description: Get user profile by username
      operationId: getUserProfile
      parameters:
        - name: username
          in: query
          required: true
          schema:
            type: string
          description: The username of the user
      responses:
        '200':
          description: The user's profile details.
          content:
            application/json:
              schema:
                type: object
                properties:
                  id:
                    type: integer
                    description: User ID
                  username:
                    type: string
                    description: Username of the user
                  name:
                    type: string
                    description: Name of the user
                  image:
                    type: string
                    description: Profile image URL
                  bio:
                    type: string
                    nullable: true
                    description: Biography of the user
                  verifiedAt:
                    type: string
                    format: date-time
                    nullable: true
                    description: Verification timestamp if the user is verified
                  follower:
                    type: integer
                    description: Number of followers
                  following:
                    type: integer
                    description: Number of users the user is following
                  currentlyFollowing:
                    type: boolean
                    description: Whether the current user is following this user
                nullable: true
        '500':
          description: Failed to fetch user
          content:
            application/json:
              schema:
                type: object
                additionalProperties: false

````