GET
/
api
/
users
/
{userIdentifier}
curl --request GET \
  --url https://hyperrich.fun/api/users/{userIdentifier}
{
  "user": {
    "id": "<string>",
    "username": "<string>",
    "image_url": "<string>",
    "referralCode": "<string>"
  },
  "tokens": [
    {
      "id": "<string>",
      "name": "<string>",
      "symbol": "<string>",
      "description": "<string>",
      "short_description": "<string>",
      "created_at": "2023-11-07T05:31:56Z",
      "updated_at": "2023-11-07T05:31:56Z",
      "price": 123,
      "market_cap": 123,
      "total_supply": 123,
      "image_url": "<string>",
      "website": "<string>",
      "x_account": "<string>",
      "wallet_address": "<string>",
      "wallet_chain": "<string>",
      "usdc_pool_balance": 123,
      "developer_lock_end": "2023-11-07T05:31:56Z"
    }
  ],
  "portfolio": {
    "positions": [
      {
        "token_id": "<string>",
        "token_amount": 123,
        "usdc_spent": 123,
        "usdc_received": 123,
        "wallet_address": "<string>",
        "token": {
          "name": "<string>",
          "symbol": "<string>",
          "price": 123
        }
      }
    ]
  }
}

Path Parameters

userIdentifier
string
required

User ID or username

Response

200
application/json
User profile successfully retrieved
user
object
tokens
object[]

List of tokens launched by the user

portfolio
object

Portfolio information (only included for self-requests with API key)