Allmine API
Users

Kullanıcı profili (username ile)

Belirtilen kullanıcının genel profil bilgilerini döndürür.

GET
/api/v1/users/profile/username/{username}

Belirtilen kullanıcının genel profil bilgilerini döndürür.

Path Parameters

username*string

Profil bilgisi alınacak kullanıcı adı

Header Parameters

X-Language?string

Uygulama içerisinde seçilen dil (varsayılan: en)

Value in"en" | "tr"
X-Timezone?string

Zaman dilimi (varsayılan: UTC)

Value in"UTC-12:00" | "UTC-11:00" | "UTC-10:00" | "UTC-09:30" | "UTC-09:00" | "UTC-07:00" | "UTC-06:00" | "UTC-05:00" | "UTC-04:00" | "UTC-03:30" | "UTC-03:00" | "UTC-02:00" | "UTC-01:00" | "UTC+00:00" | "UTC+01:00" | "UTC+02:00" | "UTC+03:00" | "UTC+03:30" | "UTC+04:00" | "UTC+04:30" | "UTC+05:00" | "UTC+05:30" | "UTC+05:45" | "UTC+06:00" | "UTC+06:30" | "UTC+07:00" | "UTC+08:00" | "UTC+08:45" | "UTC+09:00" | "UTC+09:30" | "UTC+10:00" | "UTC+10:30" | "UTC+11:00" | "UTC+12:00" | "UTC+12:45" | "UTC+13:00" | "UTC+14:00"
X-Platform?string

Platform (varsayılan: web)

Value in"web" | "mobile_ios" | "mobile_android" | "admin" | "api" | "unknown" | "all"
X-App-Version?string

Uygulama versiyonu (opsiyonel)

X-Device-ID?string

Cihaz kimliği (opsiyonel)

Response Body

application/json

application/json

application/json

application/json

curl -X GET "https://example.com/api/v1/users/profile/username/username"
{
  "isSuccess": true,
  "statusCode": 200,
  "data": {
    "_id": "507f1f77bcf86cd799439011",
    "name": "John",
    "surname": "Doe",
    "username": "johndoe123",
    "availabilityStatus": "available",
    "profilePhoto": {
      "_id": "507f1f77bcf86cd799439012",
      "url": "https://example.com/profile.jpg",
      "type": "image"
    },
    "interests": [
      "music",
      "sports"
    ],
    "expertise": "designer",
    "age": 28,
    "minutePriceInLiveStream": 1,
    "followersCount": 128,
    "followingCount": 256,
    "bio": "Passionate about technology and travel",
    "instagram": "myinstagram",
    "snapchat": "mysnapchat",
    "x": "mytwitterx",
    "tiktok": "mytiktok",
    "facebook": "myfacebook"
  },
  "errors": [],
  "timestamp": "2026-05-22T16:11:26.806Z"
}
{
  "isSuccess": false,
  "statusCode": 400,
  "data": null,
  "errors": [
    "Validation failed"
  ],
  "timestamp": "2026-01-15T10:30:00.000Z"
}
{
  "isSuccess": false,
  "statusCode": 403,
  "data": null,
  "errors": [
    "This profile cannot be viewed",
    "This profile is private"
  ],
  "timestamp": "2026-05-22T16:11:26.806Z"
}
{
  "isSuccess": false,
  "statusCode": 404,
  "data": null,
  "errors": [
    "Resource not found"
  ],
  "timestamp": "2026-01-15T10:30:00.000Z"
}