---
title: "Get profile by username"
method: GET
path: "/social-media/profile/u/{username}"
tags: ["📸 Social Media"]
---

# Get profile by username

`GET /social-media/profile/u/{username}`

The API endpoint allows users to fetch another user's social media profile based on the username provided as a path variable.

By accessing this endpoint and providing the username as a parameter, you will receive a response containing the social media profile information of the specified user.

## Response `200`

Get profile by username

- object
  - `data` object
    - `__v` number
    - `_id` string
    - `account` object
      - `_id` string
      - `avatar` object
        - `_id` string
        - `localPath` string
        - `url` string
      - `email` string
      - `isEmailVerified` boolean
      - `username` string
    - `bio` string
    - `countryCode` string
    - `coverImage` object
      - `_id` string
      - `localPath` string
      - `url` string
    - `createdAt` string
    - `dob` string
    - `firstName` string
    - `followersCount` number
    - `followingCount` number
    - `isFollowing` boolean
    - `lastName` string
    - `location` string
    - `owner` string
    - `phoneNumber` string
    - `updatedAt` string
  - `message` string
  - `statusCode` number
  - `success` boolean

---

[API](https://skmtc.net/hiteshchoudhary-ssesph/apis/freeapi.md) · [All operations](https://skmtc.net/hiteshchoudhary-ssesph/apis/freeapi/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/hiteshchoudhary-ssesph/freeapi/revisions/a9f3a290e4dc/schema)
