Profile Check

Retrieve information about your current user profile, balance, and account limits.

Endpoint Features

The Profile check endpoint allows you to programmatically fetch your latest balance in both BDT and USD (with dynamic exchange rates), check your rank status (Bronze, Silver, Gold, Platinum) and calculate progress towards your next rank upgrade.

Authentication

Requires Authorization header with a Bearer API token.

Response Attributes

FieldTypeDescription
statusstringAlways returns "success" or "error".
dataobjectThe main payload containing all profile information.
data.userobjectContains id, full_name, username, email, avatar
data.walletobjectReturns real-time balance_bdt and balance_usd.
data.rank_infoobjectInsights on current VIP rank, necessary deposit needed for next rank, and visual badge URL.
data.account_statsobjectContains total_orders, total_deposits, and registration_date.

Error Codes

  • 401 Unauthorized: Missing or invalid API Key.
  • 404 Not Found: User account was suspended or deleted.

Interactive Testing

Enter your API key into the top bar, then press the Try It button to fetch your live profile straight from the HS Mail ecosystem.

GET
https://api.hsmail.shop/v1/profile
Headers:Authorization: (Not Set - Set in Topbar)

Request Snippets

curl -X GET https://api.hsmail.shop/v1/profile \
  -H "Authorization: Bearer YOUR_API_KEY"